Lines Matching refs:lock
61 queue->lock = (struct k_spinlock) {}; in z_impl_k_queue_init()
101 k_spinlock_key_t key = k_spin_lock(&queue->lock); in z_impl_k_queue_cancel_wait()
111 z_reschedule(&queue->lock, key); in z_impl_k_queue_cancel_wait()
127 k_spinlock_key_t key = k_spin_lock(&queue->lock); in queue_insert()
140 z_reschedule(&queue->lock, key); in queue_insert()
153 k_spin_unlock(&queue->lock, key); in queue_insert()
171 z_reschedule(&queue->lock, key); in queue_insert()
258 k_spinlock_key_t key = k_spin_lock(&queue->lock); in k_queue_append_list()
278 z_reschedule(&queue->lock, key); in k_queue_append_list()
319 k_spinlock_key_t key = k_spin_lock(&queue->lock); in z_impl_k_queue_get()
329 k_spin_unlock(&queue->lock, key); in z_impl_k_queue_get()
339 k_spin_unlock(&queue->lock, key); in z_impl_k_queue_get()
346 int ret = z_pend_curr(&queue->lock, key, &queue->wait_q, timeout); in z_impl_k_queue_get()