Home
last modified time | relevance | path

Searched refs:ew (Results 1 – 3 of 3) sorted by relevance

/trusty/kernel/lib/trusty/
Dhandle.c138 struct handle_event_waiter ew = HANDLE_EVENT_WAITER_INITIAL_VALUE(ew); in handle_wait() local
146 handle_add_waiter(handle, &ew.waiter); in handle_wait()
152 ret = __do_wait(&ew.event, timeout); in handle_wait()
161 handle_del_waiter(handle, &ew.waiter); in handle_wait()
162 event_destroy(&ew.event); in handle_wait()
Dhandle_set.c320 struct handle_event_waiter ew = HANDLE_EVENT_WAITER_INITIAL_VALUE(ew); in hset_wait() local
325 handle_add_waiter(&hset->handle, &ew.waiter); in hset_wait()
335 ret = event_wait_timeout(&ew.event, timeout); in hset_wait()
342 handle_del_waiter(&hset->handle, &ew.waiter); in hset_wait()
343 event_destroy(&ew.event); in hset_wait()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dhandle.h89 #define HANDLE_EVENT_WAITER_INITIAL_VALUE(ew) \ argument
93 .event = EVENT_INITIAL_VALUE((ew).event, false, \