STRUCT NILFS_BTREE_NODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ struct nilfs_btree_node(9) πŸ¦‹

okay so bestie, welcome to the struct nilfs_btree_node(9) page from the Kernel API Manual β€” yes it's a manual page, yes it's about kernel internals, and yes we are going to make it cute. This one is short and sweet, no cap. πŸ’…


✨ NAME ✨

struct nilfs_btree_node β€” the header of a B-tree node block. That's it, that's the whole vibe. It's the little header chilling at the top of a node block, like the name tag at a party but for kernel data structures. πŸŽ€


🌸 SYNOPSIS 🌸

here's the whole struct, exactly as it lives, don't touch the formatting bestie:

struct nilfs_btree_node {
    __u8 bn_flags;
    __u8 bn_level;
    __le16 bn_nchildren;
    __le32 bn_pad;
 };

look at that. four fields. immaculate. 🫢


πŸ’– Members πŸ’–

let's meet the cast, one by one:

  • bn_flags β€” flags. yep, that's the description. iconic brevity, honestly. πŸŽ€
  • bn_level β€” level. (the struct said what it said and we respect it ✨)
  • bn_nchildren β€” the number of children. so this one actually tells you something: how many children this node has. slay. 🌸
  • bn_pad β€” padding. the little spacer that keeps everything aligned and looking right. we love a struct that pads. πŸ’…
ngl, some of these descriptions are giving "one-word answer on a test" energy, but we keep every single detail exactly as written because the facts do not change. periodt. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group lives in the kernel file ./include/uapi/linux/nilfs2_ondisk.h, and here's everyone you should also go say hi to:

  • 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_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_segment_usage(9)
  • struct nilfs_sufile_header(9)

like, that's a whole ensemble cast, and they're all under ./include/uapi/linux β€” iykyk. 🌈


aaaand that's the page! sign-off time: this lil beauty ships from ./include/uapi/linux, dated October 2026, and it's forever known as struct nilfs_btree_node(9). go forth and read your B-tree node headers, bestie πŸ’œπŸ¦‹β­

πŸ“¦ where this page comes from