Home
last modified time | relevance | path

Searched refs:ato (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/common/
H A Datomic.h30 inline void atomic_add(atomic_t *ato, long val) in atomic_add() argument
33 : "=m"(ato->value) in atomic_add()
44 inline void atomic_sub(atomic_t *ato, long val) in atomic_sub() argument
47 : "=m"(ato->value) in atomic_sub()
57 void atomic_inc(atomic_t *ato) in atomic_inc() argument
60 : "=m"(ato->value) in atomic_inc()
61 : "m"(ato->value) in atomic_inc()
70 void atomic_dec(atomic_t *ato) in atomic_dec() argument
73 : "=m"(ato->value) in atomic_dec()
74 : "m"(ato->value) in atomic_dec()
[all …]
/DragonOS/docs/kernel/core_api/
H A Datomic.md11 ### `inline void atomic_add(atomic_t *ato, long val)`
19 **ato**
27 ### `inline void atomic_sub(atomic_t *ato, long val)`
35 **ato**
43 ### `void atomic_inc(atomic_t *ato)`
51 **ato**
56 ### `void atomic_dec(atomic_t *ato)`
64 **ato**
68 ### `inline void atomic_set_mask(atomic_t *ato, long mask)`
76 **ato**
[all …]