Searched refs:ev (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | vmpressure.c | 164 struct vmpressure_event *ev; in vmpressure_event() local 168 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event() 169 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event() 171 if (signalled && ev->mode == VMPRESSURE_NO_PASSTHROUGH) in vmpressure_event() 173 if (level < ev->level) in vmpressure_event() 175 eventfd_signal(ev->efd, 1); in vmpressure_event() 378 struct vmpressure_event *ev; in vmpressure_register_event() local 405 ev = kzalloc(sizeof(*ev), GFP_KERNEL); in vmpressure_register_event() 406 if (!ev) { in vmpressure_register_event() 411 ev->efd = eventfd; in vmpressure_register_event() [all …]
|
D | memcontrol.c | 4306 struct mem_cgroup_eventfd_list *ev; in mem_cgroup_oom_notify_cb() local 4310 list_for_each_entry(ev, &memcg->oom_notify, list) in mem_cgroup_oom_notify_cb() 4311 eventfd_signal(ev->eventfd, 1); in mem_cgroup_oom_notify_cb() 4539 struct mem_cgroup_eventfd_list *ev, *tmp; in mem_cgroup_oom_unregister_event() local 4543 list_for_each_entry_safe(ev, tmp, &memcg->oom_notify, list) { in mem_cgroup_oom_unregister_event() 4544 if (ev->eventfd == eventfd) { in mem_cgroup_oom_unregister_event() 4545 list_del(&ev->list); in mem_cgroup_oom_unregister_event() 4546 kfree(ev); in mem_cgroup_oom_unregister_event()
|