Searched refs:dma_nents (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 82 data->dma_nents = ib_dma_map_sg(dev, data->sg, data->size, dma_dir); in iser_dma_map_task_data() 83 if (unlikely(data->dma_nents == 0)) { in iser_dma_map_task_data() 91 pdata->dma_nents = ib_dma_map_sg(dev, pdata->sg, pdata->size, dma_dir); in iser_dma_map_task_data() 92 if (unlikely(pdata->dma_nents == 0)) { in iser_dma_map_task_data() 272 ret = ib_map_mr_sg_pi(mr, mem->sg, mem->dma_nents, NULL, in iser_reg_sig_mr() 273 sig_mem->sg, sig_mem->dma_nents, NULL, SZ_4K); in iser_reg_sig_mr() 276 mem->dma_nents + sig_mem->dma_nents); in iser_reg_sig_mr() 321 n = ib_map_mr_sg(mr, mem->sg, mem->dma_nents, NULL, SZ_4K); in iser_fast_reg_mr() 322 if (unlikely(n != mem->dma_nents)) { in iser_fast_reg_mr() 324 n, mem->dma_nents); in iser_fast_reg_mr() [all …]
|
D | iscsi_iser.h | 192 int dma_nents; member
|
D | iser_initiator.c | 721 iser_task->prot[ISER_DIR_IN].dma_nents = 0; in iser_task_rdma_init() 722 iser_task->prot[ISER_DIR_OUT].dma_nents = 0; in iser_task_rdma_init()
|
/Linux-v6.6/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 291 int i, n, dma_nents; in frwr_map() local 312 dma_nents = ib_dma_map_sg(ep->re_id->device, mr->mr_sg, mr->mr_nents, in frwr_map() 314 if (!dma_nents) in frwr_map() 319 n = ib_map_mr_sg(ibmr, mr->mr_sg, dma_nents, NULL, PAGE_SIZE); in frwr_map() 320 if (n != dma_nents) in frwr_map()
|
/Linux-v6.6/drivers/crypto/intel/keembay/ |
D | ocs-aes.c | 1426 int dma_nents; in ocs_create_linked_list_from_sg() local 1451 dma_nents = 0; in ocs_create_linked_list_from_sg() 1459 dma_nents++; in ocs_create_linked_list_from_sg() 1462 if (dma_nents > sg_dma_count) in ocs_create_linked_list_from_sg() 1466 dll_desc->size = sizeof(struct ocs_dma_linked_list) * dma_nents; in ocs_create_linked_list_from_sg() 1474 for (i = 0; i < dma_nents; i++, sg = sg_next(sg)) { in ocs_create_linked_list_from_sg()
|
/Linux-v6.6/include/linux/ |
D | scatterlist.h | 622 #define for_each_sg_dma_page(sglist, dma_iter, dma_nents, pgoffset) \ argument 623 for (__sg_page_iter_start(&(dma_iter)->base, sglist, dma_nents, \
|
/Linux-v6.6/drivers/infiniband/core/ |
D | rw.c | 47 enum dma_data_direction dir, int dma_nents) in rdma_rw_io_needs_mr() argument 52 if (dev->attrs.max_sgl_rd && dma_nents > dev->attrs.max_sgl_rd) in rdma_rw_io_needs_mr()
|