Home
last modified time | relevance | path

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

/linux-6.12.1/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()
171 if (!(valid_type(type) && cg && READ_ONCE(misc_res_capacity[type]))) in misc_cg_try_charge()
182 new_usage > READ_ONCE(misc_res_capacity[type])) { in misc_cg_try_charge()
235 if (READ_ONCE(misc_res_capacity[i])) { in misc_cg_max_show()
301 if (READ_ONCE(misc_res_capacity[type])) in misc_cg_max_write()
325 if (READ_ONCE(misc_res_capacity[i]) || usage) in misc_cg_current_show()
348 if (READ_ONCE(misc_res_capacity[i]) || watermark) in misc_cg_peak_show()
371 cap = READ_ONCE(misc_res_capacity[i]); in misc_cg_capacity_show()
390 if (READ_ONCE(misc_res_capacity[i]) || events) in __misc_events_show()