Lines Matching refs:mrs_num
553 for (i = 0; i < srv_path->mrs_num; i++) { in unmap_cont_bufs()
573 int i, err, mrs_num; in map_cont_bufs() local
588 mrs_num = srv->queue_depth; in map_cont_bufs()
592 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
593 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
596 srv_path->mrs = kcalloc(mrs_num, sizeof(*srv_path->mrs), GFP_KERNEL); in map_cont_bufs()
600 for (srv_path->mrs_num = 0; srv_path->mrs_num < mrs_num; in map_cont_bufs()
601 srv_path->mrs_num++) { in map_cont_bufs()
602 struct rtrs_srv_mr *srv_mr = &srv_path->mrs[srv_path->mrs_num]; in map_cont_bufs()
607 chunks = chunks_per_mr * srv_path->mrs_num; in map_cont_bufs()
824 rwr = kcalloc(srv_path->mrs_num, sizeof(*rwr), GFP_KERNEL); in process_info_req()
829 tx_sz += sizeof(rsp->desc[0]) * srv_path->mrs_num; in process_info_req()
839 rsp->sg_cnt = cpu_to_le16(srv_path->mrs_num); in process_info_req()
841 for (mri = 0; mri < srv_path->mrs_num; mri++) { in process_info_req()