Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/futex/include/
Datomic.h27 } atomic_t; typedef
40 atomic_cmpxchg(atomic_t *addr, int oldval, int newval) in atomic_cmpxchg()
52 atomic_inc(atomic_t *addr) in atomic_inc()
64 atomic_dec(atomic_t *addr) in atomic_dec()
77 atomic_set(atomic_t *addr, int newval) in atomic_set()
/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/amdgpu/
Damdgpu_internal.h72 atomic_t refcount;
93 atomic_t refcount;
150 static inline bool update_references(atomic_t *dst, atomic_t *src) in update_references()
/external/libdrm/
Dxf86atomic.h47 } atomic_t; typedef
67 } atomic_t; typedef
91 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; typedef
108 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/swiftshader/third_party/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/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.h73 atomic_t refcnt;
142 atomic_t refcnt;
/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/libdrm/tegra/
Dprivate.h48 atomic_t ref;
/external/libdrm/radeon/
Dradeon_cs_gem.c204 if ((atomic_read((atomic_t *)radeon_gem_get_reloc_in_cs(bo)) & cs->id)) { in cs_gem_write_reloc()
272 atomic_add((atomic_t *)radeon_gem_get_reloc_in_cs(bo), cs->id); in cs_gem_write_reloc()
453 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_emit()
485 … atomic_dec((atomic_t *)radeon_gem_get_reloc_in_cs((struct radeon_bo*)csg->relocs_bo[i]), cs->id); in cs_gem_erase()
/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/linux-kselftest/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c39 atomic_t waiters_blocked = ATOMIC_INITIALIZER;
40 atomic_t waiters_woken = ATOMIC_INITIALIZER;
Dfutex_requeue_pi_signal_restart.c39 atomic_t requeued = ATOMIC_INITIALIZER;
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h63 atomic_t resume_count; /* multiple resumes issue */
/external/libdrm/omap/
Domap_drm.c58 atomic_t refcnt;
81 atomic_t refcnt;
/external/ltp/testcases/realtime/func/async_handler/
Dasync_handler.c60 atomic_t step;
Dasync_handler_tsc.c68 atomic_t step;
/external/libdrm/nouveau/
Dprivate.h84 atomic_t refcnt;
/external/ltp/testcases/kernel/syscalls/utils/
Dinotify.h85 atomic_t count; /* reference count */
/external/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c63 static atomic_t busy_threads_started;
/external/ltp/testcases/realtime/func/pthread_kill_latency/
Dpthread_kill_latency.c70 atomic_t flag;
/external/ltp/testcases/realtime/func/pi-tests/
Dtestpi-7.c188 static atomic_t m_flag = { 0 }; in med_prio_thread()
/external/ltp/testcases/kernel/device-drivers/misc_modules/per_cpu_atomic_operations_vs_interrupt_disabling_module/
Dtest-cmpxchg-nolock.c135 atomic_t val; in do_test_sync_inc()

12