Searched refs:vmpr (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/mm/ |
H A D | vmpressure.c | 75 static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr) in vmpressure_parent() argument 77 struct mem_cgroup *memcg = vmpressure_to_memcg(vmpr); in vmpressure_parent() 157 static bool vmpressure_event(struct vmpressure *vmpr, in vmpressure_event() argument 164 mutex_lock(&vmpr->events_lock); in vmpressure_event() 165 list_for_each_entry(ev, &vmpr->events, node) { in vmpressure_event() 175 mutex_unlock(&vmpr->events_lock); in vmpressure_event() 182 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() local 189 spin_lock(&vmpr->sr_lock); in vmpressure_work_fn() 196 * vmpr->reclaimed is in sync. in vmpressure_work_fn() 198 scanned = vmpr in vmpressure_work_fn() 242 struct vmpressure *vmpr; vmpressure() local 377 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); vmpressure_register_event() local 438 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); vmpressure_unregister_event() local 459 vmpressure_init(struct vmpressure *vmpr) vmpressure_init() argument 474 vmpressure_cleanup(struct vmpressure *vmpr) vmpressure_cleanup() argument [all...] |
H A D | memcontrol.c | 248 struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr) in vmpressure_to_memcg() argument 250 return container_of(vmpr, struct mem_cgroup, vmpressure); in vmpressure_to_memcg()
|
/kernel/linux/linux-5.10/mm/ |
H A D | vmpressure.c | 75 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() 197 * vmpr->reclaimed is in sync. in vmpressure_work_fn() 199 scanned = vmpr in vmpressure_work_fn() 243 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); vmpressure() local 365 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); vmpressure_register_event() local 426 struct vmpressure *vmpr = memcg_to_vmpressure(memcg); vmpressure_unregister_event() local 447 vmpressure_init(struct vmpressure *vmpr) vmpressure_init() argument 462 vmpressure_cleanup(struct vmpressure *vmpr) vmpressure_cleanup() argument [all...] |
H A D | memcontrol.c | 248 struct cgroup_subsys_state *vmpressure_to_css(struct vmpressure *vmpr) in vmpressure_to_css() argument 250 return &container_of(vmpr, struct mem_cgroup, vmpressure)->css; in vmpressure_to_css()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | vmpressure.h | 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);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | vmpressure.h | 37 extern void vmpressure_init(struct vmpressure *vmpr); 38 extern void vmpressure_cleanup(struct vmpressure *vmpr); 40 extern struct mem_cgroup *vmpressure_to_memcg(struct vmpressure *vmpr);
|
Completed in 22 milliseconds