Searched refs:e_refcnt (Results 1 – 2 of 2) sorted by relevance
99 atomic_set(&entry->e_refcnt, 2); in mb_cache_entry_create()147 wait_var_event(&entry->e_refcnt, atomic_read(&entry->e_refcnt) <= 2); in mb_cache_entry_wait_unused()170 atomic_inc_not_zero(&entry->e_refcnt)) in __entry_find()232 atomic_inc_not_zero(&entry->e_refcnt)) in mb_cache_entry_get()268 atomic_dec(&entry->e_refcnt); in mb_cache_entry_delete()303 if (atomic_cmpxchg(&entry->e_refcnt, 2, 0) != 2) in mb_cache_entry_delete_or_get()351 atomic_cmpxchg(&entry->e_refcnt, 1, 0) != 1) { in mb_cache_shrink()453 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()