Home
last modified time | relevance | path

Searched refs:misc_cg_set_capacity (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/linux/
H A Dmisc_cgroup.h58 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity);
106 static inline int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() function
/openbmc/linux/kernel/cgroup/
H A Dmisc.c98 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() function
106 EXPORT_SYMBOL_GPL(misc_cg_set_capacity);
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c2254 WARN_ON_ONCE(misc_cg_set_capacity(MISC_CG_RES_SEV, sev_asid_count)); in sev_hardware_setup()
2286 WARN_ON_ONCE(misc_cg_set_capacity(MISC_CG_RES_SEV_ES, sev_es_asid_count)); in sev_hardware_setup()
2320 misc_cg_set_capacity(MISC_CG_RES_SEV, 0); in sev_hardware_unsetup()
2321 misc_cg_set_capacity(MISC_CG_RES_SEV_ES, 0); in sev_hardware_unsetup()
/openbmc/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2432 capacity prior to using the resource by calling misc_cg_set_capacity().