Home
last modified time | relevance | path

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

/linux-3.4.99/net/rds/
Dib_rdma.c83 struct ib_fmr_attr fmr_attr; member
230 pool->fmr_attr.max_pages = fmr_message_size; in rds_ib_create_mr_pool()
231 pool->fmr_attr.max_maps = rds_ibdev->fmr_max_remaps; in rds_ib_create_mr_pool()
232 pool->fmr_attr.page_shift = PAGE_SHIFT; in rds_ib_create_mr_pool()
251 iinfo->rdma_mr_size = pool->fmr_attr.max_pages; in rds_ib_get_mr_info()
346 &pool->fmr_attr); in rds_ib_alloc_fmr()
643 if (nfreed < free_goal || ibmr->remap_count >= pool->fmr_attr.max_maps) { in rds_ib_flush_mr_pool()
703 if (ibmr->remap_count >= pool->fmr_attr.max_maps) in rds_ib_free_mr()
/linux-3.4.99/drivers/infiniband/hw/mlx4/
Dmr.c269 struct ib_fmr_attr *fmr_attr) in mlx4_ib_fmr_alloc() argument
280 fmr_attr->max_pages, fmr_attr->max_maps, in mlx4_ib_fmr_alloc()
281 fmr_attr->page_shift, &fmr->mfmr); in mlx4_ib_fmr_alloc()
Dmlx4_ib.h342 struct ib_fmr_attr *fmr_attr);
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_mr.c288 struct ib_fmr_attr *fmr_attr) in ipath_alloc_fmr() argument
295 m = (fmr_attr->max_pages + IPATH_SEGSZ - 1) / IPATH_SEGSZ; in ipath_alloc_fmr()
326 fmr->mr.max_segs = fmr_attr->max_pages; in ipath_alloc_fmr()
327 fmr->page_shift = fmr_attr->page_shift; in ipath_alloc_fmr()
Dipath_verbs.h833 struct ib_fmr_attr *fmr_attr);
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_mr.c355 struct ib_fmr_attr *fmr_attr) in qib_alloc_fmr() argument
362 m = (fmr_attr->max_pages + QIB_SEGSZ - 1) / QIB_SEGSZ; in qib_alloc_fmr()
394 fmr->mr.max_segs = fmr_attr->max_pages; in qib_alloc_fmr()
395 fmr->mr.page_shift = fmr_attr->page_shift; in qib_alloc_fmr()
Dqib_verbs.h989 struct ib_fmr_attr *fmr_attr);
/linux-3.4.99/drivers/infiniband/hw/ehca/
Dehca_mrmw.c767 struct ib_fmr_attr *fmr_attr) in ehca_alloc_fmr() argument
799 if ((fmr_attr->max_pages == 0) || (fmr_attr->max_maps == 0)) { in ehca_alloc_fmr()
802 fmr_attr->max_pages, fmr_attr->max_maps, in ehca_alloc_fmr()
803 fmr_attr->page_shift); in ehca_alloc_fmr()
808 hw_pgsize = 1 << fmr_attr->page_shift; in ehca_alloc_fmr()
811 fmr_attr->page_shift); in ehca_alloc_fmr()
831 fmr_attr->max_pages * (1 << fmr_attr->page_shift), in ehca_alloc_fmr()
841 e_fmr->fmr_page_size = 1 << fmr_attr->page_shift; in ehca_alloc_fmr()
842 e_fmr->fmr_max_pages = fmr_attr->max_pages; in ehca_alloc_fmr()
843 e_fmr->fmr_max_maps = fmr_attr->max_maps; in ehca_alloc_fmr()
Dehca_iverbs.h107 struct ib_fmr_attr *fmr_attr);
/linux-3.4.99/drivers/infiniband/core/
Dfmr_pool.c302 struct ib_fmr_attr fmr_attr = { in ib_create_fmr_pool() local
325 fmr->fmr = ib_alloc_fmr(pd, params->access, &fmr_attr); in ib_create_fmr_pool()
Dverbs.c1138 struct ib_fmr_attr *fmr_attr) in ib_alloc_fmr() argument
1145 fmr = pd->device->alloc_fmr(pd, mr_access_flags, fmr_attr); in ib_alloc_fmr()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_provider.c1093 struct ib_fmr_attr *fmr_attr) in mthca_alloc_fmr() argument
1102 memcpy(&fmr->attr, fmr_attr, sizeof *fmr_attr); in mthca_alloc_fmr()
/linux-3.4.99/include/rdma/
Dib_verbs.h1209 struct ib_fmr_attr *fmr_attr);
2112 struct ib_fmr_attr *fmr_attr);