nilfs_palloc...r_desc_block(9)
π nilfs_palloc_groups_per_desc_block β the kernel API manual, bestie edition π
okay so real talk, this is a page from the Kernel API Manual, section 9 (that's the kernel-functions girlies β¨). The function we're stanning today is nilfs_palloc_groups_per_desc_block, and yes the header up top is a little truncated-looking (nilfs_palloc...r_desc_block(9)) but that's just how the page wears its name, no cap. Let's get into it π«Ά
β¨ NAME β¨
nilfs_palloc_groups_per_desc_block β literally just tells you the number of groups that a group descriptor block can maintain π
πΈ SYNOPSIS πΈ
unsigned long nilfs_palloc_groups_per_desc_block (const struct inode
*inode );
it's giving "one argument, one unsigned long, zero drama." iconic.
π¦ ARGUMENTS π¦
inodeβ the inode of the metadata file that's using this allocator, bestie. that's it, that's the whole vibe.
β RETURN β
Returns the number of groups that a group descriptor block can maintain. a humble little count, but she ate π
π₯ SEE ALSO π₯
so you wanna go down the nilfs2 allocator rabbit hole? say less, here's the whole friend group π§:
- Kernel file
./fs/nilfs2/alloc.c nilfs_palloc_groups_count(9)nilfs_palloc_init_blockgroup(9)nilfs_palloc_group(9)nilfs_palloc_desc_blkoff(9)nilfs_palloc_bitmap_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)
like, that's the entire group chat and every single one of them is a baddie ππ
and that's the whole page, periodt π source/version is ./fs/nilfs2, dated October 2026, and the page answers to nilfs_palloc...r_desc_block(9) β mwah, bye bestie πβπ«Ά
π¦ 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