STRUCT NILFS_CPINFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct nilfs_cpinfo(9) ✨

okay so this is from the Kernel API Manual, and bestie, we are about to get so cozy with one little struct πŸ’…


πŸ’– NAME πŸ’–

struct nilfs_cpinfo β€” checkpoint information πŸŽ€

like, it's the little info card for a checkpoint. that's it. that's the vibe.


🌈 SYNOPSIS 🌈

struct nilfs_cpinfo {
    __u32 ci_flags;
    __u32 ci_pad;
    __u64 ci_cno;
    __u64 ci_create;
    __u64 ci_nblk_inc;
    __u64 ci_inodes_count;
    __u64 ci_blocks_count;
    __u64 ci_next;
 };

no cap, that's the whole shape of it. two lil __u32s up top, then a whole stack of __u64s doing the heavy lifting 🫢


πŸ¦‹ Members πŸ¦‹

  • ci_flags β€” flags ✨ (yes bestie, it's flags. the flaggiest. iykyk)
  • ci_pad β€” padding 🌸 (filler, but make it structural)
  • ci_cno β€” checkpoint number πŸ”₯
  • ci_create β€” creation timestamp ⭐ (when it was born, basically)
  • ci_nblk_inc β€” number of blocks incremented by this checkpoint πŸ‘‘
  • ci_inodes_count β€” inodes count πŸ’œ
  • ci_blocks_count β€” blocks count πŸŽ€
  • ci_next β€” next checkpoint number in snapshot list 🧚 (the chain continues, fr fr)

🌟 SEE ALSO 🌟

Kernel file ./include/uapi/linux/nilfs2_api.h β€” and the whole friend group shows up too:

  • struct nilfs_suinfo(9)
  • struct nilfs_suinfo_update(9)
  • struct nilfs_cpmode(9)
  • struct nilfs_argv(9)
  • struct nilfs_period(9)
  • struct nilfs_cpstat(9)
  • struct nilfs_sustat(9)
  • struct nilfs_vinfo(9)
  • struct nilfs_vdesc(9)
  • struct nilfs_bdesc(9)
πŸ’€ real talk: if you're poking around here, go read those too β€” they're all literally in the same header and they're all lowkey obsessed with each other.

and that's the whole page, bestie πŸ“ mwah πŸ’‹ this came out of ./include/uapi/linux, stamped October 2026, and signed off as struct nilfs_cpinfo(9) β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from