ext4_bg_num_gdb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

ext4_bg_num_gdb(9) β€” from the Kernel API Manual, bestie β€” is literally the function that gives you the number of blocks used by the group table in a group πŸ’…

✨ SYNOPSIS ✨

unsigned long ext4_bg_num_gdb (struct super_block *sb , ext4_group_t group );

πŸŽ€ ARGUMENTS πŸŽ€

  • sb β€” the superblock for the filesystem, aka the main-character context for this whole lookup 🫢
  • group β€” the group number you wanna check πŸ”

πŸ’… DESCRIPTION πŸ’…

Okay so this function returns the number of blocks used by the group descriptor table β€” either the primary one or the backup one β€” in this group. Periodt πŸ’–

Future tea alert πŸ«–: there may be a different number of descriptor blocks in each group.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./fs/ext4/balloc.c β€” and the whole squad is here too:


mwah πŸ’– this page lives in ./fs/ext4 and is dated October 2026 β€” go off, bestie! πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from