/drivers/xen/ |
H A D | swiotlb-xen.c | 547 int nelems, enum dma_data_direction dir, 555 for_each_sg(sgl, sg, nelems, i) { 595 return nelems; 605 int nelems, enum dma_data_direction dir, 613 for_each_sg(sgl, sg, nelems, i) 628 int nelems, enum dma_data_direction dir, 634 for_each_sg(sgl, sg, nelems, i) 641 int nelems, enum dma_data_direction dir) 643 xen_swiotlb_sync_sg(hwdev, sg, nelems, dir, SYNC_FOR_CPU); 649 int nelems, enu 546 xen_swiotlb_map_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument 604 xen_swiotlb_unmap_sg_attrs(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument 627 xen_swiotlb_sync_sg(struct device *hwdev, struct scatterlist *sgl, int nelems, enum dma_data_direction dir, enum dma_sync_target target) argument 640 xen_swiotlb_sync_sg_for_cpu(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument 648 xen_swiotlb_sync_sg_for_device(struct device *hwdev, struct scatterlist *sg, int nelems, enum dma_data_direction dir) argument [all...] |
/drivers/block/ |
H A D | cciss_scsi.c | 115 int nelems; member in struct:cciss_scsi_cmd_stack_t 189 if (stk->top >= stk->nelems) { 205 stk->nelems = cciss_tape_cmds + 2; 207 h->chainsize, stk->nelems); 211 size = sizeof(struct cciss_scsi_cmd_stack_elem_t) * stk->nelems; 220 cciss_free_sg_chain_blocks(sa->cmd_sg_list, stk->nelems); 224 stk->elem = kmalloc(sizeof(stk->elem[0]) * stk->nelems, GFP_KERNEL); 230 for (i = 0; i < stk->nelems; i++) { 236 stk->top = stk->nelems-1; 249 if (stk->top != stk->nelems [all...] |
/drivers/iommu/ |
H A D | amd_iommu.c | 2833 int nelems, enum dma_data_direction dir, 2854 for_each_sg(sglist, s, nelems, i) { 2892 int nelems, enum dma_data_direction dir, 2908 for_each_sg(sglist, s, nelems, i) { 2832 map_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument 2891 unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument
|
H A D | intel-iommu.c | 3300 int nelems, enum dma_data_direction dir, 3307 struct scatterlist *sglist, int nelems, int dir) 3312 for_each_sg(sglist, sg, nelems, i) { 3317 return nelems; 3320 static int intel_map_sg(struct device *dev, struct scatterlist *sglist, int nelems, argument 3335 return intel_nontranslate_map_sg(dev, sglist, nelems, dir); 3343 for_each_sg(sglist, sg, nelems, i) 3379 return nelems; 3299 intel_unmap_sg(struct device *dev, struct scatterlist *sglist, int nelems, enum dma_data_direction dir, struct dma_attrs *attrs) argument 3306 intel_nontranslate_map_sg(struct device *hddev, struct scatterlist *sglist, int nelems, int dir) argument
|