Lines Matching defs:locks
10 // arbitrary-sized memory locations. This design uses locks that should
20 // locks and hashes the object pointers to find the one that it should use.
46 /// Number of locks. This allocates one page on 32-bit platforms, two on
66 /// locks for atomic operations
67 static Lock locks[SPINLOCK_COUNT];
92 /// locks for atomic operations
93 static Lock locks[SPINLOCK_COUNT] = {[0 ... SPINLOCK_COUNT - 1] = {0, 1, 0}};
102 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0
120 /// locks for atomic operations
121 static Lock locks[SPINLOCK_COUNT];
138 return locks + (hash & SPINLOCK_MASK);