/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | atomic.h | 31 #ifndef a_swap 32 #define a_swap a_swap macro 33 static inline int a_swap(volatile int *p, int v) in a_swap() function 106 #ifndef a_swap 107 #define a_swap a_swap macro 108 static inline int a_swap(volatile int *p, int v) in a_swap() function 190 a_swap(p, v); in a_store()
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | atomic.h | 31 #ifndef a_swap 32 #define a_swap a_swap macro 33 static inline int a_swap(volatile int *p, int v) in a_swap() function 106 #ifndef a_swap 107 #define a_swap a_swap macro 108 static inline int a_swap(volatile int *p, int v) in a_swap() function 190 a_swap(p, v); in a_store()
|
/third_party/musl/porting/liteos_m/user/src/internal/ |
D | atomic.h | 31 #ifndef a_swap 32 #define a_swap a_swap macro 33 static inline int a_swap(volatile int *p, int v) in a_swap() function 106 #ifndef a_swap 107 #define a_swap a_swap macro 108 static inline int a_swap(volatile int *p, int v) in a_swap() function 190 a_swap(p, v); in a_store()
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | atomic.h | 31 #ifndef a_swap 32 #define a_swap a_swap macro 33 static inline int a_swap(volatile int *p, int v) in a_swap() function 106 #ifndef a_swap 107 #define a_swap a_swap macro 108 static inline int a_swap(volatile int *p, int v) in a_swap() function 190 a_swap(p, v); in a_store()
|
/third_party/musl/src/internal/ |
D | atomic.h | 31 #ifndef a_swap 32 #define a_swap a_swap macro 33 static inline int a_swap(volatile int *p, int v) in a_swap() function 106 #ifndef a_swap 107 #define a_swap a_swap macro 108 static inline int a_swap(volatile int *p, int v) in a_swap() function 190 a_swap(p, v); in a_store()
|
/third_party/musl/arch/microblaze/ |
D | atomic_arch.h | 20 #define a_swap a_swap macro 21 static inline int a_swap(volatile int *x, int v) in a_swap() function
|
/third_party/musl/arch/i386/ |
D | atomic_arch.h | 10 #define a_swap a_swap macro 11 static inline int a_swap(volatile int *p, int v) in a_swap() function
|
/third_party/musl/arch/x32/ |
D | atomic_arch.h | 10 #define a_swap a_swap macro 11 static inline int a_swap(volatile int *p, int v) in a_swap() function
|
/third_party/musl/arch/x86_64/ |
D | atomic_arch.h | 19 #define a_swap a_swap macro 20 static inline int a_swap(volatile int *p, int v) in a_swap() function
|
/third_party/musl/src/thread/ |
D | pthread_once.c | 7 if (a_swap(control, 0) == 3) in undo() 25 if (a_swap(control, 2) == 3) in __pthread_once_full()
|
D | pthread_mutex_unlock.c | 41 cont = a_swap(&m->_m_lock, new); in __pthread_mutex_unlock()
|
D | pthread_barrier_wait.c | 72 while (a_swap(&b->_b_lock, 1)) in pthread_barrier_wait()
|
D | pthread_create.c | 123 int cont = a_swap(&m->_m_lock, 0x40000000); in __pthread_exit() 360 if (a_swap(&args->control, ret ? 3 : 0)==2) in __pthread_create()
|
D | pthread_cond_timedwait.c | 44 if (a_swap(l, 0)==2) in unlock()
|
/third_party/musl/porting/liteos_m/user/src/thread/ |
D | pthread_detach.c | 14 if (ret) a_swap(&t->detach_state, DT_JOINABLE); in __pthread_detach()
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
D | pthread_detach.c | 13 if (ret) a_swap(&t->detach_state, DT_JOINABLE); in __pthread_detach()
|
D | pthread_mutex_unlock.c | 34 cont = a_swap(&m->_m_lock, new); in __pthread_mutex_unlock()
|
D | pthread_barrier_wait.c | 72 while (a_swap(&b->_b_lock, 1)) in pthread_barrier_wait()
|
/third_party/musl/src/stdio/ |
D | getc.h | 11 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in locking_getc()
|
D | putc.h | 11 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in locking_putc()
|
D | __lockfile.c | 21 if (a_swap(&f->lock, 0) & MAYBE_WAITERS) in __unlockfile()
|
/third_party/musl/src/aio/ |
D | aio.c | 157 if (a_swap(&at->running, 0) < 0) in cleanup() 159 if (a_swap(&cb->__err, at->err) != EINPROGRESS) in cleanup() 161 if (a_swap(&__aio_fut, 0)) in cleanup()
|
/third_party/musl/porting/liteos_a/user/src/aio/ |
D | aio.c | 158 if (a_swap(&at->running, 0) < 0) in cleanup() 160 if (a_swap(&cb->__err, at->err) != EINPROGRESS) in cleanup() 162 if (a_swap(&__aio_fut, 0)) in cleanup()
|
/third_party/musl/porting/liteos_a/user_debug/src/malloc/ |
D | memalign.c | 11 while(a_swap(lk, 1)) __wait(lk, lk+1, 1, 1); in lock()
|
/third_party/musl/porting/linux/user/src/thread/ |
D | pthread_create.c | 195 int cont = a_swap(&m->_m_lock, 0x40000000); in __pthread_exit() 438 if (a_swap(&args->control, ret ? 3 : 0)==2) in __pthread_create()
|