foreach_descriptor(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

foreach_descriptor β€” go through the active part of the log ✨

okay bestie, this page is foreach_descriptor(9) from the Kernel API Manual, and it's lowkey iconic for doing exactly what the name says: getting you through the active part of the log. 🫢


✨ SYNOPSIS ✨

int foreach_descriptor (struct gfs2_jdesc *jd , u32 start , unsigned int
end , int pass );

πŸŽ€ ARGUMENTS πŸŽ€

  • jd β€” the journal πŸ’–
  • start β€” the first log header in the active region ✨
  • end β€” the last log header β€” and bestie, don't process the contents of this entry (the original page is literally serving double )) energy, so respect the boundary) πŸ™ˆ
  • pass β€” iteration number (foreach_descriptor is called in a for loop) πŸ”

πŸ¦‹ DESCRIPTION πŸ¦‹

The whole assignment: call a given function once for every log descriptor in the active portion of the log. That's it, that's the main character move. πŸ’…


🌸 RETURN 🌸

errno β€” periodt. πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ this little page comes from ./fs/gfs2, dated October 2026, and it's still out here being foreach_descriptor(9) at the very end β€” no cap, slay. πŸŒˆπŸŽ€

πŸ“¦ where this page comes from