Lines Matching refs:wait
85 wait_queue_entry_t wait; member
985 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove()
1002 static int memcg_event_wake(wait_queue_entry_t *wait, unsigned int mode, in memcg_event_wake() argument
1006 container_of(wait, struct mem_cgroup_event, wait); in memcg_event_wake()
1042 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc()
1097 init_waitqueue_func_entry(&event->wait, memcg_event_wake); in memcg_write_event_control()
1301 wait_queue_entry_t wait; member
1304 static int memcg_oom_wake_function(wait_queue_entry_t *wait, in memcg_oom_wake_function() argument
1311 oom_wait_info = container_of(wait, struct oom_wait_info, wait); in memcg_oom_wake_function()
1317 return autoremove_wake_function(wait, mode, sync, arg); in memcg_oom_wake_function()
1365 owait.wait.flags = 0; in mem_cgroup_oom_synchronize()
1366 owait.wait.func = memcg_oom_wake_function; in mem_cgroup_oom_synchronize()
1367 owait.wait.private = current; in mem_cgroup_oom_synchronize()
1368 INIT_LIST_HEAD(&owait.wait.entry); in mem_cgroup_oom_synchronize()
1370 prepare_to_wait(&memcg_oom_waitq, &owait.wait, TASK_KILLABLE); in mem_cgroup_oom_synchronize()
1380 finish_wait(&memcg_oom_waitq, &owait.wait); in mem_cgroup_oom_synchronize()