Home
last modified time | relevance | path

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

/linux/mm/
H A Dmemcontrol-v1.c1535 static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr) in vmpressure_parent() argument
1537 struct mem_cgroup *memcg = vmpressure_to_memcg(vmpr); in vmpressure_parent()
1545 static bool vmpressure_event(struct vmpressure *vmpr, in vmpressure_event() argument
1552 mutex_lock(&vmpr->events_lock); in vmpressure_event()
1553 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event()
1563 mutex_unlock(&vmpr->events_lock); in vmpressure_event()
1570 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() local
1577 spin_lock(&vmpr->sr_lock); in vmpressure_work_fn()
1586 scanned = vmpr->tree_scanned; in vmpressure_work_fn()
1588 spin_unlock(&vmpr->sr_lock); in vmpressure_work_fn()
[all …]
H A Dmemcontrol.c123 struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr) in vmpressure_to_memcg() argument
125 return container_of(vmpr, struct mem_cgroup, vmpressure); in vmpressure_to_memcg()