Home
last modified time | relevance | path

Searched refs:atomic_long_inc_not_zero (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/Documentation/filesystems/
H A Dfiles.rst83 file structure. This is avoided using atomic_long_inc_not_zero()
89 if (atomic_long_inc_not_zero(&file->f_count))
99 atomic_long_inc_not_zero() detects if refcounts is already zero or
/openbmc/u-boot/include/asm-generic/
H A Datomic-long.h133 #define atomic_long_inc_not_zero(l) atomic64_inc_not_zero((atomic64_t *)(l)) macro
252 #define atomic_long_inc_not_zero(l) atomic_inc_not_zero((atomic_t *)(l)) macro
/openbmc/linux/include/asm-generic/
H A Dlocal.h48 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
/openbmc/linux/include/linux/
H A Dpercpu-refcount.h286 ret = atomic_long_inc_not_zero(&ref->data->count); in percpu_ref_tryget_live_rcu()
H A Dcred.h214 if (!atomic_long_inc_not_zero(&nonconst_cred->usage)) in get_cred_rcu()
H A Dfs.h1047 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c478 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
/openbmc/linux/kernel/
H A Dacct.c176 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
/openbmc/linux/fs/
H A Deventpoll.c903 if (!atomic_long_inc_not_zero(&file->f_count)) in epi_fget()
/openbmc/linux/include/linux/atomic/
H A Datomic-instrumented.h4650 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() function
/openbmc/linux/kernel/events/
H A Dcore.c2133 if (!atomic_long_inc_not_zero(&group_leader->refcount)) in perf_get_aux_event()
6417 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()
13413 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()