nilfs_cpfile...point_offset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

nilfs_cpfile_checkpoint_offset β€” bestie, this is the glow-up function that calculates the byte offset of a checkpoint entry inside the folio that's holding it πŸ’… (yes, it's a Kernel API Manual situation, and yes, we're gonna get through it together 🫢)


🌸 SYNOPSIS 🌸

size_t nilfs_cpfile_checkpoint_offset (const struct inode *cpfile ,
__u64 cno , struct buffer_head *bh );

πŸŽ€ ARGUMENTS πŸŽ€

  • cpfile β€” the checkpoint file inode, aka the main character of this whole operation πŸ‘‘
  • cno β€” the checkpoint number, like the lil ID tag for the checkpoint you're curious about 🏷️
  • bh β€” the buffer head of the block containing the checkpoint indexed by cno πŸ“¦

πŸ¦‹ RETURN πŸ¦‹

It gives you back the byte offset in the folio of the checkpoint specified by cno ✨ like, that's literally the whole point, no cap.


🌈 SEE ALSO 🌈


ok that's the whole page bestie, you ate that πŸ“ go read the kernel source, iykyk πŸ’œ

kisses, this one's from ./fs/nilfs2 β€” version vibes: October 2026 β€” nilfs_cpfile...point_offset(9) out here living its best life πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from