Searched refs:used_buffers (Results 1 – 2 of 2) sorted by relevance
507 atomic_t used_buffers; member537 return atomic_read(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q; in qeth_out_queue_is_full()542 return atomic_read(&queue->used_buffers) == 0; in qeth_out_queue_is_empty()
3030 atomic_set(&queue->used_buffers, 0); in qeth_init_qdio_queues()3567 if (atomic_read(&queue->used_buffers) in qeth_switch_to_packing_if_needed()3586 if (atomic_read(&queue->used_buffers) in qeth_switch_to_nonpacking_if_needed()3641 if ((atomic_read(&queue->used_buffers) >= in qeth_flush_buffers()3684 atomic_read(&queue->used_buffers) >= 32) { in qeth_flush_buffers()3721 if ((atomic_read(&queue->used_buffers) <= QETH_LOW_WATERMARK_PACK) || in qeth_check_outbound_queue()4185 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in __qeth_xmit()4269 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in qeth_do_send_packet()5996 atomic_sub(completed, &queue->used_buffers); in qeth_tx_poll()