find_nonnull_ptr(9)
β¨ find_nonnull_ptr(9) β¨
okay bestie, welcome to the Kernel API Manual page for find_nonnull_ptr(9) β manual name folded in right here, cute and compliant π
β¨
π NAME π
find_nonnull_ptr β find a non-null pointer given a metapath and height. That's the assignment, no cap π
πΈ SYNOPSIS πΈ
bool find_nonnull_ptr (struct gfs2_sbd *sdp , struct metapath *mp ,
unsigned int h , __u16 *end_list , unsigned int end_aligned );
π ARGUMENTS π
sdpβ the superblock, big boss energy πmpβ starting metapath, the launch point πhβ desired height to search, like how high up we're snooping π₯end_listβ seepunch_hole; that's the lore drop πend_alignedβ seepunch_hole; same lore, different parameter π«Ά
π¦ DESCRIPTION π¦
This one assumes the metapath is valid (with buffers) out to height h. That's the whole vibe β so make sure that assumption is actually true before you come crying to this function, bestie ππ
π RETURN π
trueif a non-null pointer was found in the metapath bufferfalseif all remaining pointers areNULLin the buffer
π SEE ALSO π
Kernel file ./fs/gfs2/bmap.c β and the whole squad of cross-refs, all accounted for:
gfs2_unstuffer_folio(9)gfs2_unstuff_dinode(9)find_metapath(9)metaptr1(9)metapointer(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)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)
mwah π this page is sourced from ./fs/gfs2 and dated October 2026 β ty for reading, bestie, periodt πΈβ¨
π¦ 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