Home
last modified time | relevance | path

Searched refs:item_count (Results 1 – 4 of 4) sorted by relevance

/net/rds/
Dib_rdma.c279 unsigned int item_count; in rds_ib_flush_goal() local
281 item_count = atomic_read(&pool->item_count); in rds_ib_flush_goal()
283 return item_count; in rds_ib_flush_goal()
432 atomic_sub(nfreed, &pool->item_count); in rds_ib_flush_mr_pool()
452 if (atomic_inc_return(&pool->item_count) <= pool->max_items) in rds_ib_try_reuse_ibmr()
455 atomic_dec(&pool->item_count); in rds_ib_try_reuse_ibmr()
578 WARN_ON(atomic_read(&pool->item_count)); in rds_ib_destroy_mr_pool()
Dib_mr.h93 atomic_t item_count; /* total # of MRs */ member
Dib_frmr.c74 if (atomic_read(&pool->item_count) > pool->max_items_soft) in rds_ib_alloc_frmr()
82 atomic_dec(&pool->item_count); in rds_ib_alloc_frmr()
Dib_fmr.c93 atomic_dec(&pool->item_count); in rds_ib_alloc_fmr()