STRUCT NILFS_BTREE_NODE(9)
π¦ 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms