Lines Matching refs:miter
2481 struct sg_mapping_iter miter; in dif_copy_prot() local
2486 sg_miter_start(&miter, scsi_prot_sglist(SCpnt), in dif_copy_prot()
2490 while (sg_miter_next(&miter) && resid > 0) { in dif_copy_prot()
2491 size_t len = min(miter.length, resid); in dif_copy_prot()
2498 paddr = miter.addr; in dif_copy_prot()
2515 sg_miter_stop(&miter); in dif_copy_prot()
3388 struct sg_mapping_iter miter; in resp_xdwriteread() local
3401 sg_miter_start(&miter, sdb->table.sgl, sdb->table.nents, in resp_xdwriteread()
3404 while (sg_miter_next(&miter)) { in resp_xdwriteread()
3405 kaddr = miter.addr; in resp_xdwriteread()
3406 for (j = 0; j < miter.length; j++) in resp_xdwriteread()
3409 offset += miter.length; in resp_xdwriteread()
3411 sg_miter_stop(&miter); in resp_xdwriteread()