Searched refs:ew (Results 1 – 3 of 3) sorted by relevance
138 struct handle_event_waiter ew = HANDLE_EVENT_WAITER_INITIAL_VALUE(ew); in handle_wait() local146 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()
320 struct handle_event_waiter ew = HANDLE_EVENT_WAITER_INITIAL_VALUE(ew); in hset_wait() local325 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()
89 #define HANDLE_EVENT_WAITER_INITIAL_VALUE(ew) \ argument93 .event = EVENT_INITIAL_VALUE((ew).event, false, \