bfq_entity_of(9)
π NAME β bfq_entity_of(9) π
okay bestie, welcome to the bfq_entity_of(9) page from the Kernel API Manual β¨ this is a tiny lil helper with main character energy:
bfq_entity_of β get an entity from a node. no cap, that's literally the whole gig π
β¨ SYNOPSIS β¨
struct bfq_entity * bfq_entity_of (struct rb_node *node );
π ARGUMENTS π
nodeβ the node field of the entity. that's the lil piece you're feeding in π«Ά
π¦ DESCRIPTION π¦
So here's the tea: this function converts a node pointer to the relative entity π it's a shortcut, not a universal converter.
β οΈ it is used only to simplify the logic of some functions, and not as the generic conversion mechanism. why? because β for example β in the tree walking functions, the check for a NULL value would be redundant. so yeah, it's a convenience thing, not the glow-up every node gets π
π₯ SEE ALSO π₯
- Kernel file
./block/bfq-wf2q.cβ the source file, bestie π bfq_gt(9)bfq_update_next_in_service(9)bfq_delta(9)bfq_calc_finish(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)bfq_lookup_next_entity(9)
π«Ά aaaand that's the page, bestie β source/version: ./block Β· date: October 2026 π
π¦ 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