iterate_and_advance(9)
π iterate_and_advance β Kernel API Manual β¨
okay bestie, welcome to the Kernel API Manual entry for iterate_and_advance(9) β she's giving very specific kernel-iterator energy and we're gonna get into it π«Ά
πΈ NAME πΈ
iterate_and_advance β iterate over an iterator. literally that's the whole name, no cap π
β¨ SYNOPSIS β¨
size_t iterate_and_advance (struct iov_iter *iter , size_t len , void
*priv , iov_ustep_f ustep , iov_step_f step );
π ARGUMENTS π
iterβ the iterator you're iterating over. main character behavior πlenβ the amount to iterate over. yes bestie, the length β¨privβ data for the step functions. it's giving helper-info πustepβ function for UBUF/IOVEC iterators; given__useraddresses. user-address vibes π¦stepβ function for other iterators; given kernel addresses. kernel-address vibes πΈ
π¦ DESCRIPTION π¦
okay so here's the tea: this is literally just like iterate_and_advance2, but priv2 is always NULL. that's it, that's the whole description β no extra lore, no cap ππ
π SEE ALSO π
- Kernel file
./include/linux/iov_iter.h iterate_and_advance2(9)iterate_and_advance_kernel(9)
mwah π that's the page, bestie β source/version ./include/linux, date October 2026, page iterate_and_advance(9). bye queen, go iterate responsibly ππ
π¦ 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