Searched refs:misc_res_type (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | misc_cgroup.h | 14 enum misc_res_type { enum 63 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity); 64 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 65 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount); 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()
|
| /linux-6.15/kernel/cgroup/ |
| H A D | misc.c | 65 static inline bool valid_type(enum misc_res_type type) in valid_type() 82 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() 100 static void misc_cg_cancel_charge(enum misc_res_type type, struct misc_cg *cg, in misc_cg_cancel_charge() 121 static void misc_cg_event(enum misc_res_type type, struct misc_cg *cg) in misc_cg_event() 148 int misc_cg_try_charge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_try_charge() 192 void misc_cg_uncharge(enum misc_res_type type, struct misc_cg *cg, u64 amount) in misc_cg_uncharge() 256 enum misc_res_type type = MISC_CG_RES_TYPES; in misc_cg_max_write() 438 enum misc_res_type i; in misc_cg_alloc()
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | sev.c | 164 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge() 170 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge()
|
| /linux-6.15/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 2740 A resource can be added to the controller via enum misc_res_type{} in the
|