nilfs_palloc_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


πŸ’– 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