Home
last modified time | relevance | path

Searched refs:a_fetch_add (Results 1 - 16 of 16) sorted by relevance

/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Datomic.h44 #ifndef a_fetch_add
45 #define a_fetch_add a_fetch_add macro
46 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
117 #ifndef a_fetch_add
118 #define a_fetch_add a_fetch_add macro
119 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
169 a_fetch_add(p, 1); in a_inc()
177 a_fetch_add( in a_dec()
[all...]
/third_party/musl/porting/liteos_m/user/src/internal/
H A Datomic.h44 #ifndef a_fetch_add
45 #define a_fetch_add a_fetch_add macro
46 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
117 #ifndef a_fetch_add
118 #define a_fetch_add a_fetch_add macro
119 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
169 a_fetch_add(p, 1); in a_inc()
177 a_fetch_add( in a_dec()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Datomic.h44 #ifndef a_fetch_add
45 #define a_fetch_add a_fetch_add macro
46 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
117 #ifndef a_fetch_add
118 #define a_fetch_add a_fetch_add macro
119 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
169 a_fetch_add(p, 1); in a_inc()
177 a_fetch_add( in a_dec()
[all...]
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Datomic.h44 #ifndef a_fetch_add
45 #define a_fetch_add a_fetch_add macro
46 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
117 #ifndef a_fetch_add
118 #define a_fetch_add a_fetch_add macro
119 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
169 a_fetch_add(p, 1); in a_inc()
177 a_fetch_add( in a_dec()
[all...]
/third_party/musl/src/internal/
H A Datomic.h44 #ifndef a_fetch_add
45 #define a_fetch_add a_fetch_add macro
46 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
117 #ifndef a_fetch_add
118 #define a_fetch_add a_fetch_add macro
119 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
169 a_fetch_add(p, 1); in a_inc()
177 a_fetch_add( in a_dec()
[all...]
/third_party/musl/arch/microblaze/
H A Datomic_arch.h37 #define a_fetch_add a_fetch_add macro
38 static inline int a_fetch_add(volatile int *x, int v) in a_fetch_add() function
/third_party/musl/arch/i386/
H A Datomic_arch.h19 #define a_fetch_add a_fetch_add macro
20 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
/third_party/musl/arch/x32/
H A Datomic_arch.h19 #define a_fetch_add a_fetch_add macro
20 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
/third_party/musl/arch/x86_64/
H A Datomic_arch.h28 #define a_fetch_add a_fetch_add macro
29 static inline int a_fetch_add(volatile int *p, int v) in a_fetch_add() function
/third_party/musl/porting/liteos_m/user/src/thread/
H A D__lock.c34 current = a_fetch_add(l, 1) + 1; in __lock()
56 if (a_fetch_add(l, -(INT_MIN + 1)) != (INT_MIN + 1)) { in __unlock()
/third_party/musl/src/thread/
H A D__lock.c36 current = a_fetch_add(l, 1) + 1; in __lock()
58 if (a_fetch_add(l, -(INT_MIN + 1)) != (INT_MIN + 1)) { in __unlock()
H A Dpthread_barrier_wait.c29 if (a_fetch_add(&b->_b_count, -1)==1-limit) { in pshared_barrier_wait()
112 if (a_fetch_add(&inst->count,-1)==1 && a_fetch_add(&inst->finished,1)) in pthread_barrier_wait()
H A Dpthread_cond_timedwait.c109 if (a_fetch_add(&c->_c_waiters, -1) == -0x7fffffff) in __pthread_cond_timedwait()
133 if (a_fetch_add(node.notify, -1)==1) in __pthread_cond_timedwait()
H A Dvmlock.c21 if (a_fetch_add(vmlock, -1)==1 && vmlock[1]) in __vm_unlock()
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_barrier_wait.c29 if (a_fetch_add(&b->_b_count, -1)==1-limit) { in pshared_barrier_wait()
107 if (a_fetch_add(&inst->count,-1)==1 && a_fetch_add(&inst->finished,1)) in pthread_barrier_wait()
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_cond_timedwait.c139 if (a_fetch_add(&c->_c_waiters, -1) == -0x7fffffff) { in __pthread_cond_timedwait()
169 if (a_fetch_add(node.notify, -1) == 1) { in __pthread_cond_timedwait()

Completed in 7 milliseconds