HomeSort by: relevance | last modified time | path
    Searched refs:__SIMPLELOCK_UNLOCKED (Results 1 - 25 of 46) sorted by relevancy

1 2

  /src/sys/sys/
common_lock.h 43 return *__ptr != __SIMPLELOCK_UNLOCKED;
49 return *__ptr == __SIMPLELOCK_UNLOCKED;
56 *__ptr = __SIMPLELOCK_UNLOCKED;
58 __atomic_store_n(__ptr, __SIMPLELOCK_UNLOCKED, __ATOMIC_RELAXED);
76 *__ptr = __SIMPLELOCK_UNLOCKED;
78 __atomic_store_n(__ptr, __SIMPLELOCK_UNLOCKED, __ATOMIC_RELAXED);
93 return __atomic_exchange_n(__ptr, __SIMPLELOCK_LOCKED, __ATOMIC_ACQUIRE) == __SIMPLELOCK_UNLOCKED;
99 __atomic_store_n(__ptr, __SIMPLELOCK_UNLOCKED, __ATOMIC_RELEASE);
  /src/sys/arch/powerpc/include/
lock.h 48 return *__ptr == __SIMPLELOCK_UNLOCKED;
54 *__ptr = __SIMPLELOCK_UNLOCKED;
66 *alp = __SIMPLELOCK_UNLOCKED;
92 : "r"(alp), "I"(__SIMPLELOCK_UNLOCKED), "r"(__SIMPLELOCK_LOCKED)
119 : "r"(alp), "I"(__SIMPLELOCK_UNLOCKED), "r"(__SIMPLELOCK_LOCKED),
123 return (old == __SIMPLELOCK_UNLOCKED);
130 *alp = __SIMPLELOCK_UNLOCKED;
types.h 79 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/usermode/include/
lock.h 35 *lockp = __SIMPLELOCK_UNLOCKED;
57 *lockp = __SIMPLELOCK_UNLOCKED;
69 return *lockp == __SIMPLELOCK_UNLOCKED;
types.h 87 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/m68k/include/
lock.h 48 return *__ptr == __SIMPLELOCK_UNLOCKED;
55 *alp = __SIMPLELOCK_UNLOCKED;
62 *__ptr = __SIMPLELOCK_UNLOCKED;
106 *alp = __SIMPLELOCK_UNLOCKED;
types.h 69 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/sparc/include/
lock.h 39 #if __SIMPLELOCK_UNLOCKED != 0
40 #error __SIMPLELOCK_UNLOCKED must be 0 for this implementation
83 return *__ptr == __SIMPLELOCK_UNLOCKED;
89 *__ptr = __SIMPLELOCK_UNLOCKED;
102 *alp = __SIMPLELOCK_UNLOCKED;
117 while (__ldstub(alp) != __SIMPLELOCK_UNLOCKED) {
118 while (*alp != __SIMPLELOCK_UNLOCKED)
138 return (__ldstub(alp) == __SIMPLELOCK_UNLOCKED);
153 *alp = __SIMPLELOCK_UNLOCKED;
  /src/sys/arch/mips/include/
lock.h 49 return *__ptr != __SIMPLELOCK_UNLOCKED;
55 return *__ptr == __SIMPLELOCK_UNLOCKED;
61 *__ptr = __SIMPLELOCK_UNLOCKED;
128 __SIMPLELOCK_UNLOCKED, __SIMPLELOCK_LOCKED) ==
129 __SIMPLELOCK_UNLOCKED;
138 *lp = __SIMPLELOCK_UNLOCKED;
164 *lp = __SIMPLELOCK_UNLOCKED;
  /src/sys/arch/or1k/include/
