blk_rq_integ...ap_iter_next(9)
π blk_rq_integ...ap_iter_next(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny little function page but it's lowkey important, so let's get into it π«Ά
β¨ NAME β¨
blk_rq_integrity_dma_map_iter_next β maps the next integrity DMA segment for a request π
πΈ SYNOPSIS πΈ
bool blk_rq_integrity_dma_map_iter_next (struct request *req , struct
device *dma_dev , struct blk_dma_iter *iter );
that's the whole signature, no cap π
it returns a bool, so it's a yes/no girlie at heart.
π¦ ARGUMENTS π¦
reqβ the request you wanna map, that's the main character here πdma_devβ the device you're mapping to π―iterβ the block layer DMA iterator, your little state-tracking bestie π
π DESCRIPTION π
so here's the vibe: you call this to iterate to the next integrity mapping, right after a previous call to blk_rq_integrity_dma_map_iter_start. like, you already started the journey, this is you taking the next step π§β¨ and if you want the full tea on what the arguments actually mean, go read the description over at blk_rq_integrity_dma_map_iter_start β it's all there, iykyk.
it returns false if there's no segment to map β and yes, that includes when something errored out π β or true if it actually did map a segment. slay π
and if a segment was mapped: the DMA address for it comes back in iter.addr and the length in iter.len π if no segment was mapped, the status code comes back in iter.status instead. so either way you're getting info, she always delivers π
π₯ SEE ALSO π₯
- Kernel file
./block/blk-mq-dma.c blk_rq_dma_map_iter_start(9)blk_rq_dma_map_iter_next(9)blk_rq_integrity_dma_map_iter_start(9)blk_rq_map_integrity_sg(9)
go read those next, bestie, they're literally the whole friend group πΈ
ngl this page is short but she ate. no notes. π
okay that's the whole page!! π this cutie lives in ./block and the version/date stamp on her is October 2026 β mwah, see you in the next manpage, bestie πβ¨π¦
π¦ 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