Home
last modified time | relevance | path

Searched refs:slock (Results 1 – 6 of 6) sorted by relevance

/trusty/kernel/lib/trusty/
Devent.c142 spin_lock_t slock; member
212 spin_lock_save(&es->slock, &state, SLOCK_FLAGS); in event_source_poll()
217 spin_unlock_restore(&es->slock, state, SLOCK_FLAGS); in event_source_poll()
252 spin_lock_save(&es->slock, &state, SLOCK_FLAGS); in event_source_destroy()
258 spin_unlock_restore(&es->slock, state, SLOCK_FLAGS); in event_source_destroy()
314 DEBUG_ASSERT(!spin_lock_held(&es->slock)); in event_source_attach_client_locked()
316 spin_lock_save(&es->slock, &state, SLOCK_FLAGS); in event_source_attach_client_locked()
328 spin_unlock_restore(&es->slock, state, SLOCK_FLAGS); in event_source_attach_client_locked()
339 DEBUG_ASSERT(spin_lock_held(&es->slock)); in event_source_notify_done_slocked()
362 spin_lock_save(&es->slock, &state, SLOCK_FLAGS); in event_source_signal()
[all …]
Dhandle.c54 spin_lock_init(&handle->slock); in handle_init_etc()
97 spin_lock_save(&handle->slock, &state, SPIN_LOCK_FLAG_INTERRUPTS); in _prepare_wait_handle()
104 spin_unlock_restore(&handle->slock, state, SPIN_LOCK_FLAG_INTERRUPTS); in _prepare_wait_handle()
112 spin_lock_save(&handle->slock, &state, SPIN_LOCK_FLAG_INTERRUPTS); in _finish_wait_handle()
114 spin_unlock_restore(&handle->slock, state, SPIN_LOCK_FLAG_INTERRUPTS); in _finish_wait_handle()
120 spin_lock_save(&h->slock, &state, SPIN_LOCK_FLAG_INTERRUPTS); in handle_add_waiter()
122 spin_unlock_restore(&h->slock, state, SPIN_LOCK_FLAG_INTERRUPTS); in handle_add_waiter()
128 spin_lock_save(&h->slock, &state, SPIN_LOCK_FLAG_INTERRUPTS); in handle_del_waiter()
130 spin_unlock_restore(&h->slock, state, SPIN_LOCK_FLAG_INTERRUPTS); in handle_del_waiter()
183 spin_lock_save(&handle->slock, &state, SPIN_LOCK_FLAG_INTERRUPTS); in handle_notify()
[all …]
Dhandle_set.c100 spin_lock_save(&hset->handle.slock, &state, SLOCK_FLAGS); in hset_detach_ref_locked()
103 spin_unlock_restore(&hset->handle.slock, state, SLOCK_FLAGS); in hset_detach_ref_locked()
145 spin_lock(&ref->parent->slock); in hset_waiter_notify()
151 spin_unlock(&ref->parent->slock); in hset_waiter_notify()
284 spin_lock_save(&hset->handle.slock, &state, SLOCK_FLAGS); in _hset_do_poll()
287 spin_unlock_restore(&hset->handle.slock, state, SLOCK_FLAGS); in _hset_do_poll()
301 spin_lock_save(&hset->handle.slock, &state, SLOCK_FLAGS); in _hset_do_poll()
304 spin_unlock_restore(&hset->handle.slock, state, SLOCK_FLAGS); in _hset_do_poll()
360 spin_lock_save(&hset->handle.slock, &state, SLOCK_FLAGS); in handle_set_ready()
362 spin_unlock_restore(&hset->handle.slock, state, SLOCK_FLAGS); in handle_set_ready()
Dvqueue.c102 spin_lock_save(&vq->slock, &state, VQ_LOCK_FLAGS); in vqueue_destroy()
106 spin_unlock_restore(&vq->slock, state, VQ_LOCK_FLAGS); in vqueue_destroy()
114 spin_lock_save(&vq->slock, &state, VQ_LOCK_FLAGS); in vqueue_signal_avail()
118 spin_unlock_restore(&vq->slock, state, VQ_LOCK_FLAGS); in vqueue_signal_avail()
222 spin_lock_save(&vq->slock, &state, VQ_LOCK_FLAGS); in vqueue_get_avail_buf()
224 spin_unlock_restore(&vq->slock, state, VQ_LOCK_FLAGS); in vqueue_get_avail_buf()
468 spin_lock_save(&vq->slock, &state, VQ_LOCK_FLAGS); in vqueue_add_buf()
470 spin_unlock_restore(&vq->slock, state, VQ_LOCK_FLAGS); in vqueue_add_buf()
Dvqueue.h48 spin_lock_t slock; member
/trusty/kernel/lib/trusty/include/lib/trusty/
Dhandle.h65 spin_lock_t slock; member