STRUCT KHO_BLOCK_SET(9)
π struct kho_block_set(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β today we're learning about struct kho_block_set, and honestly? it's giving "organized friend group" π«Ά
πΈ NAME πΈ
struct kho_block_set β a whole set of blocks that are each holding serialized entries, and every single entry in the set is the same type. no mixing, no chaos, just vibes π
β¨ SYNOPSIS β¨
here's the whole look, literally copy it exactly:
struct kho_block_set {
struct list_head blocks;
long nblocks;
u64 head_pa;
size_t entry_size;
u64 count_per_block;
bool incoming;
};
π¦ Members π¦
blocksβ the list of serialization blocks (each one is astruct kho_block). it's the group chat member list fr fr πnblocksβ how many serialization blocks have actually been allocated. like, headcount π§head_paβ the physical address of the first block header. yes physical, not virtual, she's built different π₯entry_sizeβ the size of each entry inside the blocks. every entry, same size, no gatekeeping πcount_per_blockβ the maximum number of entries that each block can hold. the capacity, the limit, the "no more room bestie" number πincomingβtrueif this block set was restored from the previous kernel. so it's basically a carry-over from the last era, main character energy β
π Note π
ngl this part matters: synchronization and locking are the responsibility of the caller. the block set structure itself is not internally synchronized. so no, she will not lock herself for you β you gotta do it yourself, periodt ππ
π SEE ALSO π
go read these next, they're all in the kernel file ./include/linux/kho_block.h:
struct kho_block(9)struct kho_block_set_it(9)KHO_BLOCK_SET_INIT(9)kho_block_set_head_pa(9)kho_block_set_is_empty(9)
and that's the whole page, bestie π this icon lived in ./include/linux, dated October 2026, and she's signing off β ily, go lock your own structs π«Άπ
β¨
π¦ 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