iomap_iter_continue(9)
π 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 caseiomapandsrcmapare 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
- 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