Lines Matching refs:nents
276 static void gart_unmap_sg(struct device *dev, struct scatterlist *sg, int nents,
282 for_each_sg(sg, s, nents, i) {
291 int nents, int dir)
300 for_each_sg(sg, s, nents, i) {
308 nents = 0;
318 return nents;
377 static int gart_map_sg(struct device *dev, struct scatterlist *sg, int nents,
386 if (nents == 0)
397 for_each_sg(sg, s, nents, i) {
439 if (out < nents) {
451 out = dma_map_sg_nonforce(dev, sg, nents, dir);