make_pbn_lock_pool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the make_pbn_lock_pool(9) page from the Kernel API Manual πŸ’–. This function is literally here to create a new PBN lock pool and all the lock instances it can loan out ✨. That's the whole vibe: new pool, plus every lock instance it can hand out. No cap.

πŸŽ€ SYNOPSIS πŸŽ€

int make_pbn_lock_pool (size_t capacity , struct pbn_lock_pool **pool_ptr );

πŸ’… ARGUMENTS πŸ’…

  • capacity β€” the number of PBN locks to allocate for the pool. It's the lock headcount, periodt πŸ’….
  • pool_ptr β€” a pointer to receive the new pool. Basically the spot where the new pool gets dropped off 🫢.

πŸ”₯ RETURN πŸ”₯

Returns VDO_SUCCESS or an error code. That's it, that's the tea β˜•βœ¨. If it's not VDO_SUCCESS, bestie, it's an error code β€” no cap 😭.

🌈 SEE ALSO 🌈

if you're in your research era, these are the linked lore drops πŸ‘‘:

byeee bestie 🫢 β€” this page's source/version is ./drivers/md/dm-vdo, and it's dated October 2026 πŸ’œ. mwah, catch you in the next man page πŸ’‹

πŸ“¦ where this page comes from