metapointer(9)
β¨ NAME β¨
okay so bestie, welcome to metapointer(9), straight outta the Kernel API Manual β and this one is literally about returning a pointer to the start of metadata in a buffer. iconic behavior, honestly.
metapointer β return pointer to start of metadata in a buffer π«Ά
πΈ SYNOPSIS πΈ
__be64 * metapointer (unsigned int height , const struct metapath *mp );
π ARGUMENTS π
heightβ the metadata height, and yes bestie,0 = dinodeπmpβ the metapath, no cap
π¦ DESCRIPTION π¦
So picture this: you've got a buffer that contains the pointer to the current height of the metadata tree. metapointer returns a pointer to the block number of the next height of the metadata tree. that's the vibe, that's the whole function, and it ate π
π SEE ALSO π
shoutout to the whole friend group β these are all from the kernel file ./fs/gfs2/bmap.c:
gfs2_unstuffer_folio(9)gfs2_unstuff_dinode(9)find_metapath(9)metaptr1(9)lookup_metapath(9)fillup_metapath(9)gfs2_extent_length(9)gfs2_hole_size(9)__gfs2_iomap_alloc(9)gfs2_alloc_size(9)__gfs2_iomap_get(9)gfs2_block_map(9)gfs2_journaled_truncate(9)sweep_bh_for_rgrps(9)find_nonnull_ptr(9)punch_hole(9)do_shrink(9)do_grow(9)gfs2_setattr_size(9)gfs2_free_journal_extents(9)gfs2_add_jextent(9)gfs2_map_journal_extents(9)gfs2_write_alloc_required(9)
footer check bestie: this page is serving./fs/gfs2energy, datedOctober 2026. slay β¨π
π¦ 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