Searched refs:max_pages_per_mr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 507 dev->max_pages_per_mr); in srp_alloc_fr_pool() 3715 max_sectors_per_mr = srp_dev->max_pages_per_mr << in add_target_store() 3737 srp_dev->max_pages_per_mr - 1) / in add_target_store() 3738 srp_dev->max_pages_per_mr; in add_target_store() 3741 target->scsi_host->max_sectors, srp_dev->max_pages_per_mr, srp_dev->mr_page_size, in add_target_store() 3954 u64 max_pages_per_mr; in srp_add_one() local 3969 max_pages_per_mr = attr->max_mr_size; in srp_add_one() 3970 do_div(max_pages_per_mr, srp_dev->mr_page_size); in srp_add_one() 3973 max_pages_per_mr, SRP_MAX_PAGES_PER_MR); in srp_add_one() 3974 srp_dev->max_pages_per_mr = min_t(u64, SRP_MAX_PAGES_PER_MR, in srp_add_one() [all …]
|
D | ib_srp.h | 110 int max_pages_per_mr; member
|
/Linux-v6.1/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.c | 1386 clt_path->max_pages_per_mr); in alloc_path_reqs() 1391 clt_path->max_pages_per_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() 1569 clt_path->max_pages_per_mr = RTRS_MAX_SEGMENTS; in alloc_path()
|
D | rtrs-clt.h | 145 u32 max_pages_per_mr; member
|