bfq_lookup_next_entity(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨ β€” bfq_lookup_next_entity(9), from the Kernel API Manual

Okay bestie, so bfq_lookup_next_entity is literally the function that returns the first eligible entity in @sd. That's the whole assignment. πŸ’…

🌸 SYNOPSIS 🌸

struct bfq_entity * bfq_lookup_next_entity (struct bfq_sched_data *sd ,
       bool expiration );

πŸŽ€ ARGUMENTS πŸŽ€

  • sd β€” the sched_data. That's the vibe, no extra lore. πŸ’–
  • expiration β€” true if we are on the expiration path of the in-service queue. Yes, that exact situation. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

So picture this: there has been a change in the trees for sd, and we need to know what the new next entity to serve is after this change. That's exactly when this function gets invoked. It's giving β€œtree update just happened, who's next?” energy. 🌈

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./block/bfq-wf2q.c


Cute little footer moment: source/version is ./block, the date is October 2026, and the manual name is bfq_lookup_next_entity(9). Byeee, go read the kernel file bestie! 🫢✨

πŸ“¦ where this page comes from