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()
2990 atomic_set(&queue->used_buffers, 0); in qeth_init_qdio_queues()3527 if (atomic_read(&queue->used_buffers) in qeth_switch_to_packing_if_needed()3546 if (atomic_read(&queue->used_buffers) in qeth_switch_to_nonpacking_if_needed()3601 if ((atomic_read(&queue->used_buffers) >= in qeth_flush_buffers()3644 atomic_read(&queue->used_buffers) >= 32) { in qeth_flush_buffers()3681 if ((atomic_read(&queue->used_buffers) <= QETH_LOW_WATERMARK_PACK) || in qeth_check_outbound_queue()4158 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in __qeth_xmit()4242 atomic_inc_return(&queue->used_buffers) >= QDIO_MAX_BUFFERS_PER_Q) { in qeth_do_send_packet()5969 atomic_sub(completed, &queue->used_buffers); in qeth_tx_poll()