Lines Matching full:new
101 int old, new; \
104 "0: lr %[new],%[old]\n" \
105 op_string " %[new],%[val]\n" \
106 " cs %[old],%[new],%[ptr]\n" \
108 : [old] "=d" (old), [new] "=&d" (new), [ptr] "+Q" (*ptr)\
127 long old, new; \
130 "0: lgr %[new],%[old]\n" \
131 op_string " %[new],%[val]\n" \
132 " csg %[old],%[new],%[ptr]\n" \
134 : [old] "=d" (old), [new] "=&d" (new), [ptr] "+QS" (*ptr)\
157 static inline int __atomic_cmpxchg(int *ptr, int old, int new) in __atomic_cmpxchg() argument
160 " cs %[old],%[new],%[ptr]" in __atomic_cmpxchg()
162 : [new] "d" (new) in __atomic_cmpxchg()
167 static inline bool __atomic_cmpxchg_bool(int *ptr, int old, int new) in __atomic_cmpxchg_bool() argument
172 " cs %[old],%[new],%[ptr]" in __atomic_cmpxchg_bool()
174 : [new] "d" (new) in __atomic_cmpxchg_bool()
179 static inline long __atomic64_cmpxchg(long *ptr, long old, long new) in __atomic64_cmpxchg() argument
182 " csg %[old],%[new],%[ptr]" in __atomic64_cmpxchg()
184 : [new] "d" (new) in __atomic64_cmpxchg()
189 static inline bool __atomic64_cmpxchg_bool(long *ptr, long old, long new) in __atomic64_cmpxchg_bool() argument
194 " csg %[old],%[new],%[ptr]" in __atomic64_cmpxchg_bool()
196 : [new] "d" (new) in __atomic64_cmpxchg_bool()