Home
last modified time | relevance | path

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

/Linux-v5.10/Documentation/filesystems/
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
/Linux-v5.10/include/asm-generic/
Dlocal.h47 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->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
/Linux-v5.10/include/linux/
Dpercpu-refcount.h295 ret = atomic_long_inc_not_zero(&ref->data->count); in percpu_ref_tryget_live()
/Linux-v5.10/kernel/
Dacct.c155 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dttm_object.c584 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
/Linux-v5.10/kernel/events/
Dcore.c2116 if (!atomic_long_inc_not_zero(&group_leader->refcount)) in perf_get_aux_event()
5948 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()
12566 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()