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()
2944 atomic_set(&queue->used_buffers, 0); in qeth_init_qdio_queues()3481 if (atomic_read(&queue->used_buffers) in qeth_switch_to_packing_if_needed()3500 if (atomic_read(&queue->used_buffers) in qeth_switch_to_nonpacking_if_needed()3555 if ((atomic_read(&queue->used_buffers) >= in qeth_flush_buffers()3598 atomic_read(&queue->used_buffers) >= 32) { in qeth_flush_buffers()3635 if ((atomic_read(&queue->used_buffers) <= QETH_LOW_WATERMARK_PACK) || in qeth_check_outbound_queue()4112 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in __qeth_xmit()4196 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in qeth_do_send_packet()6043 atomic_sub(completed, &queue->used_buffers); in qeth_tx_poll()