Lines Matching full:capacity
33 * Miscellaneous resources capacity for the entire machine. 0 capacity means
36 * root_cg.max and capacity are independent of each other. root_cg.max can be
37 * more than the actual capacity. We are using Limits resource distribution
87 * misc_cg_set_capacity() - Set the capacity of the misc cgroup res.
89 * @capacity: Supported capacity of the misc res on the host.
91 * If capacity is 0 then the charging a misc cgroup fails for that type.
95 * * %0 - Successfully registered the capacity.
98 int misc_cg_set_capacity(enum misc_res_type type, u64 capacity) in misc_cg_set_capacity() argument
103 WRITE_ONCE(misc_res_capacity[type], capacity); in misc_cg_set_capacity()
160 * * -EINVAL - If @type is invalid or misc res has 0 capacity.
162 * capacity.
264 * * -ERANGE - If number is bigger than the u64 capacity.
356 * misc_cg_capacity_show() - Show the total capacity of misc res on the host.
423 .name = "capacity",