Home
last modified time | relevance | path

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

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