Lines Matching refs:miter
2478 struct sg_mapping_iter miter; in dif_copy_prot() local
2483 sg_miter_start(&miter, scsi_prot_sglist(SCpnt), in dif_copy_prot()
2487 while (sg_miter_next(&miter) && resid > 0) { in dif_copy_prot()
2488 size_t len = min(miter.length, resid); in dif_copy_prot()
2495 paddr = miter.addr; in dif_copy_prot()
2512 sg_miter_stop(&miter); in dif_copy_prot()
3385 struct sg_mapping_iter miter; in resp_xdwriteread() local
3398 sg_miter_start(&miter, sdb->table.sgl, sdb->table.nents, in resp_xdwriteread()
3401 while (sg_miter_next(&miter)) { in resp_xdwriteread()
3402 kaddr = miter.addr; in resp_xdwriteread()
3403 for (j = 0; j < miter.length; j++) in resp_xdwriteread()
3406 offset += miter.length; in resp_xdwriteread()
3408 sg_miter_stop(&miter); in resp_xdwriteread()