Lines Matching refs:nr_buf_used
498 count = min(atomic_read(&q->nr_buf_used), QDIO_MAX_BUFFERS_MASK);
516 if (atomic_sub(count, &q->nr_buf_used) == 0)
525 atomic_sub(count, &q->nr_buf_used);
562 if (!atomic_read(&q->nr_buf_used))
668 count = min(atomic_read(&q->nr_buf_used), QDIO_MAX_BUFFERS_MASK);
683 atomic_sub(count, &q->nr_buf_used);
692 atomic_sub(count, &q->nr_buf_used);
714 return atomic_read(&q->nr_buf_used) == 0;
764 BUG_ON(atomic_read(&q->nr_buf_used) < 0);
778 (atomic_read(&q->nr_buf_used)) > QDIO_IQDIO_POLL_LVL)
1419 used = atomic_add_return(count, &q->nr_buf_used) - count;
1447 used = atomic_add_return(count, &q->nr_buf_used);