Lines Matching refs:queue_depth
71 size_t max_depth = clt->queue_depth; in __rtrs_get_permit()
499 if (WARN_ON(msg_id >= clt_path->queue_depth)) in process_io_rsp()
553 if (WARN_ON(buf_id >= clt_path->queue_depth)) in rtrs_clt_rkey_rsp_done()
725 q_size = clt_path->queue_depth; in post_recv_path()
1323 for (i = 0; i < clt_path->queue_depth; ++i) { in fail_all_outstanding_reqs()
1349 for (i = 0; i < clt_path->queue_depth; ++i) { in free_path_reqs()
1365 clt_path->reqs = kcalloc(clt_path->queue_depth, in alloc_path_reqs()
1371 for (i = 0; i < clt_path->queue_depth; ++i) { in alloc_path_reqs()
1411 clt->permits_map = bitmap_zalloc(clt->queue_depth, GFP_KERNEL); in alloc_permits()
1416 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL); in alloc_permits()
1421 chunk_bits = ilog2(clt->queue_depth - 1) + 1; in alloc_permits()
1422 for (i = 0; i < clt->queue_depth; i++) { in alloc_permits()
1443 bitmap_empty(clt->permits_map, clt->queue_depth)); in free_permits()
1689 if (WARN_ON(!clt_path->queue_depth)) in create_con_cq_qp()
1697 clt_path->queue_depth * 3 + 1); in create_con_cq_qp()
1699 clt_path->queue_depth * 3 + 1); in create_con_cq_qp()
1825 u16 version, queue_depth; in rtrs_rdma_conn_established() local
1852 queue_depth = le16_to_cpu(msg->queue_depth); in rtrs_rdma_conn_established()
1854 if (clt_path->queue_depth > 0 && queue_depth != clt_path->queue_depth) { in rtrs_rdma_conn_established()
1867 clt_path->rbufs = kcalloc(queue_depth, in rtrs_rdma_conn_established()
1873 clt_path->queue_depth = queue_depth; in rtrs_rdma_conn_established()
1874 clt_path->s.signal_interval = min_not_zero(queue_depth, in rtrs_rdma_conn_established()
1890 clt->queue_depth = clt_path->queue_depth; in rtrs_rdma_conn_established()
2406 if (!sg_cnt || (clt_path->queue_depth % sg_cnt)) { in process_info_rsp()
2425 for (sgi = 0, i = 0; sgi < sg_cnt && i < clt_path->queue_depth; sgi++) { in process_info_rsp()
2442 for ( ; len && i < clt_path->queue_depth; i++) { in process_info_rsp()
2451 if (sgi != sg_cnt || i != clt_path->queue_depth) { in process_info_rsp()
2456 if (total_len != clt_path->chunk_size * clt_path->queue_depth) { in process_info_rsp()
2530 rx_sz += sizeof(struct rtrs_sg_desc) * clt_path->queue_depth; in rtrs_send_path_info()
3080 attr->queue_depth = clt->queue_depth; in rtrs_clt_query()