Lines Matching refs:miter
259 struct sg_mapping_iter miter; in mpi_write_to_sgl() local
273 sg_miter_start(&miter, sgl, nents, SG_MITER_ATOMIC | SG_MITER_TO_SG); in mpi_write_to_sgl()
274 sg_miter_next(&miter); in mpi_write_to_sgl()
275 buf_len = miter.length; in mpi_write_to_sgl()
276 p2 = miter.addr; in mpi_write_to_sgl()
286 sg_miter_next(&miter); in mpi_write_to_sgl()
287 buf_len = miter.length; in mpi_write_to_sgl()
288 p2 = miter.addr; in mpi_write_to_sgl()
305 sg_miter_next(&miter); in mpi_write_to_sgl()
306 buf_len = miter.length; in mpi_write_to_sgl()
307 p2 = miter.addr; in mpi_write_to_sgl()
312 sg_miter_stop(&miter); in mpi_write_to_sgl()
332 struct sg_mapping_iter miter; in mpi_read_raw_from_sgl() local
344 sg_miter_start(&miter, sgl, ents, SG_MITER_ATOMIC | SG_MITER_FROM_SG); in mpi_read_raw_from_sgl()
358 sg_miter_next(&miter); in mpi_read_raw_from_sgl()
359 buff = miter.addr; in mpi_read_raw_from_sgl()
360 len = miter.length; in mpi_read_raw_from_sgl()
366 miter.consumed = lzeros; in mpi_read_raw_from_sgl()
371 sg_miter_stop(&miter); in mpi_read_raw_from_sgl()
379 sg_miter_stop(&miter); in mpi_read_raw_from_sgl()
398 while (sg_miter_next(&miter)) { in mpi_read_raw_from_sgl()
399 buff = miter.addr; in mpi_read_raw_from_sgl()
400 len = miter.length; in mpi_read_raw_from_sgl()