nilfs_palloc_bitmap_blkoff(9)
π
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:
nilfs_palloc_groups_per_desc_block(9)nilfs_palloc_groups_count(9)nilfs_palloc_init_blockgroup(9)nilfs_palloc_group(9)nilfs_palloc_desc_blkoff(9)nilfs_palloc_group_desc_nfrees(9)nilfs_palloc_group_desc_add_entries(9)nilfs_palloc_entry_blkoff(9)nilfs_palloc_desc_block_init(9)nilfs_palloc_delete_block(9)nilfs_palloc_get_desc_block(9)nilfs_palloc_get_bitmap_block(9)nilfs_palloc_delete_bitmap_block(9)nilfs_palloc_get_entry_block(9)nilfs_palloc_delete_entry_block(9)nilfs_palloc_group_desc_offset(9)nilfs_palloc_bitmap_offset(9)nilfs_palloc_entry_offset(9)nilfs_palloc_find_available_slot(9)nilfs_palloc_rest_groups_in_desc_block(9)nilfs_palloc_count_desc_blocks(9)nilfs_palloc_mdt_file_can_grow(9)nilfs_palloc_count_max_entries(9)nilfs_palloc_prepare_alloc_entry(9)nilfs_palloc_commit_alloc_entry(9)nilfs_palloc_commit_free_entry(9)nilfs_palloc_abort_alloc_entry(9)nilfs_palloc_prepare_free_entry(9)nilfs_palloc_abort_free_entry(9)nilfs_palloc_freev(9)
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
- 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