Lines Matching defs:sgtable
1109 struct sg_table *sgtable,
1113 struct scatterlist *sg = sgtable->sgl + sgtable->nents;
1120 pages = (void *)sgtable->sgl +
1142 sgtable->nents++;
1152 while (sgtable->nents > sgtable->orig_nents)
1153 unpin_user_page(sg_page(&sgtable->sgl[--sgtable->nents]));
1163 struct sg_table *sgtable,
1168 struct scatterlist *sg = sgtable->sgl + sgtable->nents;
1186 sgtable->nents++;
1209 struct sg_table *sgtable,
1214 struct scatterlist *sg = sgtable->sgl + sgtable->nents;
1245 sgtable->nents++;
1270 struct sg_table *sgtable,
1274 struct scatterlist *sg = sgtable->sgl + sgtable->nents;
1297 sgtable->nents++;
1317 * @sgtable: The scatterlist table to fill in
1318 * @sg_max: Maximum number of elements in @sgtable that may be filled
1334 * If successful, @sgtable->nents is updated to include the number of elements
1335 * added and the number of bytes added is returned. @sgtable->orig_nents is
1342 struct sg_table *sgtable, unsigned int sg_max,
1351 return extract_user_to_sg(iter, maxsize, sgtable, sg_max,
1354 return extract_bvec_to_sg(iter, maxsize, sgtable, sg_max,
1357 return extract_kvec_to_sg(iter, maxsize, sgtable, sg_max,
1360 return extract_xarray_to_sg(iter, maxsize, sgtable, sg_max,