Lines Matching refs:lock
224 key = k_spin_lock(&bitarray->lock); in sys_bitarray_popcount_region()
258 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_popcount_region()
274 key_dst = k_spin_lock(&dst->lock); in sys_bitarray_xor()
275 key_other = k_spin_lock(&other->lock); in sys_bitarray_xor()
315 k_spin_unlock(&other->lock, key_other); in sys_bitarray_xor()
316 k_spin_unlock(&dst->lock, key_dst); in sys_bitarray_xor()
329 key = k_spin_lock(&bitarray->lock); in sys_bitarray_set_bit()
344 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_set_bit()
357 key = k_spin_lock(&bitarray->lock); in sys_bitarray_clear_bit()
372 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_clear_bit()
385 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_bit()
409 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_test_bit()
422 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_and_set_bit()
448 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_test_and_set_bit()
461 key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_and_clear_bit()
487 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_test_and_clear_bit()
504 key = k_spin_lock(&bitarray->lock); in sys_bitarray_alloc()
559 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_alloc()
575 key = k_spin_lock(&bitarray->lock); in sys_bitarray_find_nth_set()
634 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_find_nth_set()
649 key = k_spin_lock(&bitarray->lock); in sys_bitarray_free()
671 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_free()
681 k_spinlock_key_t key = k_spin_lock(&bitarray->lock); in is_region_set_clear()
697 k_spin_unlock(&bitarray->lock, key); in is_region_set_clear()
718 k_spinlock_key_t key = k_spin_lock(&bitarray->lock); in set_clear_region()
735 k_spin_unlock(&bitarray->lock, key); in set_clear_region()
750 k_spinlock_key_t key = k_spin_lock(&bitarray->lock); in sys_bitarray_test_and_set_region()
770 k_spin_unlock(&bitarray->lock, key); in sys_bitarray_test_and_set_region()