QDIO_MAX_BUFFERS_PER_Q 18 arch/s390/include/asm/qdio.h #define QDIO_MAX_BUFFERS_MASK (QDIO_MAX_BUFFERS_PER_Q - 1) QDIO_MAX_BUFFERS_PER_Q 173 arch/s390/include/asm/qdio.h struct slibe slibe[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 238 arch/s390/include/asm/qdio.h struct sl_element element[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 246 arch/s390/include/asm/qdio.h u8 val[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 244 drivers/s390/cio/qdio.h struct qdio_buffer *sbal[QDIO_MAX_BUFFERS_PER_Q] ____cacheline_aligned; QDIO_MAX_BUFFERS_PER_Q 138 drivers/s390/cio/qdio_debug.c for (i = 0; i < QDIO_MAX_BUFFERS_PER_Q; i++) { QDIO_MAX_BUFFERS_PER_Q 278 drivers/s390/cio/qdio_main.c QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 281 drivers/s390/cio/qdio_main.c QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 1463 drivers/s390/cio/qdio_main.c if ((bufnr >= start && bufnr <= QDIO_MAX_BUFFERS_PER_Q) || QDIO_MAX_BUFFERS_PER_Q 1488 drivers/s390/cio/qdio_main.c if (count == QDIO_MAX_BUFFERS_PER_Q) { QDIO_MAX_BUFFERS_PER_Q 1540 drivers/s390/cio/qdio_main.c if (used == QDIO_MAX_BUFFERS_PER_Q) QDIO_MAX_BUFFERS_PER_Q 1561 drivers/s390/cio/qdio_main.c } else if (count < QDIO_MAX_BUFFERS_PER_Q && QDIO_MAX_BUFFERS_PER_Q 1598 drivers/s390/cio/qdio_main.c if (bufnr >= QDIO_MAX_BUFFERS_PER_Q || count > QDIO_MAX_BUFFERS_PER_Q) QDIO_MAX_BUFFERS_PER_Q 123 drivers/s390/cio/qdio_setup.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; j++) QDIO_MAX_BUFFERS_PER_Q 125 drivers/s390/cio/qdio_setup.c input_slib_elements[i * QDIO_MAX_BUFFERS_PER_Q + j]; QDIO_MAX_BUFFERS_PER_Q 132 drivers/s390/cio/qdio_setup.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; j++) QDIO_MAX_BUFFERS_PER_Q 134 drivers/s390/cio/qdio_setup.c output_slib_elements[i * QDIO_MAX_BUFFERS_PER_Q + j]; QDIO_MAX_BUFFERS_PER_Q 196 drivers/s390/cio/qdio_setup.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; j++) QDIO_MAX_BUFFERS_PER_Q 210 drivers/s390/cio/qdio_setup.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; j++) QDIO_MAX_BUFFERS_PER_Q 233 drivers/s390/cio/qdio_setup.c input_sbal_array += QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 249 drivers/s390/cio/qdio_setup.c output_sbal_state_array += QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 253 drivers/s390/cio/qdio_setup.c output_sbal_array += QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 378 drivers/s390/cio/qdio_setup.c for (n = 0; n < QDIO_MAX_BUFFERS_PER_Q; ++n) { QDIO_MAX_BUFFERS_PER_Q 541 drivers/s390/cio/qdio_setup.c outq->aobs = kcalloc(QDIO_MAX_BUFFERS_PER_Q, sizeof(struct qaob *), QDIO_MAX_BUFFERS_PER_Q 429 drivers/s390/net/qeth_core.h struct qdio_buffer *qdio_bufs[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 430 drivers/s390/net/qeth_core.h struct qeth_qdio_buffer bufs[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 514 drivers/s390/net/qeth_core.h struct qdio_buffer *qdio_bufs[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 515 drivers/s390/net/qeth_core.h struct qeth_qdio_out_buffer *bufs[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 553 drivers/s390/net/qeth_core.h return atomic_read(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 267 drivers/s390/net/qeth_core_main.c qdio_free_buffers(q->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 279 drivers/s390/net/qeth_core_main.c if (qdio_alloc_buffers(q->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q)) { QDIO_MAX_BUFFERS_PER_Q 284 drivers/s390/net/qeth_core_main.c for (i = 0; i < QDIO_MAX_BUFFERS_PER_Q; ++i) QDIO_MAX_BUFFERS_PER_Q 298 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 330 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q, QDIO_MAX_BUFFERS_PER_Q 340 drivers/s390/net/qeth_core_main.c outbuf_states += QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 1163 drivers/s390/net/qeth_core_main.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; ++j) { QDIO_MAX_BUFFERS_PER_Q 2302 drivers/s390/net/qeth_core_main.c qdio_free_buffers(q->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 2313 drivers/s390/net/qeth_core_main.c if (qdio_alloc_buffers(q->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q)) { QDIO_MAX_BUFFERS_PER_Q 2362 drivers/s390/net/qeth_core_main.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; ++j) { QDIO_MAX_BUFFERS_PER_Q 2406 drivers/s390/net/qeth_core_main.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; ++j) { QDIO_MAX_BUFFERS_PER_Q 2671 drivers/s390/net/qeth_core_main.c qdio_reset_buffers(card->qdio.in_q->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 2701 drivers/s390/net/qeth_core_main.c qdio_reset_buffers(queue->qdio_bufs, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 3135 drivers/s390/net/qeth_core_main.c (queue->next_buf_to_init + QDIO_MAX_BUFFERS_PER_Q - index); QDIO_MAX_BUFFERS_PER_Q 3141 drivers/s390/net/qeth_core_main.c &queue->bufs[i % QDIO_MAX_BUFFERS_PER_Q])) { QDIO_MAX_BUFFERS_PER_Q 3184 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3232 drivers/s390/net/qeth_core_main.c (queue->next_buf_to_fill + 1) % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3286 drivers/s390/net/qeth_core_main.c int bidx = i % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3448 drivers/s390/net/qeth_core_main.c int bidx = i % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3471 drivers/s390/net/qeth_core_main.c + count) % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3511 drivers/s390/net/qeth_core_main.c int bidx = i % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3859 drivers/s390/net/qeth_core_main.c atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { QDIO_MAX_BUFFERS_PER_Q 3928 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 3945 drivers/s390/net/qeth_core_main.c atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { QDIO_MAX_BUFFERS_PER_Q 3962 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 4721 drivers/s390/net/qeth_core_main.c int offset = QDIO_MAX_BUFFERS_PER_Q * QDIO_MAX_BUFFERS_PER_Q 4724 drivers/s390/net/qeth_core_main.c for (i = 0; i < QDIO_MAX_BUFFERS_PER_Q; i++) QDIO_MAX_BUFFERS_PER_Q 4753 drivers/s390/net/qeth_core_main.c in_sbal_ptrs = kcalloc(card->qdio.no_in_queues * QDIO_MAX_BUFFERS_PER_Q, QDIO_MAX_BUFFERS_PER_Q 4761 drivers/s390/net/qeth_core_main.c for (i = 0; i < QDIO_MAX_BUFFERS_PER_Q; i++) QDIO_MAX_BUFFERS_PER_Q 4776 drivers/s390/net/qeth_core_main.c kcalloc(card->qdio.no_out_queues * QDIO_MAX_BUFFERS_PER_Q, QDIO_MAX_BUFFERS_PER_Q 4785 drivers/s390/net/qeth_core_main.c for (j = 0; j < QDIO_MAX_BUFFERS_PER_Q; j++, k++) QDIO_MAX_BUFFERS_PER_Q 5192 drivers/s390/net/qeth_core_main.c QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 5273 drivers/s390/net/qeth_core_main.c if (work_done >= QDIO_MAX_BUFFERS_PER_Q) { QDIO_MAX_BUFFERS_PER_Q 113 drivers/s390/net/qeth_ethtool.c param->rx_max_pending = QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 116 drivers/s390/net/qeth_ethtool.c param->tx_max_pending = QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 121 drivers/s390/net/qeth_ethtool.c param->tx_pending = QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 44 drivers/s390/scsi/zfcp_qdio.c sbal_idx = i % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 57 drivers/s390/scsi/zfcp_qdio.c used = QDIO_MAX_BUFFERS_PER_Q - atomic_read(&qdio->req_q_free); QDIO_MAX_BUFFERS_PER_Q 108 drivers/s390/scsi/zfcp_qdio.c QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 122 drivers/s390/scsi/zfcp_qdio.c sbal_idx = (idx + sbal_no) % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 153 drivers/s390/scsi/zfcp_qdio.c q_req->sbal_last %= QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 275 drivers/s390/scsi/zfcp_qdio.c qdio->req_q_idx %= QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 300 drivers/s390/scsi/zfcp_qdio.c QDIO_MAX_BUFFERS_PER_Q - ZFCP_QDIO_MAX_SBALS_PER_REQ * 2; QDIO_MAX_BUFFERS_PER_Q 314 drivers/s390/scsi/zfcp_qdio.c ret = qdio_alloc_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 318 drivers/s390/scsi/zfcp_qdio.c ret = qdio_alloc_buffers(qdio->res_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 332 drivers/s390/scsi/zfcp_qdio.c qdio_free_buffers(qdio->res_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 334 drivers/s390/scsi/zfcp_qdio.c qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 361 drivers/s390/scsi/zfcp_qdio.c if (count < QDIO_MAX_BUFFERS_PER_Q) { QDIO_MAX_BUFFERS_PER_Q 362 drivers/s390/scsi/zfcp_qdio.c idx = (qdio->req_q_idx + count) % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 363 drivers/s390/scsi/zfcp_qdio.c count = QDIO_MAX_BUFFERS_PER_Q - count; QDIO_MAX_BUFFERS_PER_Q 416 drivers/s390/scsi/zfcp_qdio.c for (cc = 0; cc < QDIO_MAX_BUFFERS_PER_Q; cc++) { QDIO_MAX_BUFFERS_PER_Q 424 drivers/s390/scsi/zfcp_qdio.c if (do_QDIO(cdev, QDIO_FLAG_SYNC_INPUT, 0, 0, QDIO_MAX_BUFFERS_PER_Q)) QDIO_MAX_BUFFERS_PER_Q 429 drivers/s390/scsi/zfcp_qdio.c atomic_set(&qdio->req_q_free, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 455 drivers/s390/scsi/zfcp_qdio.c qdio_free_buffers(qdio->req_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 456 drivers/s390/scsi/zfcp_qdio.c qdio_free_buffers(qdio->res_q, QDIO_MAX_BUFFERS_PER_Q); QDIO_MAX_BUFFERS_PER_Q 37 drivers/s390/scsi/zfcp_qdio.h struct qdio_buffer *res_q[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 38 drivers/s390/scsi/zfcp_qdio.h struct qdio_buffer *req_q[QDIO_MAX_BUFFERS_PER_Q]; QDIO_MAX_BUFFERS_PER_Q 122 drivers/s390/scsi/zfcp_qdio.h % QDIO_MAX_BUFFERS_PER_Q; QDIO_MAX_BUFFERS_PER_Q 212 drivers/s390/scsi/zfcp_qdio.h QDIO_MAX_BUFFERS_PER_Q;