Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/cgroup/
Dmisc.c65 static inline bool valid_type(enum misc_res_type type) in valid_type() function
79 if (valid_type(type)) in misc_cg_res_total_usage()
100 if (!valid_type(type)) in misc_cg_set_capacity()
171 if (!(valid_type(type) && cg && READ_ONCE(misc_res_capacity[type]))) in misc_cg_try_charge()
212 if (!(amount && valid_type(type) && cg)) in misc_cg_uncharge()
/linux-6.12.1/drivers/hwmon/
Dhp-wmi-sensors.c513 acpi_object_type valid_type; in check_wobj() local
528 valid_type = property_map[prop]; in check_wobj()
529 if (type != valid_type) { in check_wobj()
531 valid_type == ACPI_TYPE_STRING && in check_wobj()
580 acpi_object_type valid_type; in check_numeric_sensor_wobj() local
633 valid_type = hp_wmi_property_map[prop]; in check_numeric_sensor_wobj()
634 if (type != valid_type) in check_numeric_sensor_wobj()
654 if (type != valid_type) in check_numeric_sensor_wobj()