Home
last modified time | relevance | path

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

/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs-srv.c553 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()
[all …]
H A Drtrs-srv.h86 unsigned int mrs_num; member