Searched refs:e_refcnt (Results 1 – 2 of 2) sorted by relevance
100 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()315 atomic_cmpxchg(&entry->e_refcnt, 1, 0) != 1) { in mb_cache_shrink()417 WARN_ON(atomic_read(&entry->e_refcnt) != 1); in mb_cache_destroy()
32 atomic_t e_refcnt; member51 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()