Home
last modified time | relevance | path

Searched refs:obj_count (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/staging/zcache/
Dtmem.c118 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()
Dtmem.h74 atomic_t obj_count; member
Dzcache-main.c1589 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()
/linux-3.4.99/drivers/staging/ramster/
Dtmem.c119 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()
Dtmem.h73 atomic_t obj_count; member
Dzcache-main.c2645 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()