Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dmisc_cgroup.h14 enum misc_res_type { enum
56 unsigned long misc_cg_res_total_usage(enum misc_res_type type);
57 int misc_cg_set_capacity(enum misc_res_type type, unsigned long capacity);
58 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg,
60 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg,
102 static inline unsigned long misc_cg_res_total_usage(enum misc_res_type type) in misc_cg_res_total_usage()
107 static inline int misc_cg_set_capacity(enum misc_res_type type, in misc_cg_set_capacity()
113 static inline int misc_cg_try_charge(enum misc_res_type type, in misc_cg_try_charge()
120 static inline void misc_cg_uncharge(enum misc_res_type type, in misc_cg_uncharge()
/linux-6.1.9/kernel/cgroup/
Dmisc.c65 static inline bool valid_type(enum misc_res_type type) in valid_type()
77 unsigned long misc_cg_res_total_usage(enum misc_res_type type) in misc_cg_res_total_usage()
98 int misc_cg_set_capacity(enum misc_res_type type, unsigned long capacity) in misc_cg_set_capacity()
116 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge()
140 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_try_charge()
187 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_uncharge()
252 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write()
388 enum misc_res_type i; in misc_cg_alloc()
/linux-6.1.9/arch/x86/kvm/svm/
Dsev.c126 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
132 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
/linux-6.1.9/Documentation/admin-guide/
Dcgroup-v2.rst2409 A resource can be added to the controller via enum misc_res_type{} in the