Home
last modified time | relevance | path

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

/DragonOS/kernel/src/arch/x86_64/asm/
H A Dspinlock.c46 uint64_t tmp_val = 0; in __arch_spin_trylock() local
50 : "=q"(tmp_val), "=m"(lock->lock) in __arch_spin_trylock()
53 if (!tmp_val) in __arch_spin_trylock()
55 return tmp_val; in __arch_spin_trylock()
/DragonOS/kernel/src/arch/riscv64/asm/
H A Dspinlock.c28 uint64_t tmp_val = 0; in __arch_spin_trylock() local
32 if (!tmp_val) in __arch_spin_trylock()
34 return tmp_val; in __arch_spin_trylock()