Searched refs:vmpr (Results 1 – 3 of 3) sorted by relevance
78 static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr) in vmpressure_parent() argument80 struct cgroup_subsys_state *css = vmpressure_to_css(vmpr); in vmpressure_parent()161 static bool vmpressure_event(struct vmpressure *vmpr, in vmpressure_event() argument168 mutex_lock(&vmpr->events_lock); in vmpressure_event()169 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event()179 mutex_unlock(&vmpr->events_lock); in vmpressure_event()186 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() local193 spin_lock(&vmpr->sr_lock); in vmpressure_work_fn()202 scanned = vmpr->tree_scanned; in vmpressure_work_fn()204 spin_unlock(&vmpr->sr_lock); in vmpressure_work_fn()[all …]
259 struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr) in vmpressure_to_css() argument261 return &container_of(vmpr, struct mem_cgroup, vmpressure)->css; in vmpressure_to_css()
37 extern void vmpressure_init(struct vmpressure *vmpr);38 extern void vmpressure_cleanup(struct vmpressure *vmpr);40 extern struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr);