Searched refs:psi (Results 1 – 3 of 3) sorted by relevance
/kernel/sched/ |
D | psi.c | 1058 cgroup->psi = kzalloc(sizeof(struct psi_group), GFP_KERNEL); in psi_cgroup_alloc() 1059 if (!cgroup->psi) in psi_cgroup_alloc() 1062 cgroup->psi->pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc() 1063 if (!cgroup->psi->pcpu) { in psi_cgroup_alloc() 1064 kfree(cgroup->psi); in psi_cgroup_alloc() 1067 group_init(cgroup->psi); in psi_cgroup_alloc() 1068 cgroup->psi->parent = cgroup_psi(cgroup_parent(cgroup)); in psi_cgroup_alloc() 1077 cancel_delayed_work_sync(&cgroup->psi->avgs_work); in psi_cgroup_free() 1078 free_percpu(cgroup->psi->pcpu); in psi_cgroup_free() 1080 WARN_ONCE(cgroup->psi->poll_states, "psi: trigger leak\n"); in psi_cgroup_free() [all …]
|
/kernel/cgroup/ |
D | cgroup.c | 3746 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_io_pressure_show() local 3748 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show() 3753 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_memory_pressure_show() local 3755 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show() 3760 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_cpu_pressure_show() local 3762 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show() 3771 struct psi_group *psi; in pressure_write() local 3781 if (ctx->psi.trigger) { in pressure_write() 3786 psi = cgroup_psi(cgrp); in pressure_write() 3787 new = psi_trigger_create(psi, buf, res); in pressure_write() [all …]
|
D | cgroup-internal.h | 74 } psi; member
|