Home
last modified time | relevance | path

Searched refs:stEvent (Results 1 - 2 of 2) sorted by relevance

/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h46 * 1.The stEvent is used for task-synchronization and has the same function as wait_event_head in Linux.
48 * mounted on stEvent.stEventList. In Linux, the blocked task will be mounted on wait_queue_head.task_list.
53 EVENT_CB_S stEvent; member
157 if ((wait).stEvent.stEventList.pstPrev == (struct LOS_DL_LIST *)INVALID_ADDR) { \
158 (VOID)LOS_EventInit(&(wait).stEvent); \
161 (VOID)LOS_EventRead(&(wait).stEvent, 0x1U, LOS_WAITMODE_AND | LOS_WAITMODE_CLR, LOS_WAIT_FOREVER); \
198 if ((wait).stEvent.stEventList.pstPrev == (struct LOS_DL_LIST *)INVALID_ADDR) { \
199 (VOID)LOS_EventInit(&(wait).stEvent); \
203 ret = LOS_EventRead(&(wait).stEvent, 0x1U, LOS_WAITMODE_AND | LOS_WAITMODE_CLR, (timeout)); \
242 return !LOS_ListEmpty(&(q->stEvent in linux_waitqueue_active()
[all...]
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dlinux_semaphore.c135 (VOID)LOS_EventInit(&wait->stEvent); in __init_waitqueue_head()
145 (VOID)LOS_EventWrite(&wait->stEvent, 0x1); in __wake_up_interruptible()
154 (VOID)LOS_EventWrite(&wait->stEvent, 0x1); in __wake_up_interruptible_poll()

Completed in 2 milliseconds