STRUCT NILFS_CHECKPOINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nilfs_checkpoint(9) β€” the checkpoint glow-up πŸ’–

okay so bestie, welcome to the struct nilfs_checkpoint page πŸ’… this is from the Kernel API Manual, and it's literally the checkpoint structure β€” the lil record that says "hey, the filesystem was looking like this at this moment" ✨


πŸŽ€ NAME πŸŽ€

struct nilfs_checkpoint β€” checkpoint structure. that's it, that's the vibe 🫢


✨ SYNOPSIS ✨

here's the whole struct, copy-paste exact, no cap:

struct nilfs_checkpoint {
    __le32 cp_flags;
    __le32 cp_checkpoints_count;
    struct nilfs_snapshot_list cp_snapshot_list;
    __le64 cp_cno;
    __le64 cp_create;
    __le64 cp_nblk_inc;
    __le64 cp_inodes_count;
    __le64 cp_blocks_count;
    struct nilfs_inode cp_ifile_inode;
 };

look at her. so organized. main character energy, fr fr πŸ‘‘


🌸 Members 🌸

time for the member-by-member vibe check, one at a time, nobody gets skipped πŸ’–

  • cp_flags β€” the flags. yes bestie, flags ✨
  • cp_checkpoints_count β€” checkpoints count in a block. lowkey important.
  • cp_snapshot_list β€” the snapshot list πŸ¦‹
  • cp_cno β€” checkpoint number. the cno. iconic.
  • cp_create β€” creation timestamp ⭐ (when she was born)
  • cp_nblk_inc β€” number of blocks incremented by this checkpoint πŸ“ˆ
  • cp_inodes_count β€” inodes count
  • cp_blocks_count β€” blocks count
  • cp_ifile_inode β€” inode of ifile πŸ’œ
ngl, cp_flags and cp_inodes_count are described pretty minimally up there β€” that's exactly how the original rolls, so i'm not gonna invent lore. keeping it honest πŸ™ˆ

🌈 SEE ALSO 🌈

go read these too, bestie, it's giving required reading πŸ“š and they're all in the Kernel file ./include/uapi/linux/nilfs2_ondisk.h:

  • struct 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_cpfile_header(9)
  • struct nilfs_segment_usage(9)
  • struct nilfs_sufile_header(9)

and that's the whole page!! πŸ’…βœ¨πŸŽ€ this bb lives over at ./include/uapi/linux, dated October 2026, and she's filed under struct nilfs_checkpoint(9) β€” mwah, go slay your kernel hackery bestie πŸ«ΆπŸ’–πŸ”₯

πŸ“¦ where this page comes from