find_nonnull_ptr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” see punch_hole; that's the lore drop πŸ‘€
  • end_aligned β€” see punch_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 🌈

  • true if a non-null pointer was found in the metapath buffer
  • false if all remaining pointers are NULL in the buffer

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./fs/gfs2/bmap.c β€” and the whole squad of cross-refs, all accounted for:


mwah πŸ’‹ this page is sourced from ./fs/gfs2 and dated October 2026 β€” ty for reading, bestie, periodt 🌸✨

πŸ“¦ where this page comes from