Searched refs:fmr_attr (Results 1 – 13 of 13) sorted by relevance
/linux-3.4.99/net/rds/ |
D | ib_rdma.c | 83 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/ |
D | mr.c | 269 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()
|
D | mlx4_ib.h | 342 struct ib_fmr_attr *fmr_attr);
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_mr.c | 288 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()
|
D | ipath_verbs.h | 833 struct ib_fmr_attr *fmr_attr);
|
/linux-3.4.99/drivers/infiniband/hw/qib/ |
D | qib_mr.c | 355 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()
|
D | qib_verbs.h | 989 struct ib_fmr_attr *fmr_attr);
|
/linux-3.4.99/drivers/infiniband/hw/ehca/ |
D | ehca_mrmw.c | 767 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()
|
D | ehca_iverbs.h | 107 struct ib_fmr_attr *fmr_attr);
|
/linux-3.4.99/drivers/infiniband/core/ |
D | fmr_pool.c | 302 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()
|
D | verbs.c | 1138 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/ |
D | mthca_provider.c | 1093 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/ |
D | ib_verbs.h | 1209 struct ib_fmr_attr *fmr_attr); 2112 struct ib_fmr_attr *fmr_attr);
|