Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv.c576 for (i = 0; i < sess->mrs_num; i++) { in unmap_cont_bufs()
594 int i, mri, err, mrs_num; in map_cont_bufs() local
607 mrs_num = srv->queue_depth; in map_cont_bufs()
611 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
612 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
615 sess->mrs = kcalloc(mrs_num, sizeof(*sess->mrs), GFP_KERNEL); in map_cont_bufs()
619 sess->mrs_num = mrs_num; in map_cont_bufs()
621 for (mri = 0; mri < mrs_num; mri++) { in map_cont_bufs()
800 rwr = kcalloc(sess->mrs_num, sizeof(*rwr), GFP_KERNEL); in process_info_req()
806 tx_sz += sizeof(rsp->desc[0]) * sess->mrs_num; in process_info_req()
[all …]
Drtrs-srv.h87 unsigned int mrs_num; member