Home
last modified time | relevance | path

Searched refs:fmr_attr (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/net/rds/
Dib_fmr.c75 &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()
Dib_rdma.c177 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()
Dib_mr.h109 struct ib_fmr_attr fmr_attr; member
Dib_frmr.c79 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/
Dmr.h87 struct ib_fmr_attr *fmr_attr);
Dmr.c725 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/
Dmr.c702 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()
Dmlx4_ib.h798 struct ib_fmr_attr *fmr_attr);
/Linux-v5.4/drivers/infiniband/core/
Dfmr_pool.c264 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()
Dverbs.c2109 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/
Dmthca_provider.c963 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/
Dib_verbs.h2420 struct ib_fmr_attr *fmr_attr);
4181 struct ib_fmr_attr *fmr_attr);