sg_miter_skip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ sg_miter_skip(9) πŸŽ€

okay so bestie, you're reading the sg_miter_skip(9) page from the Kernel API Manual and honestly? it's a little cutie. short, sweet, does one thing. let's get into it πŸ’…


✨ NAME ✨

sg_miter_skip β€” reposition that mapping iterator, periodt

✨ SYNOPSIS ✨

bool sg_miter_skip (struct sg_mapping_iter *miter , off_t offset );

✨ ARGUMENTS ✨

  • miter β€” the sg mapping iter that's getting skipped. yeah. that one. 🫢
  • offset β€” number of bytes to plus the current location. yes it literally says "plus" β€” it's added on top of wherever you already are πŸ’–

✨ DESCRIPTION ✨

So what it does is: it sets the offset of miter to its current location plus offset bytes. that's the whole vibe ✨

and like, heads up β€” if the mapping iterator miter has been proceeded by sg_miter_next, this stops miter. no cap, that's important. 😭

✨ CONTEXT ✨

Don't care. literally. that's what it says. main character energy of "not my problem" πŸ’€

✨ RETURN ✨

  • true β€” if miter contains the valid mapping πŸ‘‘
  • false β€” if end of sg list is reached 🌸

✨ SEE ALSO ✨

Kernel file ./lib/scatterlist.c, plus the whole friend group:


that's the whole page bestie, go skip some iterators responsibly πŸ¦‹

mwah πŸ’œ β€” this lil page lives in ./lib, dated October 2026, and it's the sg_miter_skip(9) entry, signing off πŸŽ€βœ¨

πŸ“¦ where this page comes from