Home
last modified time | relevance | path

Searched refs:e_refcnt (Results 1 – 2 of 2) sorted by relevance

/linux/fs/
H A Dmbcache.c100 atomic_set(&entry->e_refcnt, 2); in mb_cache_entry_create()
148 wait_var_event(&entry->e_refcnt, atomic_read(&entry->e_refcnt) <= 2); in mb_cache_entry_wait_unused()
171 atomic_inc_not_zero(&entry->e_refcnt)) in __entry_find()
233 atomic_inc_not_zero(&entry->e_refcnt)) in mb_cache_entry_get()
267 if (atomic_cmpxchg(&entry->e_refcnt, 2, 0) != 2) in mb_cache_entry_delete_or_get()
314 atomic_cmpxchg(&entry->e_refcnt, 1, 0) != 1) { in mb_cache_shrink()
419 WARN_ON(atomic_read(&entry->e_refcnt) != 1); in mb_cache_destroy()
/linux/include/linux/
H A Dmbcache.h32 atomic_t e_refcnt; member
51 unsigned int cnt = atomic_dec_return(&entry->e_refcnt); in mb_cache_entry_put()
55 wake_up_var(&entry->e_refcnt); in mb_cache_entry_put()