/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | atomic.h | 44 #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(p, -1); in a_dec()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | atomic.h | 44 #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(p, -1); in a_dec()
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | atomic.h | 44 #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(p, -1); in a_dec()
|
/third_party/musl/src/internal/ |
D | atomic.h | 44 #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(p, -1); in a_dec()
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | atomic.h | 44 #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(p, -1); in a_dec()
|
/third_party/musl/arch/microblaze/ |
D | atomic_arch.h | 37 #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/ |
D | atomic_arch.h | 19 #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/ |
D | atomic_arch.h | 19 #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/ |
D | atomic_arch.h | 28 #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_a/user/src/thread/ |
D | pthread_barrier_wait.c | 29 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/src/thread/ |
D | pthread_barrier_wait.c | 29 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()
|
D | __lock.c | 36 current = a_fetch_add(l, 1) + 1; in __lock() 58 if (a_fetch_add(l, -(INT_MIN + 1)) != (INT_MIN + 1)) { in __unlock()
|
D | pthread_cond_timedwait.c | 109 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()
|
D | vmlock.c | 21 if (a_fetch_add(vmlock, -1)==1 && vmlock[1]) in __vm_unlock()
|
/third_party/musl/porting/liteos_m/user/src/thread/ |
D | __lock.c | 34 current = a_fetch_add(l, 1) + 1; in __lock() 56 if (a_fetch_add(l, -(INT_MIN + 1)) != (INT_MIN + 1)) { in __unlock()
|