Home
last modified time | relevance | path

Searched refs:vmpr (Results 1 – 2 of 2) sorted by relevance

/mm/
Dvmpressure.c75 static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr) in vmpressure_parent() argument
77 struct cgroup_subsys_state *css = vmpressure_to_css(vmpr); in vmpressure_parent()
158 static bool vmpressure_event(struct vmpressure *vmpr, in vmpressure_event() argument
165 mutex_lock(&vmpr->events_lock); in vmpressure_event()
166 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event()
176 mutex_unlock(&vmpr->events_lock); in vmpressure_event()
183 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() local
190 spin_lock(&vmpr->sr_lock); in vmpressure_work_fn()
199 scanned = vmpr->tree_scanned; in vmpressure_work_fn()
201 spin_unlock(&vmpr->sr_lock); in vmpressure_work_fn()
[all …]
Dmemcontrol.c263 struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr) in vmpressure_to_css() argument
265 return &container_of(vmpr, struct mem_cgroup, vmpressure)->css; in vmpressure_to_css()