Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/include/asm-generic/
Dlocal.h48 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
/linux-6.6.21/include/linux/
Dpercpu-refcount.h286 ret = atomic_long_inc_not_zero(&ref->data->count); in percpu_ref_tryget_live_rcu()
Dcred.h214 if (!atomic_long_inc_not_zero(&nonconst_cred->usage)) in get_cred_rcu()
Dfs.h1047 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)
/linux-6.6.21/kernel/
Dacct.c174 if (!atomic_long_inc_not_zero(&res->count)) { in acct_get()
/linux-6.6.21/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.6.21/include/linux/atomic/
Datomic-instrumented.h4650 atomic_long_inc_not_zero(atomic_long_t *v) in atomic_long_inc_not_zero() function
/linux-6.6.21/kernel/events/
Dcore.c2128 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()
6366 if (!atomic_long_inc_not_zero(&event->refcount)) { in perf_mmap_close()
13340 !atomic_long_inc_not_zero(&parent_event->refcount)) { in inherit_event()