bfq_lookup_next_entity(9)
β¨ 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βtrueif 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
bfq_gt(9)bfq_update_next_in_service(9)bfq_delta(9)bfq_calc_finish(9)bfq_entity_of(9)bfq_extract(9)bfq_idle_extract(9)bfq_insert(9)bfq_update_min(9)bfq_update_active_node(9)bfq_update_active_tree(9)bfq_active_insert(9)bfq_ioprio_to_weight(9)bfq_weight_to_ioprio(9)bfq_find_deepest(9)bfq_active_extract(9)bfq_idle_insert(9)bfq_forget_entity(9)bfq_put_idle_entity(9)bfq_forget_idle(9)bfq_bfqq_served(9)bfq_bfqq_charge_time(9)__bfq_activate_entity(9)__bfq_requeue_entity(9)bfq_activate_requeue_entity(9)__bfq_deactivate_entity(9)bfq_deactivate_entity(9)bfq_calc_vtime_jump(9)bfq_first_active_entity(9)__bfq_lookup_next_entity(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms