iomap_iter_continue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iomap_iter_continue β€” Kernel API Manual ✨

okay so bestie, welcome to the iomap_iter_continue(9) page. yes it's a kernel API manual, yes it's a whole vibe, and yes we're getting through it together 🫢


🌸 NAME 🌸

iomap_iter_continue β€” the little helper that decides whether iteration should continue πŸ‘‘


✨ SYNOPSIS ✨

int iomap_iter_continue (const struct iomap_iter *iter , struct iomap
*iomap , struct iomap *srcmap , int ret );

literally that's the whole signature, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • iter β€” the iteration structure, like the main character of this whole operation 🌟
  • iomap β€” the mapping that was just processed, and yes we're done with it πŸ’–
  • srcmap β€” the source mapping that was just processed, its little sibling basically πŸ¦‹
  • ret β€” -- undescribed -- πŸ™ˆ i know, i know, the docs ghosted us on this one. not me making peace with the mystery πŸ’€

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this is a helper that's normally called via iomap_iter_next. it gets called after the previous mapping has been finished, and its whole job is to figure out whether there's more of the file range left to process. vibe check for the file range, basically 🌈

here's what it returns:

  • 1 β€” slay, there's more work to do πŸ”₯ in this case iomap and srcmap are cleared so the caller can produce the next mapping. fresh canvas, new mapping, we move ✨
  • 0 β€” the range is fully consumed, we ate and left no crumbs πŸ’… that's a wrap, bestie
  • a negative errno β€” something went wrong 😭 error mode, not iconic, but we respect the honesty

🧚 SEE ALSO 🧚

  • Kernel file ${./fs/iomap/iter.c} β€” wait no, keep it literal: the kernel file ./fs/iomap/iter.c πŸ“
  • iomap_iter(9) β€” the sibling function, go read it too bestie πŸ’œ
heads up: that pointer is a relocated city ok, it's ./fs/iomap/iter.c β€” the file is in the tree wherever the doc build says it is. go find it, it's giving source code realness πŸ“‚

and that's the page!! mwah πŸ’‹ this whole thing came out of ./fs/iomap, version iomap_iter_continue(9), dated October 2026 β€” so yeah, a little blast from the future, periodt β­πŸ‘‘πŸŒˆ

πŸ“¦ where this page comes from