Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dmisc_cgroup.h14 enum misc_res_type { enum
67 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity);
68 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount);
69 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount);
110 static inline int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity()
115 static inline int misc_cg_try_charge(enum misc_res_type type, in misc_cg_try_charge()
122 static inline void misc_cg_uncharge(enum misc_res_type type, in misc_cg_uncharge()
/linux/kernel/cgroup/
H A Dmisc.c69 static inline bool valid_type(enum misc_res_type type) in valid_type()
86 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity()
104 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge()
125 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event()
152 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge()
196 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge()
260 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write()
442 enum misc_res_type i; in misc_cg_alloc()
/linux/arch/x86/kvm/svm/
H A Dsev.c191 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge()
197 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()