Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/include/asm-generic/
Dlocal.h47 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
/linux-5.19.10/include/linux/
Dpercpu-refcount.h286 ret = atomic_long_inc_not_zero(&ref->data->count); in percpu_ref_tryget_live_rcu()
Dfs.h977 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)
/linux-5.19.10/kernel/
Dacct.c174 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
/linux-5.19.10/drivers/gpu/drm/vmwgfx/
Dttm_object.c514 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; in get_dma_buf_unless_doomed()
/linux-5.19.10/include/linux/atomic/
Datomic-instrumented.h1850 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() function
/linux-5.19.10/kernel/events/
Dcore.c2089 if (!atomic_long_inc_not_zero(&group_leader->refcount)) in perf_get_aux_event()
6087 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()
12988 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()