Searched refs:fmr_attr (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/net/rds/ |
D | ib_fmr.c | 75 &pool->fmr_attr); in rds_ib_alloc_fmr() 148 if (page_cnt > ibmr->pool->fmr_attr.max_pages) { in rds_ib_map_fmr() 247 ibmr->remap_count >= ibmr->pool->fmr_attr.max_maps) { in rds_ib_unreg_fmr() 265 if (ibmr->remap_count >= pool->fmr_attr.max_maps) in rds_ib_free_fmr_list()
|
D | ib_rdma.c | 177 iinfo->rdma_mr_size = pool_1m->fmr_attr.max_pages; in rds_ib_get_mr_info() 187 iinfo6->rdma_mr_size = pool_1m->fmr_attr.max_pages; in rds6_ib_get_mr_info() 599 pool->fmr_attr.max_pages = RDS_MR_1M_MSG_SIZE + 1; in rds_ib_create_mr_pool() 603 pool->fmr_attr.max_pages = RDS_MR_8K_MSG_SIZE + 1; in rds_ib_create_mr_pool() 607 pool->max_free_pinned = pool->max_items * pool->fmr_attr.max_pages / 4; in rds_ib_create_mr_pool() 608 pool->fmr_attr.max_maps = rds_ibdev->fmr_max_remaps; in rds_ib_create_mr_pool() 609 pool->fmr_attr.page_shift = PAGE_SHIFT; in rds_ib_create_mr_pool()
|
D | ib_mr.h | 109 struct ib_fmr_attr fmr_attr; member
|
D | ib_frmr.c | 79 pool->fmr_attr.max_pages); in rds_ib_alloc_frmr() 243 if (frmr->dma_npages > ibmr->pool->fmr_attr.max_pages) { in rds_ib_map_frmr()
|
/Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
D | mr.h | 87 struct ib_fmr_attr *fmr_attr);
|
D | mr.c | 725 struct ib_fmr_attr *fmr_attr) in rvt_alloc_fmr() argument 733 m = (fmr_attr->max_pages + RVT_SEGSZ - 1) / RVT_SEGSZ; in rvt_alloc_fmr() 738 rval = rvt_init_mregion(&fmr->mr, pd, fmr_attr->max_pages, in rvt_alloc_fmr() 757 fmr->mr.max_segs = fmr_attr->max_pages; in rvt_alloc_fmr() 758 fmr->mr.page_shift = fmr_attr->page_shift; in rvt_alloc_fmr()
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | mr.c | 702 struct ib_fmr_attr *fmr_attr) in mlx4_ib_fmr_alloc() argument 713 fmr_attr->max_pages, fmr_attr->max_maps, in mlx4_ib_fmr_alloc() 714 fmr_attr->page_shift, &fmr->mfmr); in mlx4_ib_fmr_alloc()
|
D | mlx4_ib.h | 798 struct ib_fmr_attr *fmr_attr);
|
/Linux-v5.4/drivers/infiniband/core/ |
D | fmr_pool.c | 264 struct ib_fmr_attr fmr_attr = { in ib_create_fmr_pool() local 284 fmr->fmr = ib_alloc_fmr(pd, params->access, &fmr_attr); in ib_create_fmr_pool()
|
D | verbs.c | 2109 struct ib_fmr_attr *fmr_attr) in ib_alloc_fmr() argument 2116 fmr = pd->device->ops.alloc_fmr(pd, mr_access_flags, fmr_attr); in ib_alloc_fmr()
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 963 struct ib_fmr_attr *fmr_attr) in mthca_alloc_fmr() argument 972 memcpy(&fmr->attr, fmr_attr, sizeof *fmr_attr); in mthca_alloc_fmr()
|
/Linux-v5.4/include/rdma/ |
D | ib_verbs.h | 2420 struct ib_fmr_attr *fmr_attr); 4181 struct ib_fmr_attr *fmr_attr);
|