Searched refs:item_count (Results 1 – 3 of 3) sorted by relevance
283 unsigned int item_count; in rds_ib_flush_goal() local285 item_count = atomic_read(&pool->item_count); in rds_ib_flush_goal()287 return item_count; in rds_ib_flush_goal()430 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()450 if (atomic_inc_return(&pool->item_count) <= pool->max_items) in rds_ib_try_reuse_ibmr()453 atomic_dec(&pool->item_count); in rds_ib_try_reuse_ibmr()638 WARN_ON(atomic_read(&pool->item_count)); in rds_ib_destroy_mr_pool()
94 atomic_t item_count; /* total # of MRs */ member
92 if (atomic_read(&pool->item_count) > pool->max_items_soft) in rds_ib_alloc_frmr()102 atomic_dec(&pool->item_count); in rds_ib_alloc_frmr()