Searched refs:chunks_per_mr (Results 1 – 1 of 1) sorted by relevance
575 int chunks_per_mr = 1; in map_cont_bufs() local590 chunks_per_mr = 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()607 chunks = chunks_per_mr * srv_path->mrs_num; in map_cont_bufs()609 chunks_per_mr = min_t(int, chunks_per_mr, in map_cont_bufs()612 err = sg_alloc_table(sgt, chunks_per_mr, GFP_KERNEL); in map_cont_bufs()616 for_each_sg(sgt->sgl, s, chunks_per_mr, i) in map_cont_bufs()