Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmisc_cgroup.h14 enum misc_res_type { enum
57 u64 misc_cg_res_total_usage(enum misc_res_type type);
58 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity);
59 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount);
60 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount);
101 static inline u64 misc_cg_res_total_usage(enum misc_res_type type) in misc_cg_res_total_usage()
106 static inline int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity()
111 static inline int misc_cg_try_charge(enum misc_res_type type, in misc_cg_try_charge()
118 static inline void misc_cg_uncharge(enum misc_res_type type, in misc_cg_uncharge()
/openbmc/linux/kernel/cgroup/
H A Dmisc.c65 static inline bool valid_type(enum misc_res_type type) in valid_type()
77 u64 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, u64 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, u64 amount) in misc_cg_try_charge()
186 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
250 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write()
386 enum misc_res_type i; in misc_cg_alloc()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c135 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
141 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
/openbmc/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2429 A resource can be added to the controller via enum misc_res_type{} in the