/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_mr.c | 205 u32 max_num_sg) in pvrdma_alloc_mr() argument 213 int size = max_num_sg * sizeof(u64); in pvrdma_alloc_mr() 217 max_num_sg > PVRDMA_MAX_FAST_REG_PAGES) in pvrdma_alloc_mr() 230 ret = pvrdma_page_dir_init(dev, &mr->pdir, max_num_sg, false); in pvrdma_alloc_mr() 243 cmd->nchunks = max_num_sg; in pvrdma_alloc_mr() 252 mr->max_pages = max_num_sg; in pvrdma_alloc_mr()
|
A D | pvrdma_verbs.h | 374 u32 max_num_sg);
|
/linux-6.3-rc2/drivers/infiniband/core/ |
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()
|
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()
|
A D | verbs.c | 2211 u32 max_num_sg) in ib_alloc_mr() argument 2226 mr = pd->device->ops.alloc_mr(pd, mr_type, max_num_sg); in ib_alloc_mr() 2243 trace_mr_alloc(pd, mr_type, max_num_sg, mr); in ib_alloc_mr()
|
/linux-6.3-rc2/include/trace/events/ |
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-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | mr.c | 645 u32 max_num_sg) in mlx4_ib_alloc_mr() argument 652 max_num_sg > MLX4_MAX_FAST_REG_PAGES) in mlx4_ib_alloc_mr() 660 max_num_sg, 0, &mr->mmr); in mlx4_ib_alloc_mr() 664 err = mlx4_alloc_priv_pages(pd->device, mr, max_num_sg); in mlx4_ib_alloc_mr() 668 mr->max_pages = max_num_sg; in mlx4_ib_alloc_mr()
|
A D | mlx4_ib.h | 762 u32 max_num_sg);
|
/linux-6.3-rc2/include/rdma/ |
A D | mr_pool.h | 14 enum ib_mr_type type, u32 max_num_sg, u32 max_num_meta_sg);
|
/linux-6.3-rc2/drivers/infiniband/sw/rdmavt/ |
A D | mr.h | 32 u32 max_num_sg);
|
A D | mr.c | 536 u32 max_num_sg) in rvt_alloc_mr() argument 543 mr = __rvt_alloc_mr(max_num_sg, pd); in rvt_alloc_mr()
|
/linux-6.3-rc2/drivers/infiniband/hw/cxgb4/ |
A D | mem.c | 599 u32 max_num_sg) in c4iw_alloc_mr() argument 607 int length = roundup(max_num_sg * sizeof(u64), 32); in c4iw_alloc_mr() 613 max_num_sg > t4_max_fr_depth(rhp->rdev.lldi.ulptx_memwrite_dsgl && in c4iw_alloc_mr() 639 ret = alloc_pbl(mhp, max_num_sg); in c4iw_alloc_mr() 642 mhp->attr.pbl_size = max_num_sg; in c4iw_alloc_mr()
|
A D | iw_cxgb4.h | 971 u32 max_num_sg);
|
/linux-6.3-rc2/drivers/infiniband/ulp/iser/ |
A D | iser_verbs.c | 501 u32 max_num_sg; in iser_calc_scsi_params() local 515 max_num_sg = attr->max_pi_fast_reg_page_list_len; in iser_calc_scsi_params() 517 max_num_sg = attr->max_fast_reg_page_list_len; in iser_calc_scsi_params() 521 max_num_sg - reserved_mr_pages); in iser_calc_scsi_params()
|
/linux-6.3-rc2/drivers/infiniband/hw/ocrdma/ |
A D | ocrdma_verbs.h | 103 u32 max_num_sg);
|
A D | ocrdma_verbs.c | 2898 u32 max_num_sg) in ocrdma_alloc_mr() argument 2908 if (max_num_sg > dev->attr.max_pages_per_frmr) in ocrdma_alloc_mr() 2915 mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in ocrdma_alloc_mr() 2921 status = ocrdma_get_pbl_info(dev, mr, max_num_sg); in ocrdma_alloc_mr()
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/ |
A D | mr.c | 1967 u32 max_num_sg, u32 max_num_meta_sg, in mlx5_ib_alloc_pi_mr() argument 1971 int ndescs = ALIGN(max_num_sg + max_num_meta_sg, 4); in mlx5_ib_alloc_pi_mr() 2026 int max_num_sg, int max_num_meta_sg, in mlx5_alloc_integrity_descs() argument 2050 mr->klm_mr = mlx5_ib_alloc_pi_mr(pd, max_num_sg, max_num_meta_sg, in mlx5_alloc_integrity_descs() 2104 enum ib_mr_type mr_type, u32 max_num_sg, in __mlx5_ib_alloc_mr() argument 2109 int ndescs = ALIGN(max_num_sg, 4); in __mlx5_ib_alloc_mr() 2135 err = mlx5_alloc_integrity_descs(pd, mr, max_num_sg, in __mlx5_ib_alloc_mr() 2158 u32 max_num_sg) in mlx5_ib_alloc_mr() argument 2160 return __mlx5_ib_alloc_mr(pd, mr_type, max_num_sg, 0); in mlx5_ib_alloc_mr() 2164 u32 max_num_sg, u32 max_num_meta_sg) in mlx5_ib_alloc_mr_integrity() argument [all …]
|
A D | mlx5_ib.h | 1304 u32 max_num_sg); 1306 u32 max_num_sg,
|
/linux-6.3-rc2/drivers/infiniband/hw/qedr/ |
A D | verbs.h | 88 u32 max_num_sg);
|
/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/ |
A D | ib_verbs.h | 202 u32 max_num_sg);
|
A D | ib_verbs.c | 3664 u32 max_num_sg) in bnxt_re_alloc_mr() argument 3675 if (max_num_sg > MAX_PBL_LVL_1_PGS) in bnxt_re_alloc_mr() 3694 mr->pages = kcalloc(max_num_sg, sizeof(u64), GFP_KERNEL); in bnxt_re_alloc_mr() 3700 &mr->qplib_frpl, max_num_sg); in bnxt_re_alloc_mr()
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A D | hns_roce_mr.c | 353 u32 max_num_sg) in hns_roce_alloc_mr() argument 363 if (max_num_sg > HNS_ROCE_FRMR_MAX_PA) { in hns_roce_alloc_mr() 375 mr->size = max_num_sg * (1 << PAGE_SHIFT); in hns_roce_alloc_mr()
|
/linux-6.3-rc2/drivers/infiniband/hw/erdma/ |
A D | erdma_verbs.h | 338 u32 max_num_sg);
|
A D | erdma_verbs.c | 826 u32 max_num_sg) in erdma_ib_alloc_mr() argument 836 if (max_num_sg > ERDMA_MR_MAX_MTT_CNT) in erdma_ib_alloc_mr() 857 mr->mem.page_cnt = max_num_sg; in erdma_ib_alloc_mr()
|
/linux-6.3-rc2/drivers/infiniband/sw/rxe/ |
A D | rxe_verbs.c | 939 u32 max_num_sg) in rxe_alloc_mr() argument 963 err = rxe_mr_init_fast(max_num_sg, mr); in rxe_alloc_mr()
|