Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmisc_cgroup.h67 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity);
110 static inline int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() function
/linux/kernel/cgroup/
H A Dmisc.c86 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() function
94 EXPORT_SYMBOL_GPL(misc_cg_set_capacity);
/linux/arch/x86/kvm/svm/
H A Dsev.c3178 WARN_ON_ONCE(misc_cg_set_capacity(MISC_CG_RES_SEV, sev_asid_count)); in sev_hardware_setup()
3213 WARN_ON_ONCE(misc_cg_set_capacity(MISC_CG_RES_SEV_ES, sev_es_asid_count)); in sev_hardware_setup()
3299 misc_cg_set_capacity(MISC_CG_RES_SEV, 0); in sev_cpu_init()
3300 misc_cg_set_capacity(MISC_CG_RES_SEV_ES, 0); in sev_cpu_init()
/linux/arch/x86/kvm/vmx/
H A Dtdx.c3432 misc_cg_set_capacity(MISC_CG_RES_TDX, 0); in __tdx_hardware_setup()
3503 if (misc_cg_set_capacity(MISC_CG_RES_TDX, tdx_get_nr_guest_keyids())) in tdx_hardware_setup()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst3063 capacity prior to using the resource by calling misc_cg_set_capacity().