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

/linux-4.1.27/include/asm-generic/
H A Datomic-long.h132 #define atomic_long_inc_not_zero(l) atomic64_inc_not_zero((atomic64_t *)(l)) macro
249 #define atomic_long_inc_not_zero(l) atomic_inc_not_zero((atomic_t *)(l)) macro
H A Dlocal.h46 #define local_inc_not_zero(l) atomic_long_inc_not_zero(&(l)->a)
/linux-4.1.27/include/linux/
H A Dpercpu-refcount.h217 ret = atomic_long_inc_not_zero(&ref->count); percpu_ref_tryget()
251 ret = atomic_long_inc_not_zero(&ref->count); percpu_ref_tryget_live()
H A Dfs.h879 #define get_file_rcu(x) atomic_long_inc_not_zero(&(x)->f_count)
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_object.c555 return atomic_long_inc_not_zero(&dmabuf->file->f_count) != 0L; get_dma_buf_unless_doomed()
/linux-4.1.27/kernel/
H A Dacct.c152 if (!atomic_long_inc_not_zero(&res->count)) { acct_get()
/linux-4.1.27/kernel/events/
H A Dcore.c4507 if (!atomic_long_inc_not_zero(&event->refcount)) { perf_mmap_close()
8637 !atomic_long_inc_not_zero(&parent_event->refcount)) { inherit_event()

Completed in 249 milliseconds