nilfs_palloc_bitmap_blkoff(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nilfs_palloc_bitmap_blkoff(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the manual page for nilfs_palloc_bitmap_blkoff, straight out of the Kernel API Manual. it's giving "tiny function, huge friend group," and honestly? we love that for it. πŸ’–


✨ NAME ✨

nilfs_palloc_bitmap_blkoff β€” get block offset of a bitmap block πŸ—ΊοΈ

no cap, that's literally the whole job. it finds where the bitmap block lives. lowkey iconic.


🌸 SYNOPSIS 🌸

unsigned long nilfs_palloc_bitmap_blkoff (const struct inode *inode ,
unsigned long group );

look at her! two arguments, one unsigned long coming back at you. she's simple, she's clean, she's literally serving. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • inode β€” the inode of the metadata file that's using this allocator πŸ—‚οΈ like, the file whose stuff we're managing. she's the main character here.
  • group β€” the group number 🌈 just a number, bestie. which group we're talking about.

πŸ’œ DESCRIPTION πŸ’œ

so nilfs_palloc_bitmap_blkoff returns the block offset of the bitmap block that's used to allocate/deallocate entries in the specified group πŸŽ€

read that again: allocate and deallocate. she does both. versatile queen. πŸ‘‘


⭐ RETURN ⭐

it returns the index number in the metadata file of the bitmap block of the group you specified with group πŸ“

that's it. that's her whole return value. no sneaky extra stuff, no surprise errors listed here β€” just the index number, periodt. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

okay this is the part where I introduce you to the whole friend group, because she literally does not go anywhere without them 😭 literally every single one:

and where does she live? Kernel file ./fs/nilfs2/alloc.c πŸ“ that's home. that's the address. go say hi. 🫢

bestie note: that whole list is literally the SEE ALSO section, iykyk β€” I didn't skip a single one, and you shouldn't either. 😀

kisses and bye-bye! πŸ’‹ this page comes to you from ./fs/nilfs2, dated October 2026, and yes that's the version/source info, slay πŸ§šβ€β™€οΈπŸ’–βœ¨

πŸ“¦ where this page comes from