Lines Matching refs:ato
28 inline void atomic_add(atomic_t *ato, long val) in atomic_add() argument
31 : "=m"(ato->value) in atomic_add()
42 inline void atomic_sub(atomic_t *ato, long val) in atomic_sub() argument
45 : "=m"(ato->value) in atomic_sub()
55 void atomic_inc(atomic_t *ato) in atomic_inc() argument
58 : "=m"(ato->value) in atomic_inc()
59 : "m"(ato->value) in atomic_inc()
68 void atomic_dec(atomic_t *ato) in atomic_dec() argument
71 : "=m"(ato->value) in atomic_dec()
72 : "m"(ato->value) in atomic_dec()
81 inline void atomic_set_mask(atomic_t *ato, long mask) in atomic_set_mask() argument
84 : "=m"(ato->value) in atomic_set_mask()
94 inline void atomic_clear_mask(atomic_t *ato, long mask) in atomic_clear_mask() argument
97 : "=m"(ato->value) in atomic_clear_mask()
103 inline long atomic_cmpxchg(atomic_t *ato, long oldval, long newval) in atomic_cmpxchg() argument
105 bool success = arch_try_cmpxchg(&ato->value, &oldval, newval); in atomic_cmpxchg()