Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/cgroup/
Dmisc.c40 static u64 misc_res_capacity[MISC_CG_RES_TYPES]; variable
103 WRITE_ONCE(misc_res_capacity[type], capacity); in misc_cg_set_capacity()
147 if (!(valid_type(type) && cg && READ_ONCE(misc_res_capacity[type]))) in misc_cg_try_charge()
158 new_usage > READ_ONCE(misc_res_capacity[type])) { in misc_cg_try_charge()
213 if (READ_ONCE(misc_res_capacity[i])) { in misc_cg_max_show()
279 if (READ_ONCE(misc_res_capacity[type])) in misc_cg_max_write()
303 if (READ_ONCE(misc_res_capacity[i]) || usage) in misc_cg_current_show()
326 cap = READ_ONCE(misc_res_capacity[i]); in misc_cg_capacity_show()
342 if (READ_ONCE(misc_res_capacity[i]) || events) in misc_events_show()