STRUCT NILFS_INODE_INFO(9)
π struct nilfs_inode_info(9) π
okay so this is from the Kernel API Manual and it's literally the whole entire struct nilfs_inode_info β the in-memory inode data for nilfs. yes bestie, we're going in the kernel today π«Ά
β¨ NAME β¨
struct nilfs_inode_info β nilfs inode data in memory πΎ
πΈ SYNOPSIS πΈ
struct nilfs_inode_info {
__u32 i_flags;
unsigned int i_state;
unsigned long i_state;
struct nilfs_bmap *i_bmap;
struct nilfs_bmap i_bmap_data;
__u64 i_xattr;
__u32 i_dir_start_lookup;
__u64 i_cno;
struct inode *i_assoc_inode;
struct list_head i_dirty;
#ifdef CONFIG_NILFS_XATTR;
struct rw_semaphore xattr_sem;
#endif;
struct buffer_head *i_bh;
struct nilfs_root *i_root;
struct inode vfs_inode;
};
wait, the real one is below, don't copy the mess above β actual verbatim struct coming at you π
struct nilfs_inode_info {
__u32 i_flags;
unsigned int i_type;
unsigned long i_state;
struct nilfs_bmap *i_bmap;
struct nilfs_bmap i_bmap_data;
__u64 i_xattr;
__u32 i_dir_start_lookup;
__u64 i_cno;
struct inode *i_assoc_inode;
struct list_head i_dirty;
#ifdef CONFIG_NILFS_XATTR;
struct rw_semaphore xattr_sem;
#endif;
struct buffer_head *i_bh;
struct nilfs_root *i_root;
struct inode vfs_inode;
};
π Members π
like a tour of every single field, no skips, we're doing all of them π
i_flagsβ inode flags β¨i_typeβ inode type (a combo of flags that indicate usage) π₯i_stateβ dynamic state flags β¨i_bmapβ pointer oni_bmap_dataπi_bmap_dataβ the raw block mapping πΊοΈi_xattrβ<TODO>π (yep, that's genuinely what the docs say, bestie β it's giving unfinished homework)i_dir_start_lookupβ page index of the last successful search πi_cnoβ checkpoint number for GC inode π§i_assoc_inodeβ associated inode (B-tree node cache holder or back pointer) π¦i_dirtyβ list for connecting dirty files πxattr_semβ semaphore for extended attributes processing π (only there whenCONFIG_NILFS_XATTRis set, iykyk)i_bhβ buffer contains disk inode π¦i_rootβ root object of the current filesystem tree π³vfs_inodeβ VFS inode object π
π SEE ALSO π
- Kernel file
./fs/nilfs2/nilfs.h NILFS_MAX_VOLUME_NAME(9)struct nilfs_transaction_info(9)
periodt, that's the whole page, go read the header file if you want more tea β
and that's a wrap, bestie! π this one lives in ./fs/nilfs2, dated October 2026, and it's literally titled struct nilfs_inode_info(9) β slay, go forth and read your inodes πβ¨π
π¦ 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