Searched refs:max_pages_per_mr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 502 dev->max_pages_per_mr); in srp_alloc_fr_pool() 3768 max_sectors_per_mr = srp_dev->max_pages_per_mr << in add_target_store() 3790 srp_dev->max_pages_per_mr - 1) / in add_target_store() 3791 srp_dev->max_pages_per_mr; in add_target_store() 3794 target->scsi_host->max_sectors, srp_dev->max_pages_per_mr, srp_dev->mr_page_size, in add_target_store() 4007 u64 max_pages_per_mr; in srp_add_one() local 4022 max_pages_per_mr = attr->max_mr_size; in srp_add_one() 4023 do_div(max_pages_per_mr, srp_dev->mr_page_size); in srp_add_one() 4026 max_pages_per_mr, SRP_MAX_PAGES_PER_MR); in srp_add_one() 4027 srp_dev->max_pages_per_mr = min_t(u64, SRP_MAX_PAGES_PER_MR, in srp_add_one() [all …]
|
H A D | ib_srp.h | 112 int max_pages_per_mr; member
|
/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs-clt.c | 1386 clt_path->max_pages_per_mr); in alloc_path_reqs() 1390 clt_path->max_pages_per_mr, req->mr); in alloc_path_reqs() 1454 u64 max_pages_per_mr; in query_fast_reg_mode() local 1465 max_pages_per_mr = ib_dev->attrs.max_mr_size; in query_fast_reg_mode() 1466 do_div(max_pages_per_mr, (1ull << mr_page_shift)); in query_fast_reg_mode() 1467 clt_path->max_pages_per_mr = in query_fast_reg_mode() 1468 min3(clt_path->max_pages_per_mr, (u32)max_pages_per_mr, in query_fast_reg_mode() 1471 min(clt_path->max_pages_per_mr, clt_path->clt->max_segments); in query_fast_reg_mode() 1571 clt_path->max_pages_per_mr = RTRS_MAX_SEGMENTS; in alloc_path()
|
H A D | rtrs-clt.h | 144 u32 max_pages_per_mr; member
|