Lines Matching refs:wait
26 wait_queue_node_t *wait = (wait_queue_node_t *)kzalloc(sizeof(wait_queue_node_t), 0); in wait_queue_sleep_on() local
27 wait_queue_init(wait, current_pcb); in wait_queue_sleep_on()
29 list_append(&wait_queue_head->wait_list, &wait->wait_list); in wait_queue_sleep_on()
42 wait_queue_node_t *wait = (wait_queue_node_t *)kzalloc(sizeof(wait_queue_node_t), 0); in wait_queue_sleep_on_unlock() local
43 wait_queue_init(wait, current_pcb); in wait_queue_sleep_on_unlock()
45 list_append(&wait_queue_head->wait_list, &wait->wait_list); in wait_queue_sleep_on_unlock()
57 wait_queue_node_t *wait = (wait_queue_node_t *)kzalloc(sizeof(wait_queue_node_t), 0); in wait_queue_sleep_on_interriptible() local
58 wait_queue_init(wait, current_pcb); in wait_queue_sleep_on_interriptible()
60 list_append(&wait_queue_head->wait_list, &wait->wait_list); in wait_queue_sleep_on_interriptible()
75 …wait_queue_node_t *wait = container_of(list_next(&wait_queue_head->wait_list), wait_queue_node_t, … in wait_queue_wakeup() local
78 if (wait->pcb->state & state) in wait_queue_wakeup()
80 list_del(&wait->wait_list); in wait_queue_wakeup()
81 process_wakeup(wait->pcb); in wait_queue_wakeup()
82 kfree(wait); in wait_queue_wakeup()