Home
last modified time | relevance | path

Searched refs:__SIMPLELOCK_LOCKED (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/sys/sys/
H A Dcommon_lock.h66 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
68 __atomic_store_n(__ptr, __SIMPLELOCK_LOCKED, __ATOMIC_RELAXED); in __cpu_simple_lock_set()
85 while (__atomic_exchange_n(__ptr, __SIMPLELOCK_LOCKED, __ATOMIC_ACQUIRE) == __SIMPLELOCK_LOCKED) { in __cpu_simple_lock()
93 return __atomic_exchange_n(__ptr, __SIMPLELOCK_LOCKED, __ATOMIC_ACQUIRE) == __SIMPLELOCK_UNLOCKED; in __cpu_simple_lock_try()
/netbsd-src/sys/arch/arm/include/
H A Dlock.h47 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
65 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
172 || __arm_store_exclusive(__alp, __SIMPLELOCK_LOCKED)); in __cpu_simple_lock()
175 while (__swp(__SIMPLELOCK_LOCKED, __alp) != __SIMPLELOCK_UNLOCKED) in __cpu_simple_lock()
192 } while (__arm_store_exclusive(__alp, __SIMPLELOCK_LOCKED)); in __cpu_simple_lock_try()
196 return (__swp(__SIMPLELOCK_LOCKED, __alp) == __SIMPLELOCK_UNLOCKED); in __cpu_simple_lock_try()
H A Dtypes.h79 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/powerpc/include/
H A Dlock.h42 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
60 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
92 : "r"(alp), "I"(__SIMPLELOCK_UNLOCKED), "r"(__SIMPLELOCK_LOCKED) in __cpu_simple_lock()
119 : "r"(alp), "I"(__SIMPLELOCK_UNLOCKED), "r"(__SIMPLELOCK_LOCKED), in __cpu_simple_lock_try()
H A Dtypes.h78 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/mips/include/
H A Dlock.h67 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
98 : "i" (__SIMPLELOCK_LOCKED), "m" (*lp)); in __cpu_simple_lock_try()
128 __SIMPLELOCK_UNLOCKED, __SIMPLELOCK_LOCKED) == in __cpu_simple_lock_try()
146 while (*lp == __SIMPLELOCK_LOCKED) in __cpu_simple_lock()
/netbsd-src/sys/arch/alpha/include/
H A Dlock.h47 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
65 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
103 : "i" (__SIMPLELOCK_LOCKED), "m" (*alp) in __cpu_simple_lock()
128 : "i" (__SIMPLELOCK_LOCKED), "m" (*alp) in __cpu_simple_lock_try()
H A Dtypes.h68 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/usermode/include/
H A Dlock.h41 if (*lockp == __SIMPLELOCK_LOCKED) in __cpu_simple_lock_try()
43 *lockp = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_try()
63 return *lockp == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
H A Dtypes.h86 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/ia64/include/
H A Dlock.h42 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
55 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
93 val = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_try()
H A Dtypes.h66 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/x86/include/
H A Dlock.h44 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
57 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
98 val = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_try()
/netbsd-src/sys/arch/or1k/include/
H A Dlock.h66 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
109 : [newval] "r" (__SIMPLELOCK_LOCKED), in __cpu_simple_lock()
131 : [newval] "r" (__SIMPLELOCK_LOCKED), in __cpu_simple_lock_try()
H A Dtypes.h68 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/m68k/include/
H A Dlock.h42 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
68 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
H A Dtypes.h68 #define __SIMPLELOCK_LOCKED 0x80 /* result of `tas' insn */ macro
/netbsd-src/sys/arch/acorn32/include/
H A Dlock.h65 while (__swp(__SIMPLELOCK_LOCKED, alp) != __SIMPLELOCK_UNLOCKED) in __cpu_simple_lock()
75 __result = __swp(__SIMPLELOCK_LOCKED, alp) == __SIMPLELOCK_UNLOCKED; in __cpu_simple_lock_try()
/netbsd-src/sys/arch/sh3/include/
H A Dlock.h51 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
69 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
H A Dtypes.h69 #define __SIMPLELOCK_LOCKED 0x80 macro
/netbsd-src/sys/arch/vax/include/
H A Dlock.h44 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
62 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
H A Dtypes.h69 #define __SIMPLELOCK_LOCKED 1 macro
/netbsd-src/sys/arch/sparc/include/
H A Dlock.h77 return *__ptr == __SIMPLELOCK_LOCKED; in __SIMPLELOCK_LOCKED_P()
95 *__ptr = __SIMPLELOCK_LOCKED; in __cpu_simple_lock_set()
/netbsd-src/sys/arch/hppa/include/
H A Dtypes.h83 #define __SIMPLELOCK_LOCKED { { 0, 0, 0, 0 } } macro
/netbsd-src/sys/arch/amd64/include/
H A Dtypes.h74 #define __SIMPLELOCK_LOCKED 1 macro

12