Home
last modified time | relevance | path

Searched refs:dma_nents (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/infiniband/ulp/iser/
Diser_memory.c49 int dma_nents; in iser_start_rdma_unaligned_sg() local
93 dma_nents = ib_dma_map_sg(dev, in iser_start_rdma_unaligned_sg()
98 BUG_ON(dma_nents == 0); in iser_start_rdma_unaligned_sg()
100 iser_task->data_copy[cmd_dir].dma_nents = dma_nents; in iser_start_rdma_unaligned_sg()
179 int i, new_chunk, cur_page, last_ent = data->dma_nents - 1; in iser_sg_to_page_vec()
186 for_each_sg(sgl, sg, data->dma_nents, i) { in iser_sg_to_page_vec()
230 if (data->dma_nents == 1) in iser_data_buf_aligned_len()
236 for_each_sg(sgl, sg, data->dma_nents, i) { in iser_data_buf_aligned_len()
258 ret_len, data->dma_nents, data); in iser_data_buf_aligned_len()
272 for_each_sg(sgl, sg, data->dma_nents, i) in iser_data_buf_dump()
[all …]
Discsi_iser.h170 unsigned int dma_nents; /* returned by dma_map_sg */ member
/linux-2.6.39/drivers/mmc/host/
Dimxmmc.c67 unsigned int dma_nents; member
273 host->dma_nents = dma_map_sg(mmc_dev(host->mmc), data->sg, in imxmci_setup_data()
285 host->dma_nents = dma_map_sg(mmc_dev(host->mmc), data->sg, in imxmci_setup_data()
298 for (i = 0; i < host->dma_nents; i++) in imxmci_setup_data()
415 dma_unmap_sg(mmc_dev(host->mmc), data->sg, host->dma_nents, in imxmci_finish_data()