Lines Matching refs:max_count
128 droq->max_empty_descs = droq->max_count - droq->max_empty_descs;
147 for (i = 0; i < droq->max_count; i++) {
175 for (i = 0; i < droq->max_count; i++) {
209 lio_dma_free(oct, (droq->max_count * OCT_DROQ_DESC_SIZE),
267 droq->max_count = c_num_descs;
270 desc_ring_size = droq->max_count * OCT_DROQ_DESC_SIZE;
283 droq->max_count);
285 droq->recv_buf_list = vzalloc_node(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE),
288 droq->recv_buf_list = vzalloc(array_size(droq->max_count, OCT_DROQ_RECVBUF_SIZE));
378 idx = incr_index(idx, 1, droq->max_count);
411 droq->max_count);
416 refill_index = incr_index(refill_index, 1, droq->max_count);
443 while (droq->refill_count && (desc_refilled < droq->max_count)) {
479 droq->max_count);
589 droq->max_count);
636 buf_cnt, droq->max_count);
651 droq->max_count);
685 droq->max_count);
793 if (budget > droq->max_count)
794 budget = droq->max_count;