kho_block_set_grow(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… kho_block_set_grow(9) β€” like, the Kernel API Manual edition πŸŽ€

okay so bestie, welcome to kho_block_set_grow(9) from the Kernel API Manual β€” this is the girl whose whole job is making room when your block set is about to get Too Full πŸ’–


✨ NAME ✨

kho_block_set_grow β€” expand the block set so it can actually fit the target count 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

int kho_block_set_grow (struct kho_block_set *bs , u64 count );

🌸 ARGUMENTS 🌸

  • bs β€” the block set. your main character, the one getting the glow-up πŸ’…
  • count β€” the target number of valid entries you're tryna accommodate. like, how many besties are coming to the party πŸŽ€

πŸ’€ DESCRIPTION πŸ’€

So here's the vibe: if the target entry count is bigger than the set's current total capacity, this function dynamically preallocates and links preserved memory blocks πŸ”₯ Not me doing all that so they're available during serialization/deserialization β€” no cap, that's literally the whole point 🧚

πŸ”₯ CONTEXT πŸ”₯

ngl this one is a must: caller has to hold a lock protecting the block set. no lock, no entry, iykyk πŸ”’πŸ˜­

⭐ RETURN ⭐

0 on success, or a negative errno on failure. slay when it's zero, sad girl hours when it's negative πŸ’œ

🌈 SEE ALSO 🌈


and that's the whole page babes πŸ’« brought to you from ./kernel/liveupdate, dated October 2026 β€” the manpage ate and left absolutely no crumbs πŸ‘‘βœ¨

πŸ“¦ where this page comes from