Home
last modified time | relevance | path

Searched refs:mrs_num (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c554 for (i = 0; i < srv_path->mrs_num; i++) { in unmap_cont_bufs()
571 int i, mri, err, mrs_num; in map_cont_bufs() local
584 mrs_num = srv->queue_depth; in map_cont_bufs()
588 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
589 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
592 srv_path->mrs = kcalloc(mrs_num, sizeof(*srv_path->mrs), GFP_KERNEL); in map_cont_bufs()
596 srv_path->mrs_num = mrs_num; in map_cont_bufs()
598 for (mri = 0; mri < mrs_num; mri++) { in map_cont_bufs()
822 rwr = kcalloc(srv_path->mrs_num, sizeof(*rwr), GFP_KERNEL); in process_info_req()
827 tx_sz += sizeof(rsp->desc[0]) * srv_path->mrs_num; in process_info_req()
[all …]
Drtrs-srv.h85 unsigned int mrs_num; member