Searched refs:max_pages_per_mr (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 507 dev->max_pages_per_mr); in srp_alloc_fr_pool() 3740 max_sectors_per_mr = srp_dev->max_pages_per_mr << in srp_create_target() 3762 srp_dev->max_pages_per_mr - 1) / in srp_create_target() 3763 srp_dev->max_pages_per_mr; in srp_create_target() 3766 target->scsi_host->max_sectors, srp_dev->max_pages_per_mr, srp_dev->mr_page_size, in srp_create_target() 3981 u64 max_pages_per_mr; in srp_add_one() local 3996 max_pages_per_mr = attr->max_mr_size; in srp_add_one() 3997 do_div(max_pages_per_mr, srp_dev->mr_page_size); in srp_add_one() 4000 max_pages_per_mr, SRP_MAX_PAGES_PER_MR); in srp_add_one() 4001 srp_dev->max_pages_per_mr = min_t(u64, SRP_MAX_PAGES_PER_MR, in srp_add_one() [all …]
|
D | ib_srp.h | 109 int max_pages_per_mr; member
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.c | 1275 sess->max_pages_per_mr); in alloc_sess_reqs() 1280 sess->max_pages_per_mr); in alloc_sess_reqs() 1346 u64 max_pages_per_mr; in query_fast_reg_mode() local 1357 max_pages_per_mr = ib_dev->attrs.max_mr_size; in query_fast_reg_mode() 1358 do_div(max_pages_per_mr, (1ull << mr_page_shift)); in query_fast_reg_mode() 1359 sess->max_pages_per_mr = in query_fast_reg_mode() 1360 min3(sess->max_pages_per_mr, (u32)max_pages_per_mr, in query_fast_reg_mode() 1456 sess->max_pages_per_mr = max_segments * max_segment_size >> 12; in alloc_sess()
|
D | rtrs-clt.h | 141 u32 max_pages_per_mr; member
|