Home
last modified time | relevance | path

Searched refs:atomic_set (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.5/kernel/src/common/
Dsemaphore.h36 atomic_set(&sema->counter, count); in semaphore_init()
Datomic.h14 #define atomic_set(atomic,val) (((atomic)->value) = (val)) // 设置原子变量的初始值 macro
/DragonOS-0.1.5/kernel/src/libs/
Datomic.rs16 pub fn atomic_set(ato: *mut atomic_t, value: i64) { in atomic_set() function
Dmutex.c12 atomic_set(&lock->count, 1); in mutex_init()
/DragonOS-0.1.5/kernel/src/process/
Dfork.rs15 atomic::atomic_set,
92 atomic_set(&mut sig.sig_cnt, 1); in process_copy_signal()