Home
last modified time | relevance | path

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

/net/rds/
Dib_rdma.c283 unsigned int item_count; in rds_ib_flush_goal() local
285 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()
Dib_mr.h94 atomic_t item_count; /* total # of MRs */ member
Dib_frmr.c92 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()