Searched refs:ev (Results 1 – 2 of 2) sorted by relevance
/mm/ |
D | vmpressure.c | 162 struct vmpressure_event *ev; in vmpressure_event() local 166 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event() 167 if (ancestor && ev->mode == VMPRESSURE_LOCAL) in vmpressure_event() 169 if (signalled && ev->mode == VMPRESSURE_NO_PASSTHROUGH) in vmpressure_event() 171 if (level < ev->level) in vmpressure_event() 173 eventfd_signal(ev->efd, 1); in vmpressure_event() 366 struct vmpressure_event *ev; in vmpressure_register_event() local 395 ev = kzalloc(sizeof(*ev), GFP_KERNEL); in vmpressure_register_event() 396 if (!ev) { in vmpressure_register_event() 401 ev->efd = eventfd; in vmpressure_register_event() [all …]
|
D | memcontrol.c | 4034 struct mem_cgroup_eventfd_list *ev; in mem_cgroup_oom_notify_cb() local 4038 list_for_each_entry(ev, &memcg->oom_notify, list) in mem_cgroup_oom_notify_cb() 4039 eventfd_signal(ev->eventfd, 1); in mem_cgroup_oom_notify_cb() 4262 struct mem_cgroup_eventfd_list *ev, *tmp; in mem_cgroup_oom_unregister_event() local 4266 list_for_each_entry_safe(ev, tmp, &memcg->oom_notify, list) { in mem_cgroup_oom_unregister_event() 4267 if (ev->eventfd == eventfd) { in mem_cgroup_oom_unregister_event() 4268 list_del(&ev->list); in mem_cgroup_oom_unregister_event() 4269 kfree(ev); in mem_cgroup_oom_unregister_event()
|