nilfs_pallo..._add_entries(9)
π nilfs_palloc_group_desc_add_entries(9) π
okay bestie, welcome to the Kernel API Manual β yes, the kernel, yes, we're doing this, and yes, it's gonna slay π«Ά this one's about nilfs_palloc_group_desc_add_entries, and it's short, sweet, and honestly kind of iconic.
β¨ NAME β¨
nilfs_palloc_group_desc_add_entries β adjust the count of free entries πΈ
π¦ SYNOPSIS π¦
u32 nilfs_palloc_group_desc_add_entries (struct nilfs_palloc_group_desc
*desc , spinlock_t *lock , u32 n );
literally that's the whole signature. no cap. π
π ARGUMENTS π
descβ pointer to the descriptor structure for the group. it's the main character here πlockβ a spin lock protectingdesc. yes it's doing its little protective job, let it cook π₯nβ the delta to be added. so like, the amount we're nudging things by β¨
β RETURN β
the number of free entries after adjusting the group descriptor desc. that's the u32 you get back, bestie β that's the whole vibe check π
π SEE ALSO π
Kernel file ./fs/nilfs2/alloc.c and honestly, the whole friend group π«Ά:
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_bitmap_blkoff(9)nilfs_palloc_group_desc_nfrees(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 whole group chat. every single one of them. mwah π
ngl this page is living in./fs/nilfs2and it's dated October 2026 β that's the source and the date, and the footer was also shoutingnilfs_pallo..._add_entries(9)at us (the title got truncated, tragic π). anyway, that's the tea, go readalloc.cand 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