blkg_prfill_rwstat(9)
π blkg_prfill_rwstat(9) β Kernel API Manual, but make it make sense
okay so bestie, welcome to blkg_prfill_rwstat(9) β yes the whole thing is in the Kernel API Manual, and yes we're gonna get through it together π«Ά
It's literally the prfill callback for blkg_rwstat. That's the whole vibe. periodt.
β¨ NAME β¨
blkg_prfill_rwstat β prfill callback for blkg_rwstat π
π SYNOPSIS π
u64 blkg_prfill_rwstat (struct seq_file *sf , struct blkg_policy_data
*pd , int off );
so it hands you back a u64, and it takes three lil guys. keep reading, i got you π
π§ ARGUMENTS π§
sfβ theseq_fileyou're printing to. that's it. that's the destination, no cap β¨pdβ the policy private data of interest. the data in question. the main character, honestly πoffβ the offset to theblkg_rwstatinpd. so like, where insidepdβ that's the spot π
π₯ DESCRIPTION π₯
prfill callback for printing a blkg_rwstat. that's literally the assignment, and it ate π
π¦ SEE ALSO π¦
- Kernel file
./block/blk-cgroup-rwstat.cβ and yeah, it's the file, go look at it, iykyk __blkg_prfill_rwstat(9)β the double-underscore sibling πblkg_rwstat_recursive_sum(9)β the recursive one, obsessed πΈ
lowkey reminder bestie: off is an offset, not a vibe. be normal about it π
and that's the page!! it's giving short and sweet, fr fr. the whole thing lives down in ./block, and it was dated October 2026 β yes, the future, we stay ahead π°οΈβ¨ mwah, go read the source, ily, bye π§π
π¦ 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