nilfs_pallo..._entry_block(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual π β this one's called nilfs_palloc_delete_entry_block, and yes it does exactly what it says on the tin: delete an entry block. that's it. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
int nilfs_palloc_delete_entry_block (struct inode *inode , __u64 nr );
likeβ¦ look at her. two args, returns an int. main character energy fr fr π
π¦ ARGUMENTS π¦
inodeβ the inode of the metadata file that's using this allocator. it's giving "this is my house and my rules" π β¨nrβ the serial number of the entry. bestie it's literally just which one π
β RETURN β
0on success π slay, it worked- a negative error code on failure ππ ngl that's not the outcome we were hoping for
π₯ SEE ALSO π₯
so the kernel file lives at ./fs/nilfs2/alloc.c β no cap, that's where the magic happens πβ¨ and here's the whole friend group, all of them, not skipping a 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_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_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 squad fr fr π«Άπ
and that's the page!! π shoutout to the source at ./fs/nilfs2 and the October 2026 date stamp β the manual name up top was nilfs_pallo..._entry_block(9) (rip to the truncation, she's iconic anyway πβ¨). mwah, go delete some entry blocks responsibly 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