STRUCT NILFS_BDESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct nilfs_bdesc(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the struct nilfs_bdesc(9) page β€” it’s the Kernel API Manual moment, and we’re getting into the descriptor of a disk block number. No cap, every field is about to be named and explained. ✨


🌸 NAME 🌸

struct nilfs_bdesc β€” descriptor of disk block number, periodt. πŸ’–


✨ SYNOPSIS ✨

Here’s the whole struct, looking all iconic in its natural habitat:

       struct nilfs_bdesc {
           __u64 bd_ino;
           __u64 bd_oblocknr;
           __u64 bd_blocknr;
           __u64 bd_offset;
           __u32 bd_level;
           __u32 bd_pad;
        };

πŸ‘‘ Members πŸ‘‘

One field at a time, bestie β€” no skipping, no summarizing, we’re doing the whole squad. 🫢

  • bd_ino β€” inode number. 🧚
  • bd_oblocknr β€” disk block address (for skipping dead blocks). πŸ’€
  • bd_blocknr β€” disk block address. πŸ”₯
  • bd_offset β€” logical block offset inside a file. πŸ“
  • bd_level β€” level in the b-tree organization. 🌳
  • bd_pad β€” padding. πŸŽ€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/uapi/linux/nilfs2_api.h is right there in the mix, and these structs are the rest of the crew:

  • struct nilfs_cpinfo(9)
  • 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)

cute sign-off time: source/version is ./include/uapi/linux, date is October 2026, and this whole page is still struct nilfs_bdesc(9) β€” slay, bye bestie! πŸ’œπŸ¦‹

πŸ“¦ where this page comes from