Lines Matching refs:wait
166 wait_queue_entry_t wait; member
1512 DEFINE_WAIT(wait); in mem_cgroup_wait_acct_move()
1513 prepare_to_wait(&mc.waitq, &wait, TASK_INTERRUPTIBLE); in mem_cgroup_wait_acct_move()
1517 finish_wait(&mc.waitq, &wait); in mem_cgroup_wait_acct_move()
1916 wait_queue_entry_t wait; member
1919 static int memcg_oom_wake_function(wait_queue_entry_t *wait, in memcg_oom_wake_function() argument
1926 oom_wait_info = container_of(wait, struct oom_wait_info, wait); in memcg_oom_wake_function()
1932 return autoremove_wake_function(wait, mode, sync, arg); in memcg_oom_wake_function()
2045 owait.wait.flags = 0; in mem_cgroup_oom_synchronize()
2046 owait.wait.func = memcg_oom_wake_function; in mem_cgroup_oom_synchronize()
2047 owait.wait.private = current; in mem_cgroup_oom_synchronize()
2048 INIT_LIST_HEAD(&owait.wait.entry); in mem_cgroup_oom_synchronize()
2050 prepare_to_wait(&memcg_oom_waitq, &owait.wait, TASK_KILLABLE); in mem_cgroup_oom_synchronize()
2060 finish_wait(&memcg_oom_waitq, &owait.wait); in mem_cgroup_oom_synchronize()
2066 finish_wait(&memcg_oom_waitq, &owait.wait); in mem_cgroup_oom_synchronize()
4832 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove()
4849 static int memcg_event_wake(wait_queue_entry_t *wait, unsigned mode, in memcg_event_wake() argument
4853 container_of(wait, struct mem_cgroup_event, wait); in memcg_event_wake()
4889 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc()
4934 init_waitqueue_func_entry(&event->wait, memcg_event_wake); in memcg_write_event_control()