Lines Matching defs:item_count
71 atomic_t item_count; /* total # of MRs */
258 WARN_ON(atomic_read(&pool->item_count));
316 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
319 atomic_dec(&pool->item_count);
363 atomic_dec(&pool->item_count);
514 unsigned int item_count;
516 item_count = atomic_read(&pool->item_count);
518 return item_count;
677 atomic_sub(nfreed, &pool->item_count);