Home
last modified time | relevance | path

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

/linux/include/linux/
A 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/kernel/cgroup/
A 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/arch/x86/kvm/svm/
A Dsev.c125 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
131 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
/linux/Documentation/admin-guide/
A Dcgroup-v2.rst2271 A resource can be added to the controller via enum misc_res_type{} in the

Completed in 16 milliseconds