Searched refs:NUM_SPIN_LOCKS (Results 1 – 8 of 8) sorted by relevance
11 uint counter_local[NUM_CORES][NUM_SPIN_LOCKS];12 uint counter_shared[NUM_SPIN_LOCKS];27 for (int i = 0; i < NUM_SPIN_LOCKS; ++i) { in prepare_clear_counters()40 for (int i = 0; i < NUM_SPIN_LOCKS; ++i) { in check_counter_sums()116 counter_test_per_core(NUM_SPIN_LOCKS - 1); in counter_test1()120 counter_test_per_core((NUM_SPIN_LOCKS - 1) >> 1); in counter_test2()124 counter_test_per_core((NUM_SPIN_LOCKS - 1) >> 2); in counter_test3()128 counter_test_per_core((NUM_SPIN_LOCKS - 1) >> 3); in counter_test4()132 counter_test_per_core((NUM_SPIN_LOCKS - 1) >> 4); in counter_test5()136 counter_try_test_per_core(NUM_SPIN_LOCKS - 1); in counter_try_test1()[all …]
9 for (uint i = 0; i < NUM_SPIN_LOCKS; i++) { in spin_locks_reset()15 assert(lock_num < NUM_SPIN_LOCKS); in spin_lock_init()22 spin_lock_t _sw_spin_locks[NUM_SPIN_LOCKS];
19 #define NUM_SPIN_LOCKS 32u macro23 #define NUM_SPIN_LOCKS 32u macro
96 extern spin_lock_t _sw_spin_locks[NUM_SPIN_LOCKS]; \103 extern spin_lock_t _sw_spin_locks[NUM_SPIN_LOCKS]; \226 invalid_params_if(HARDWARE_SYNC, lock_num >= NUM_SPIN_LOCKS); in spin_lock_instance()243 invalid_params_if(HARDWARE_SYNC, lock_num >= (uint)NUM_SPIN_LOCKS); in spin_lock_get_num()247 … (uint) lock >= NUM_SPIN_LOCKS * sizeof(spin_lock_t) + SIO_BASE + SIO_SPINLOCK0_OFFSET || in spin_lock_get_num()
14 } _spinlocks[NUM_SPIN_LOCKS];38 assert(lock_num < NUM_SPIN_LOCKS); in PICO_WEAK_FUNCTION_DEF()110 for (uint i = 0; i < NUM_SPIN_LOCKS; i++) { in PICO_WEAK_FUNCTION_DEF()
10 valid_params_if(LOCK_CORE, lock_num < NUM_SPIN_LOCKS); in lock_init()
31 #define NUM_SPIN_LOCKS _u(32) macro
32 #define NUM_SPIN_LOCKS _u(32) macro