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

/linux-master/kernel/cgroup/
H A Dmisc.c57 * valid_type() - Check if @type is valid or not.
65 static inline bool valid_type(enum misc_res_type type) function
79 if (valid_type(type))
100 if (!valid_type(type))
147 if (!(valid_type(type) && cg && READ_ONCE(misc_res_capacity[type])))
190 if (!(amount && valid_type(type) && cg))
/linux-master/drivers/hwmon/
H A Dhp-wmi-sensors.c513 acpi_object_type valid_type; local
528 valid_type = property_map[prop];
529 if (type != valid_type) {
531 valid_type == ACPI_TYPE_STRING &&
580 acpi_object_type valid_type; local
633 valid_type = hp_wmi_property_map[prop];
634 if (type != valid_type)
654 if (type != valid_type)

Completed in 157 milliseconds