Lines Matching refs:queue_depth

71 	size_t max_depth = clt->queue_depth;
499 if (WARN_ON(msg_id >= clt_path->queue_depth))
553 if (WARN_ON(buf_id >= clt_path->queue_depth))
725 q_size = clt_path->queue_depth;
1323 for (i = 0; i < clt_path->queue_depth; ++i) {
1349 for (i = 0; i < clt_path->queue_depth; ++i) {
1365 clt_path->reqs = kcalloc(clt_path->queue_depth,
1371 for (i = 0; i < clt_path->queue_depth; ++i) {
1411 clt->permits_map = bitmap_zalloc(clt->queue_depth, GFP_KERNEL);
1416 clt->permits = kcalloc(clt->queue_depth, permit_size(clt), GFP_KERNEL);
1421 chunk_bits = ilog2(clt->queue_depth - 1) + 1;
1422 for (i = 0; i < clt->queue_depth; i++) {
1443 bitmap_empty(clt->permits_map, clt->queue_depth));
1689 if (WARN_ON(!clt_path->queue_depth))
1697 clt_path->queue_depth * 4 + 1);
1699 clt_path->queue_depth * 3 + 1);
1825 u16 version, queue_depth;
1852 queue_depth = le16_to_cpu(msg->queue_depth);
1854 if (clt_path->queue_depth > 0 && queue_depth != clt_path->queue_depth) {
1867 clt_path->rbufs = kcalloc(queue_depth,
1873 clt_path->queue_depth = queue_depth;
1874 clt_path->s.signal_interval = min_not_zero(queue_depth,
1890 clt->queue_depth = clt_path->queue_depth;
2404 if (!sg_cnt || (clt_path->queue_depth % sg_cnt)) {
2423 for (sgi = 0, i = 0; sgi < sg_cnt && i < clt_path->queue_depth; sgi++) {
2440 for ( ; len && i < clt_path->queue_depth; i++) {
2449 if (sgi != sg_cnt || i != clt_path->queue_depth) {
2454 if (total_len != clt_path->chunk_size * clt_path->queue_depth) {
2528 rx_sz += sizeof(struct rtrs_sg_desc) * clt_path->queue_depth;
3079 attr->queue_depth = clt->queue_depth;