Lines Matching refs:a_cas
18 #ifndef a_cas
19 #define a_cas a_cas
20 static inline int a_cas(volatile int *p, int t, int s)
102 #ifndef a_cas
103 #error missing definition of a_cas
112 while (a_cas(p, old, v) != old);
123 while (a_cas(p, old, (unsigned)old+v) != old);
134 while (a_cas(p, old, old&v) != old);
144 while (a_cas(p, old, old|v) != old);
200 a_cas(&tmp, 0, 0);
233 return (void *)a_cas((volatile int *)p, (int)t, (int)s);