Home
last modified time | relevance | path

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

/external/compiler-rt/lib/builtins/
Datomic.c43 #ifndef SPINLOCK_COUNT
44 #define SPINLOCK_COUNT (1<<10) macro
46 static const long SPINLOCK_MASK = SPINLOCK_COUNT - 1;
74 static Lock locks[SPINLOCK_COUNT] = { [0 ... SPINLOCK_COUNT-1] = {0,1,0} };
87 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0
104 static Lock locks[SPINLOCK_COUNT];
/external/llvm-project/compiler-rt/lib/builtins/
Datomic.c43 #ifndef SPINLOCK_COUNT
44 #define SPINLOCK_COUNT (1 << 10) macro
46 static const long SPINLOCK_MASK = SPINLOCK_COUNT - 1;
77 static Lock locks[SPINLOCK_COUNT] = {[0 ... SPINLOCK_COUNT - 1] = {0, 1, 0}};
86 static Lock locks[SPINLOCK_COUNT]; // initialized to OS_SPINLOCK_INIT which is 0
103 static Lock locks[SPINLOCK_COUNT];