Lines Matching refs:lock
10 static struct k_spinlock lock; variable
36 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_link()
40 k_spin_unlock(&lock, key); in k_obj_core_link()
52 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_unlink()
56 k_spin_unlock(&lock, key); in k_obj_core_unlink()
65 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_type_find()
75 k_spin_unlock(&lock, key); in k_obj_type_find()
89 key = k_spin_lock(&lock); in k_obj_type_walk_locked()
99 k_spin_unlock(&lock, key); in k_obj_type_walk_locked()
129 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_register()
142 k_spin_unlock(&lock, key); in k_obj_core_stats_register()
150 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_deregister()
160 k_spin_unlock(&lock, key); in k_obj_core_stats_deregister()
171 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_raw()
187 k_spin_unlock(&lock, key); in k_obj_core_stats_raw()
198 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_query()
214 k_spin_unlock(&lock, key); in k_obj_core_stats_query()
224 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_reset()
237 k_spin_unlock(&lock, key); in k_obj_core_stats_reset()
247 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_disable()
260 k_spin_unlock(&lock, key); in k_obj_core_stats_disable()
270 k_spinlock_key_t key = k_spin_lock(&lock); in k_obj_core_stats_enable()
283 k_spin_unlock(&lock, key); in k_obj_core_stats_enable()