blk_stat_is_active(9)
π blk_stat_is_active(9) β a Kernel API Manual moment
okay so bestie, welcome to the blk_stat_is_active page β¨ it lives in the Kernel API Manual (yes, that's a whole vibe) and honestly it's giving tiny-but-iconic π
πΈ NAME πΈ
blk_stat_is_active β check if a block statistics callback is currently gathering statistics. that's it. that's the whole job. and she ate π
β¨ SYNOPSIS β¨
bool blk_stat_is_active (struct blk_stat_callback *cb );
like, you hand her a callback and she hands you back a bool. no cap, that's the entire relationship π«Ά
π¦ ARGUMENTS π¦
cbβ the callback. yep. that's the one. the callback in question, the main character of this function call π
β RETURN β
returns true iff the callback is active. and if it isn't? not true. that's just how iff works, bestie, it's not being shady π
π₯ SEE ALSO π₯
lowkey the whole friend group is here, go say hi:
- Kernel file
./block/blk-stat.hstruct blk_stat_callback(9) blk_stat_alloc_callback(9)blk_stat_add_callback(9)blk_stat_remove_callback(9)blk_stat_free_callback(9)blk_stat_activate_nsecs(9)blk_stat_activate_msecs(9)
π the sign-off π
this little icon was brought to you by the source right here in ./block, published under the Kernel API Manual banner, dated October 2026 β go check on your callbacks, bestie, and stay slay π¦ππ§
π¦ 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