STRUCT NILFS_SEGMENT_USAGE(9)
okay so bestie, this is struct nilfs_segment_usage(9) from the Kernel API Manual, and itโs literally the segment usage struct โ no cap, very main character energy โจ๐
๐ธ NAME ๐ธ
struct nilfs_segment_usage - segment usage โ yes bestie, thatโs the literal NAME line, and itโs giving segment usage realness ๐ซถ
โจ SYNOPSIS โจ
hereโs the struct in all its glory โ copy it exactly, we do not mess with kernel code ๐:
struct nilfs_segment_usage {
__le64 su_lastmod;
__le32 su_nblocks;
__le32 su_flags;
};
๐ฆ Members ๐ฆ
su_lastmodโ last modified timestamp, aka when this segment last got its timestamp moment โฐโจsu_nblocksโ number of blocks in segment; literally counting the blocks, periodt ๐งฎ๐su_flagsโ flags, the little flag field doing its flag things ๐ฉโจ
๐ฅ SEE ALSO ๐ฅ
Kernel file ./include/uapi/linux/nilfs2_ondisk.h is the file, and these are the structs/friends you should also peek at, iykyk ๐:
- Kernel file
./include/uapi/linux/nilfs2_ondisk.hstruct nilfs_inode(9)struct nilfs_super_root(9)struct nilfs_super_block(9)struct nilfs_finfo(9)struct nilfs_binfo_v(9)struct nilfs_binfo_dat(9)union nilfs_binfo(9)struct nilfs_segment_summary(9)struct nilfs_btree_node(9)struct nilfs_direct_node(9)struct nilfs_palloc_group_desc(9)struct nilfs_dat_entry(9)struct nilfs_snapshot_list(9)struct nilfs_checkpoint(9)struct nilfs_cpfile_header(9)struct nilfs_sufile_header(9)
xoxo, your kernel bestie ๐ โ source path ./include/uapi/linux, manual Kernel API Manual, date October 2026, page struct nilfs_segment_usage(9), and thatโs the whole footer vibe ๐ซถโจ
๐ฆ 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