Home
last modified time | relevance | path

Searched refs:a_cas (Results 1 - 25 of 74) sorted by relevance

123

/third_party/musl/porting/liteos_a/kernel/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas( in a_fetch_or()
[all...]
/third_party/musl/porting/liteos_m/user/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas( in a_fetch_or()
[all...]
/third_party/musl/porting/liteos_m/kernel/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas( in a_fetch_or()
[all...]
/third_party/musl/porting/uniproton/kernel/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas( in a_fetch_or()
[all...]
/third_party/musl/src/internal/
H A Datomic.h18 #ifndef a_cas
19 #define a_cas a_cas macro
20 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old); in a_swap()
123 while (a_cas(p, old, (unsigned)old+v) != old); in a_fetch_add()
134 while (a_cas(p, old, old&v) != old); in a_fetch_and()
144 while (a_cas( in a_fetch_or()
[all...]
/third_party/musl/src/thread/
H A Dpthread_cond_timedwait.c35 if (a_cas(l, 0, 1)) { in lock()
36 a_cas(l, 1, 2); in lock()
38 while (a_cas(l, 0, 2)); in lock()
115 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
156 if (val>0) a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
184 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
H A D__lock.c24 int current = a_cas(l, 0, INT_MIN + 1); in __lock()
31 int val = a_cas(l, current, INT_MIN + (current + 1)); in __lock()
48 int val = a_cas(l, current, INT_MIN + current); in __lock()
H A Dpthread_once.c19 for (;;) switch (a_cas(control, 0, 1)) { in __pthread_once_full()
30 a_cas(control, 1, 3); in __pthread_once_full()
/third_party/musl/arch/m68k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/or1k/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/riscv32/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/riscv64/
H A Datomic_arch.h7 #define a_cas a_cas macro
8 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/s390x/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/porting/liteos_m/user/src/thread/
H A D__lock.c23 int current = a_cas(l, 0, INT_MIN + 1); in __lock()
29 int val = a_cas(l, current, INT_MIN + (current + 1)); in __lock()
46 int val = a_cas(l, current, INT_MIN + current); in __lock()
/third_party/musl/src/stdio/
H A D__lockfile.c9 owner = a_cas(&f->lock, 0, tid); in __lockfile()
11 while ((owner = a_cas(&f->lock, 0, tid|MAYBE_WAITERS))) { in __lockfile()
13 a_cas(&f->lock, owner, owner|MAYBE_WAITERS)==owner) in __lockfile()
/third_party/musl/arch/microblaze/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/sh/
H A Datomic_arch.h34 #define a_cas a_cas macro
36 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/porting/linux/user/src/thread/
H A Dpthread_cond_timedwait.c50 if (a_cas(l, 0, 1)) { in lock()
51 a_cas(l, 1, 2); in lock()
54 } while (a_cas(l, 0, 2)); in lock()
146 oldstate = a_cas(&node.state, WAITING, LEAVING); in __pthread_cond_timedwait()
199 a_cas(&m->_m_lock, val, val|0x80000000); in __pthread_cond_timedwait()
239 if (a_cas(&p->state, WAITING, SIGNALED) != WAITING) { in __private_cond_signal()
/third_party/musl/arch/aarch64/
H A Datomic_arch.h31 #define a_cas a_cas macro
32 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/porting/liteos_a/kernel/include/
H A Datomic_arch.h45 #define a_cas a_cas macro
46 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/porting/liteos_m/user/arch/arm/
H A Datomic_arch.h43 #define a_cas a_cas macro
44 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/i386/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/arm/
H A Datomic_arch.h45 #define a_cas a_cas macro
46 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/x32/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function
/third_party/musl/arch/x86_64/
H A Datomic_arch.h1 #define a_cas a_cas macro
2 static inline int a_cas(volatile int *p, int t, int s) in a_cas() function

Completed in 7 milliseconds

123