Lines Matching refs:miter
2593 struct sg_mapping_iter miter; in dif_copy_prot() local
2598 sg_miter_start(&miter, scsi_prot_sglist(SCpnt), in dif_copy_prot()
2602 while (sg_miter_next(&miter) && resid > 0) { in dif_copy_prot()
2603 size_t len = min(miter.length, resid); in dif_copy_prot()
2610 paddr = miter.addr; in dif_copy_prot()
2627 sg_miter_stop(&miter); in dif_copy_prot()
3728 struct sg_mapping_iter miter; in resp_xdwriteread() local
3741 sg_miter_start(&miter, sdb->table.sgl, sdb->table.nents, in resp_xdwriteread()
3744 while (sg_miter_next(&miter)) { in resp_xdwriteread()
3745 kaddr = miter.addr; in resp_xdwriteread()
3746 for (j = 0; j < miter.length; j++) in resp_xdwriteread()
3749 offset += miter.length; in resp_xdwriteread()
3751 sg_miter_stop(&miter); in resp_xdwriteread()