__blkg_prfill_u64(9)
π __blkg_prfill_u64(9) β the prfill helper for a single u64 value π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function but she is so useful, i promise. she's living in the kernel's block cgroup corner and honestly? icon behaviour. let's get into it π«Ά
β¨ NAME β¨
__blkg_prfill_u64 β prfill helper for a single u64 value
like, that's literally her whole job description and she ate π
πΈ SYNOPSIS πΈ
u64 __blkg_prfill_u64 (struct seq_file *sf , struct blkg_policy_data *pd
, u64 v );
and yes she returns a u64, we love a girl who gives something back π
π ARGUMENTS π
sfβ theseq_fileto print to π this is where the words actually gopdβ policy private data of interest π the blkg_policy_data we care about rnvβ the value to print π a plain oldu64, nothing fancy, she's just a number
π¦ DESCRIPTION π¦
Print v to sf for the device associated with pd.
that's it. that's the whole thing. short queen energy π she takes your u64, she finds the device through pd, and she writes it out into your sf. no cap, sometimes the small functions are the main characters π
π₯ SEE ALSO π₯
okay this is the part where she name-drops her entire friend group, and honestly the list is long, so buckle in bestie π
- Kernel file
./block/blk-cgroup.cπ blkcg_css(9)blkg_free(9)bio_blkcg_css(9)blkcg_parent(9)blkg_alloc(9)blkg_lookup_create(9)blkcg_print_blkgs(9)blkg_conf_init(9)blkg_conf_open_bdev(9)blkg_conf_prep(9)blkg_conf_unprep(9)blkg_conf_close_bdev(9)blkcg_destroy_blkgs(9)blkcg_pin_online(9)blkcg_unpin_online(9)blkcg_css_offline(9)blkcg_activate_policy(9)blkcg_deactivate_policy(9)blkcg_policy_register(9)blkcg_policy_unregister(9)blkcg_maybe_throttle_current(9)blkcg_schedule_throttle(9)blkcg_add_delay(9)blkg_tryget_closest(9)bio_associate_blkg_from_css(9)bio_associate_blkg(9)bio_clone_blkg_association(9)
iykyk, the block cgroup girlies stay connected π
and that's the page!! π§ from ./block, dated October 2026 β that's the source and the version, bestie, so jot it down π mwah, go read some kernel code, ily βπ
π¦ 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