nilfs_palloc_group(9)
π nilfs_palloc_group π
okay bestie, welcome to the Kernel API Manual page for nilfs_palloc_group(9)! This one is short and sweet: it gets a group number and offset from an entry number. No cap, letβs go π
πΈ NAME πΈ
nilfs_palloc_group β get group number and offset from an entry number
β¨ SYNOPSIS β¨
unsigned long nilfs_palloc_group (const struct inode *inode , __u64 nr ,
unsigned long *offset );
π ARGUMENTS π
inodeβ the inode of the metadata file thatβs using this allocator, periodt.nrβ the serial number of the entry (e.g. an inode number, iykyk).offsetβ a pointer to store the offset number in the group.
π₯ RETURN π₯
It returns the number of the group that contains the entry with the index specified by nr. Slay β¨
π¦ SEE ALSO π¦
Kernel file: ./fs/nilfs2/alloc.c
The whole squad is here:
nilfs_palloc_groups_per_desc_block(9)nilfs_palloc_groups_count(9)nilfs_palloc_init_blockgroup(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)
π Thatβs the whole page, bestie! Signing off from the ./fs/nilfs2 source/version, dated October 2026 β nilfs_palloc_group(9) out! π
π¦ 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