Searched defs:item_count (Results 1 - 2 of 2) sorted by relevance

/net/rds/
H A Dib_rdma.c71 atomic_t item_count; /* total # of MRs */ member in struct:rds_ib_mr_pool
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; local
516 item_count = atomic_read(&pool->item_count);
518 return item_count;
677 atomic_sub(nfreed, &pool->item_count);
[all...]
H A Diw_rdma.c66 atomic_t item_count; /* total # of MRs */ member in struct:rds_iw_mr_pool
382 BUG_ON(atomic_read(&pool->item_count));
422 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
425 atomic_dec(&pool->item_count);
459 atomic_dec(&pool->item_count);
542 atomic_sub(nfreed, &pool->item_count);

Completed in 29 milliseconds