Lines Matching refs:sg_max

1111 				  unsigned int sg_max,  in extract_user_to_sg()  argument
1122 array_size(sg_max, sizeof(struct scatterlist)); in extract_user_to_sg()
1123 pages -= sg_max; in extract_user_to_sg()
1126 res = iov_iter_extract_pages(iter, &pages, maxsize, sg_max, in extract_user_to_sg()
1135 sg_max -= npages; in extract_user_to_sg()
1148 } while (maxsize > 0 && sg_max > 0); in extract_user_to_sg()
1165 unsigned int sg_max, in extract_bvec_to_sg() argument
1189 sg_max--; in extract_bvec_to_sg()
1193 if (maxsize <= 0 || sg_max == 0) in extract_bvec_to_sg()
1211 unsigned int sg_max, in extract_kvec_to_sg() argument
1248 sg_max--; in extract_kvec_to_sg()
1253 } while (len > 0 && sg_max > 0); in extract_kvec_to_sg()
1255 if (maxsize <= 0 || sg_max == 0) in extract_kvec_to_sg()
1272 unsigned int sg_max, in extract_folioq_to_sg() argument
1300 sg_max--; in extract_folioq_to_sg()
1317 } while (sg_max > 0 && ret < maxsize); in extract_folioq_to_sg()
1333 unsigned int sg_max, in extract_xarray_to_sg() argument
1361 sg_max--; in extract_xarray_to_sg()
1365 if (maxsize <= 0 || sg_max == 0) in extract_xarray_to_sg()
1404 struct sg_table *sgtable, unsigned int sg_max, in extract_iter_to_sg() argument
1413 return extract_user_to_sg(iter, maxsize, sgtable, sg_max, in extract_iter_to_sg()
1416 return extract_bvec_to_sg(iter, maxsize, sgtable, sg_max, in extract_iter_to_sg()
1419 return extract_kvec_to_sg(iter, maxsize, sgtable, sg_max, in extract_iter_to_sg()
1422 return extract_folioq_to_sg(iter, maxsize, sgtable, sg_max, in extract_iter_to_sg()
1425 return extract_xarray_to_sg(iter, maxsize, sgtable, sg_max, in extract_iter_to_sg()