Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/ulp/iser/
Diser_memory.c82 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 …]
Discsi_iser.h192 int dma_nents; member
Diser_initiator.c720 iser_task->prot[ISER_DIR_IN].dma_nents = 0; in iser_task_rdma_init()
721 iser_task->prot[ISER_DIR_OUT].dma_nents = 0; in iser_task_rdma_init()
/linux-6.1.9/net/sunrpc/xprtrdma/
Dfrwr_ops.c291 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-6.1.9/drivers/crypto/keembay/
Docs-aes.c1426 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-6.1.9/include/linux/
Dscatterlist.h562 #define for_each_sg_dma_page(sglist, dma_iter, dma_nents, pgoffset) \ argument
563 for (__sg_page_iter_start(&(dma_iter)->base, sglist, dma_nents, \
/linux-6.1.9/drivers/infiniband/core/
Drw.c47 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()