Home
last modified time | relevance | path

Searched refs:atomic_t (Results 1 – 25 of 37) sorted by relevance

12

/external/linux-kselftest/tools/testing/selftests/futex/include/
Datomic.h23 } atomic_t; typedef
36 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg()
48 atomic_inc(atomic_t *addr) in atomic_inc()
60 atomic_dec(atomic_t *addr) in atomic_dec()
73 atomic_set(atomic_t *addr, int newval) in atomic_set()
/external/python/cpython2/Python/
Dthread_atheos.h23 atomic_t count;
53 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_lock()
62 atomic_t prev = atomic_add(&mutex->count, 1); in fastmutex_timedlock()
71 atomic_t prev = atomic_add(&mutex->count, -1); in fastmutex_unlock()
97 static atomic_t thread_count = 0;
104 atomic_t this_thread; in PyThread_start_new_thread()
151 static atomic_t lock_count = 0;
161 atomic_t this_lock; in PyThread_allocate_lock()
/external/libdrm/amdgpu/
Damdgpu_internal.h68 atomic_t refcount;
95 atomic_t refcount;
130 atomic_t refcount;
160 static inline bool update_references(atomic_t *dst, atomic_t *src) in update_references()
/external/ltp/testcases/realtime/include/
Dlibrttest.h93 typedef struct { volatile int counter; } atomic_t; typedef
115 static inline int atomic_add(int i, atomic_t *v) in atomic_add()
128 static inline int atomic_inc(atomic_t *v) in atomic_inc()
136 static inline int atomic_get(atomic_t *v) in atomic_get()
144 static inline void atomic_set(int i, atomic_t *v) in atomic_set()
/external/libdrm/
Dxf86atomic.h43 } atomic_t; typedef
64 } atomic_t; typedef
88 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; typedef
105 static inline int atomic_add_unless(atomic_t *v, int add, int unless) in atomic_add_unless()
/external/ltp/testcases/realtime/stress/pi-tests/
Dlookup_pi_state.c49 atomic_t slave_order_a = { 0 };
50 atomic_t slave_order_b = { 0 };
51 atomic_t slave_order_c = { 0 };
/external/llvm/test/Transforms/InstCombine/
D2009-01-24-EmptyStruct.ll5 %struct.atomic_t = type { i32 }
9 %struct.mutex = type { %struct.atomic_t, %struct.rwlock_t, %struct.list_head }
/external/llvm-project/llvm/test/Transforms/InstCombine/
D2009-01-24-EmptyStruct.ll5 %struct.atomic_t = type { i32 }
9 %struct.mutex = type { %struct.atomic_t, %struct.rwlock_t, %struct.list_head }
/external/libdrm/freedreno/
Dfreedreno_priv.h85 atomic_t refcnt;
130 atomic_t refcnt;
163 atomic_t refcnt;
Dfreedreno_ringbuffer.h87 atomic_t refcnt;
/external/libdrm/etnaviv/
Detnaviv_priv.h63 atomic_t refcnt;
99 atomic_t refcnt;
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dkfree_skb.c34 } atomic_t; typedef
36 atomic_t refs;
/external/llvm/test/CodeGen/PowerPC/
Dpost-ra-ec.ll7 %struct.task_struct.4.16.124 = type { i8*, %struct.atomic_t.2.14.122, %struct.signal_struct.3.15.12…
8 %struct.atomic_t.2.14.122 = type { i32 }
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dpost-ra-ec.ll7 %struct.task_struct.4.16.124 = type { i8*, %struct.atomic_t.2.14.122, %struct.signal_struct.3.15.12…
8 %struct.atomic_t.2.14.122 = type { i32 }
/external/libdrm/tegra/
Dprivate.h47 atomic_t ref;
/external/libdrm/radeon/
Dradeon_cs_gem.c201 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) { in cs_gem_write_reloc()
269 atomic_add((atomic_t *)radeon_gem_get_reloc_in_cs(bo), cs->id); in cs_gem_write_reloc()
450 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
482 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h100 } atomic_t; typedef
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dstr_agp.h144 atomic_t current_memory_agp;
145 atomic_t agp_in_use;
/external/ltp/testcases/realtime/func/sched_football/
Dsched_football.c78 static atomic_t players_ready;
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h63 atomic_t resume_count; /* multiple resumes issue */
/external/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c36 atomic_t waiters_blocked = ATOMIC_INITIALIZER;
37 atomic_t waiters_woken = ATOMIC_INITIALIZER;
/external/libdrm/omap/
Domap_drm.c54 atomic_t refcnt;
77 atomic_t refcnt;
/external/ltp/testcases/realtime/func/async_handler/
Dasync_handler.c60 atomic_t step;
/external/ltp/testcases/kernel/syscalls/utils/
Dinotify.h85 atomic_t count; /* reference count */
/external/libdrm/nouveau/
Dprivate.h84 atomic_t refcnt;

12