| /linux/include/trace/events/ |
| H A D | rdma_core.h | 305 u32 max_num_sg, 309 TP_ARGS(pd, mr_type, max_num_sg, mr), 314 __field(u32, max_num_sg) 328 __entry->max_num_sg = max_num_sg; 335 __entry->max_num_sg, __entry->rc)
|
| /linux/drivers/infiniband/core/ |
| H A D | mr_pool.c | 37 enum ib_mr_type type, u32 max_num_sg, u32 max_num_meta_sg) in ib_mr_pool_init() argument 45 mr = ib_alloc_mr_integrity(qp->pd, max_num_sg, in ib_mr_pool_init() 48 mr = ib_alloc_mr(qp->pd, type, max_num_sg); in ib_mr_pool_init()
|
| H A D | rw.c | 690 u32 nr_mrs = 0, nr_sig_mrs = 0, max_num_sg = 0; in rdma_rw_init_mrs() local 696 max_num_sg = rdma_rw_fr_page_list_len(dev, true); in rdma_rw_init_mrs() 699 max_num_sg = rdma_rw_fr_page_list_len(dev, false); in rdma_rw_init_mrs() 705 max_num_sg, 0); in rdma_rw_init_mrs() 715 IB_MR_TYPE_INTEGRITY, max_num_sg, max_num_sg); in rdma_rw_init_mrs()
|
| H A D | verbs.c | 2292 * @max_num_sg: maximum sg entries available for registration. 2295 * Memory registeration page/sg lists must not exceed max_num_sg. 2297 * max_num_sg * used_page_size. 2301 u32 max_num_sg) in ib_alloc_mr() argument 2316 mr = pd->device->ops.alloc_mr(pd, mr_type, max_num_sg); in ib_alloc_mr() 2333 trace_mr_alloc(pd, mr_type, max_num_sg, mr); in ib_alloc_mr() 2346 * Memory registration page/sg lists must not exceed max_num_sg, 2708 * then only max_num_sg entries will be mapped.
|
| /linux/include/rdma/ |
| H A D | mr_pool.h | 14 enum ib_mr_type type, u32 max_num_sg, u32 max_num_meta_sg);
|
| H A D | ib_verbs.h | 2545 u32 max_num_sg); 4414 u32 max_num_sg);
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | mem.c | 603 u32 max_num_sg) in c4iw_alloc_mr() argument 611 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr() 617 max_num_sg > t4_max_fr_depth(rhp->rdev.lldi.ulptx_memwrite_dsgl && in c4iw_alloc_mr() 643 ret = alloc_pbl(mhp, max_num_sg); in c4iw_alloc_mr() 646 mhp->attr.pbl_size = max_num_sg; in c4iw_alloc_mr()
|
| /linux/drivers/infiniband/ulp/iser/ |
| H A D | iser_verbs.c | 494 u32 max_num_sg; in iser_calc_scsi_params() local 508 max_num_sg = attr->max_pi_fast_reg_page_list_len; in iser_calc_scsi_params() 510 max_num_sg = attr->max_fast_reg_page_list_len; in iser_calc_scsi_params() 514 max_num_sg - reserved_mr_pages); in iser_calc_scsi_params()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_device.h | 1245 u32 max_num_sg);
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 4094 u32 max_num_sg) in bnxt_re_map_mr_sg() 4106 if (max_num_sg > MAX_PBL_LVL_1_PGS) in bnxt_re_alloc_mr() 4125 mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in bnxt_re_alloc_mr() 4131 &mr->qplib_frpl, max_num_sg); in bnxt_re_alloc_mr() 4099 bnxt_re_alloc_mr(struct ib_pd * ib_pd,enum ib_mr_type type,u32 max_num_sg) bnxt_re_alloc_mr() argument
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | verbs.c | 3142 u32 max_num_sg) in irdma_alloc_mr() argument 3170 iwmr->page_cnt = max_num_sg; in irdma_alloc_mr() 3172 iwmr->len = max_num_sg * PAGE_SIZE; in irdma_alloc_mr()
|