lock.h 41 return *__ptr != __SIMPLELOCK_UNLOCKED;
47 return *__ptr == __SIMPLELOCK_UNLOCKED;
56 *__ptr = __SIMPLELOCK_UNLOCKED;
76 *__ptr = __SIMPLELOCK_UNLOCKED;
111 [unlocked] "n" (__SIMPLELOCK_UNLOCKED)
134 return oldval == __SIMPLELOCK_UNLOCKED;
145 *__ptr = __SIMPLELOCK_UNLOCKED;
types.h 69 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/acorn32/include/
lock.h 58 *alp = __SIMPLELOCK_UNLOCKED;
65 while (__swp(__SIMPLELOCK_LOCKED, alp) != __SIMPLELOCK_UNLOCKED)
75 __result = __swp(__SIMPLELOCK_LOCKED, alp) == __SIMPLELOCK_UNLOCKED;
86 *alp = __SIMPLELOCK_UNLOCKED;
  /src/sys/arch/sh3/include/
lock.h 57 return *__ptr == __SIMPLELOCK_UNLOCKED;
63 *__ptr = __SIMPLELOCK_UNLOCKED;
76 *alp = __SIMPLELOCK_UNLOCKED;
111 *alp = __SIMPLELOCK_UNLOCKED;
types.h 70 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/arm/include/
lock.h 53 return *__ptr == __SIMPLELOCK_UNLOCKED;
59 *__ptr = __SIMPLELOCK_UNLOCKED;
161 *__alp = __SIMPLELOCK_UNLOCKED;
171 } while (__arm_load_exclusive(__alp) != __SIMPLELOCK_UNLOCKED
175 while (__swp(__SIMPLELOCK_LOCKED, __alp) != __SIMPLELOCK_UNLOCKED)
189 if (__arm_load_exclusive(__alp) != __SIMPLELOCK_UNLOCKED) {
196 return (__swp(__SIMPLELOCK_LOCKED, __alp) == __SIMPLELOCK_UNLOCKED);
210 :: "r"(__SIMPLELOCK_UNLOCKED), "r"(__alp) : "memory");
213 :: "r"(__SIMPLELOCK_UNLOCKED), "r"(__alp) : "memory");
217 *__alp = __SIMPLELOCK_UNLOCKED;
    [all...]
types.h 80 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/x86/include/
lock.h 50 return *__ptr == __SIMPLELOCK_UNLOCKED;
64 *__ptr = __SIMPLELOCK_UNLOCKED;
90 *lockp = __SIMPLELOCK_UNLOCKED;
103 return val == __SIMPLELOCK_UNLOCKED;
172 *lockp = __SIMPLELOCK_UNLOCKED;
  /src/sys/arch/ia64/include/
lock.h 48 return *__ptr == __SIMPLELOCK_UNLOCKED;
62 *__ptr = __SIMPLELOCK_UNLOCKED;
85 *lockp = __SIMPLELOCK_UNLOCKED;
98 return val == __SIMPLELOCK_UNLOCKED;
115 *lockp = __SIMPLELOCK_UNLOCKED;
types.h 67 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/alpha/include/
lock.h 53 return *__ptr == __SIMPLELOCK_UNLOCKED;
59 *__ptr = __SIMPLELOCK_UNLOCKED;
72 *alp = __SIMPLELOCK_UNLOCKED;
types.h 69 #define __SIMPLELOCK_UNLOCKED 0
  /src/sys/arch/vax/include/
lock.h 50 return *__ptr == __SIMPLELOCK_UNLOCKED;
56 *__ptr = __SIMPLELOCK_UNLOCKED;
69 *__alp = __SIMPLELOCK_UNLOCKED;
types.h 70 #define __SIMPLELOCK_UNLOCKED 0
  /src/lib/libpthread/
pthread_types.h 108 #if __SIMPLELOCK_UNLOCKED != 0
109 #error __CPU_SIMPLE_LOCK_PAD incompatible with __SIMPLELOCK_UNLOCKED == 0
151 _PTHREAD_MUTEX_INI(ptm_errorcheck, __SIMPLELOCK_UNLOCKED), \
186 __SIMPLELOCK_UNLOCKED, \
220 __SIMPLELOCK_UNLOCKED, \
241 __SIMPLELOCK_UNLOCKED, \
  /src/sys/arch/hppa/include/
types.h 84 #define __SIMPLELOCK_UNLOCKED { { 1, 1, 1, 1 } }

Completed in 60 milliseconds

1 2