Lines Matching refs:queue_depth
152 for (i = 0; i < srv->queue_depth; i++) in rtrs_srv_free_ops_ids()
171 sess->ops_ids = kcalloc(srv->queue_depth, sizeof(*sess->ops_ids), in rtrs_srv_alloc_ops_ids()
176 for (i = 0; i < srv->queue_depth; ++i) { in rtrs_srv_alloc_ops_ids()
302 flags = (atomic_inc_return(&id->con->wr_cnt) % srv->queue_depth) ? in rdma_write_sg()
429 flags = (atomic_inc_return(&con->wr_cnt) % srv->queue_depth) ? in send_io_resp_imm()
613 mrs_num = srv->queue_depth; in map_cont_bufs()
617 mrs_num = DIV_ROUND_UP(srv->queue_depth, chunks_per_mr); in map_cont_bufs()
618 chunks_per_mr = DIV_ROUND_UP(srv->queue_depth, mrs_num); in map_cont_bufs()
637 srv->queue_depth - chunks); in map_cont_bufs()
704 chunk_bits = ilog2(srv->queue_depth - 1) + 1; in map_cont_bufs()
967 q_size = srv->queue_depth; in post_recv_sess()
1223 if (unlikely(msg_id >= srv->queue_depth || in rtrs_srv_rdma_done()
1261 atomic_add(srv->queue_depth, &con->sq_wr_avail); in rtrs_srv_rdma_done()
1305 return srv->queue_depth; in rtrs_srv_get_queue_depth()
1339 for (i = 0; i < srv->queue_depth; i++) in free_srv()
1380 srv->queue_depth = sess_queue_depth; in get_or_create_srv()
1385 srv->chunks = kcalloc(srv->queue_depth, sizeof(*srv->chunks), in get_or_create_srv()
1390 for (i = 0; i < srv->queue_depth; i++) { in get_or_create_srv()
1562 .queue_depth = cpu_to_le16(srv->queue_depth), in rtrs_rdma_do_accept()
1653 srv->queue_depth * (1 + 4) + 1); in create_con()
1657 srv->queue_depth * (1 + 2) + 1); in create_con()
1659 max_recv_wr = srv->queue_depth + 1; in create_con()
1732 sess->dma_addr = kcalloc(srv->queue_depth, sizeof(*sess->dma_addr), in __alloc_sess()