Searched refs:ev (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | vmpressure.c | 150 struct vmpressure_event *ev; in vmpressure_event() local 155 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event() 156 if (level >= ev->level) { in vmpressure_event() 157 eventfd_signal(ev->efd, 1); in vmpressure_event() 347 struct vmpressure_event *ev; in vmpressure_register_event() local 358 ev = kzalloc(sizeof(*ev), GFP_KERNEL); in vmpressure_register_event() 359 if (!ev) in vmpressure_register_event() 362 ev->efd = eventfd; in vmpressure_register_event() 363 ev->level = level; in vmpressure_register_event() 366 list_add(&ev->node, &vmpr->events); in vmpressure_register_event() [all …]
|
D | memcontrol.c | 3336 struct mem_cgroup_eventfd_list *ev; in mem_cgroup_oom_notify_cb() local 3340 list_for_each_entry(ev, &memcg->oom_notify, list) in mem_cgroup_oom_notify_cb() 3341 eventfd_signal(ev->eventfd, 1); in mem_cgroup_oom_notify_cb() 3565 struct mem_cgroup_eventfd_list *ev, *tmp; in mem_cgroup_oom_unregister_event() local 3569 list_for_each_entry_safe(ev, tmp, &memcg->oom_notify, list) { in mem_cgroup_oom_unregister_event() 3570 if (ev->eventfd == eventfd) { in mem_cgroup_oom_unregister_event() 3571 list_del(&ev->list); in mem_cgroup_oom_unregister_event() 3572 kfree(ev); in mem_cgroup_oom_unregister_event()
|