Searched refs:obj_count (Results 1 – 6 of 6) sorted by relevance
118 atomic_dec(&pool->obj_count); in tmem_obj_free()119 BUG_ON(atomic_read(&pool->obj_count) < 0); in tmem_obj_free()138 atomic_inc(&pool->obj_count); in tmem_obj_init()765 atomic_set(&pool->obj_count, 0); in tmem_new_pool()
74 atomic_t obj_count; member
1589 if (atomic_read(&pool->obj_count) > 0) in zcache_put_page()1609 if (atomic_read(&pool->obj_count) > 0) in zcache_get_page()1629 if (atomic_read(&pool->obj_count) > 0) in zcache_flush_page()1650 if (atomic_read(&pool->obj_count) > 0) in zcache_flush_object()
119 atomic_dec(&pool->obj_count); in tmem_obj_free()120 BUG_ON(atomic_read(&pool->obj_count) < 0); in tmem_obj_free()139 atomic_inc(&pool->obj_count); in tmem_obj_init()846 atomic_set(&pool->obj_count, 0); in tmem_new_pool()
73 atomic_t obj_count; member
2645 if (atomic_read(&pool->obj_count) > 0) in zcache_put()2669 if (atomic_read(&pool->obj_count) > 0) in zcache_get()2697 if (atomic_read(&pool->obj_count) > 0) in zcache_flush()2718 if (atomic_read(&pool->obj_count) > 0) in zcache_flush_object()