Searched refs:atomic_long_inc_not_zero (Results 1 – 8 of 8) sorted by relevance
217 ret = atomic_long_inc_not_zero(&ref->count); in percpu_ref_tryget()251 ret = atomic_long_inc_not_zero(&ref->count); in percpu_ref_tryget_live()
889 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)
79 file structure. This is avoided using atomic_long_inc_not_zero()85 if (atomic_long_inc_not_zero(&file->f_count))95 atomic_long_inc_not_zero() detects if refcounts is already zero or
46 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
187 #define atomic_long_inc_not_zero(l) \ macro
152 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
555 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
4673 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()9049 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()