Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/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
/OK3568_Linux_fs/kernel/include/asm-generic/
H A Dlocal.h47 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
H A Datomic-long.h495 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() function
989 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() function
/OK3568_Linux_fs/kernel/include/linux/
H A Dpercpu-refcount.h295 ret = atomic_long_inc_not_zero(&ref->data->count); in percpu_ref_tryget_live()
/OK3568_Linux_fs/kernel/kernel/
H A Dacct.c155 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c584 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c2117 if (!atomic_long_inc_not_zero(&group_leader->refcount)) in perf_get_aux_event()
6016 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()
12677 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()