Home
last modified time | relevance | path

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

12

/external/u-boot/include/asm-generic/
Datomic-long.h143 typedef atomic_t atomic_long_t;
148 atomic_t *v = (atomic_t *)l; in atomic_long_read()
155 atomic_t *v = (atomic_t *)l; in atomic_long_set()
162 atomic_t *v = (atomic_t *)l; in atomic_long_inc()
169 atomic_t *v = (atomic_t *)l; in atomic_long_dec()
176 atomic_t *v = (atomic_t *)l; in atomic_long_add()
183 atomic_t *v = (atomic_t *)l; in atomic_long_sub()
191 atomic_t *v = (atomic_t *)l; in atomic_long_sub_and_test()
198 atomic_t *v = (atomic_t *)l; in atomic_long_dec_and_test()
205 atomic_t *v = (atomic_t *)l; in atomic_long_inc_and_test()
[all …]
/external/u-boot/arch/x86/include/asm/
Datomic.h8 typedef struct { volatile int counter; } atomic_t; typedef
23 static inline int atomic_read(const atomic_t *v) in atomic_read()
35 static inline void atomic_set(atomic_t *v, int i) in atomic_set()
47 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
61 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
74 static inline void atomic_inc(atomic_t *v) in atomic_inc()
86 static inline void atomic_dec(atomic_t *v) in atomic_dec()
Dmp.h29 atomic_t barrier;
30 atomic_t cpus_entered;
Dsipi.h69 atomic_t ap_count;
/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/u-boot/arch/powerpc/include/asm/
Datomic.h9 typedef struct { volatile int counter; } atomic_t; typedef
11 typedef struct { int counter; } atomic_t; typedef
22 static __inline__ int atomic_add_return(int a, atomic_t *v) in atomic_add_return()
38 static __inline__ int atomic_sub_return(int a, atomic_t *v) in atomic_sub_return()
54 static __inline__ int atomic_inc_return(atomic_t *v) in atomic_inc_return()
70 static __inline__ int atomic_dec_return(atomic_t *v) in atomic_dec_return()
/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/u-boot/arch/xtensa/include/asm/
Datomic.h11 typedef struct { volatile int counter; } atomic_t; typedef
18 static inline void atomic_add(int i, atomic_t *v) in atomic_add()
27 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub()
36 static inline void atomic_inc(atomic_t *v) in atomic_inc()
45 static inline void atomic_dec(atomic_t *v) in atomic_dec()
/external/u-boot/arch/arm/include/asm/
Datomic.h23 typedef struct { volatile int counter; } atomic_t; typedef
40 static inline void atomic_add(int i, volatile atomic_t *v) in atomic_add()
49 static inline void atomic_sub(int i, volatile atomic_t *v) in atomic_sub()
58 static inline void atomic_inc(volatile atomic_t *v) in atomic_inc()
67 static inline void atomic_dec(volatile atomic_t *v) in atomic_dec()
76 static inline int atomic_dec_and_test(volatile atomic_t *v) in atomic_dec_and_test()
89 static inline int atomic_add_negative(int i, volatile atomic_t *v) in atomic_add_negative()
/external/libdrm/amdgpu/
Damdgpu_internal.h67 atomic_t refcount;
93 atomic_t refcount;
128 atomic_t refcount;
158 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
63 } atomic_t; typedef
87 typedef struct { LIBDRM_ATOMIC_TYPE atomic; } atomic_t; typedef
104 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/u-boot/arch/x86/cpu/
Dmp_init.c56 static inline void barrier_wait(atomic_t *b) in barrier_wait()
63 static inline void release_barrier(atomic_t *b) in release_barrier()
77 static int wait_for_aps(atomic_t *val, int target, int total_delay, in wait_for_aps()
216 static int load_sipi_vector(atomic_t **ap_countp, int num_cpus) in load_sipi_vector()
310 static int start_aps(int ap_count, atomic_t *num_aps) in start_aps()
487 atomic_t *ap_count; in mp_init()
/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/swiftshader/third_party/llvm-7.0/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/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/libdrm/etnaviv/
Detnaviv_priv.h63 atomic_t refcnt;
99 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/swiftshader/third_party/llvm-7.0/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/freedreno/
Dfreedreno_priv.h85 atomic_t refcnt;
166 atomic_t refcnt;
/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/libdrm/tegra/
Dprivate.h48 atomic_t ref;
/external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
Dstr_agp.h144 atomic_t current_memory_agp;
145 atomic_t agp_in_use;
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/include/linux/
Dtypes.h104 } atomic_t; typedef

12