Lines Matching full:ranges
7 * It might be useful if we could support also inversely proportional ranges?
36 * linear_range_values_in_range_array - return the amount of values in ranges
37 * @r: pointer to array of linear ranges where values are counted
38 * @ranges: amount of ranges we include in computation.
40 * Compute the amount of values in ranges pointed by @r. Note, values can
44 * Return: the amount of values in first @ranges ranges pointed by @r
47 int ranges) in linear_range_values_in_range_array() argument
51 for (i = 0; i < ranges; i++) { in linear_range_values_in_range_array()
82 * Search given ranges for value which matches given selector.
85 * ranges.
100 * linear_range_get_value_array - fetch a value from array of ranges
101 * @r: pointer to array of linear ranges where value is looked from
102 * @ranges: amount of ranges in an array
106 * Search through an array of ranges for value which matches given selector.
109 * ranges.
111 int linear_range_get_value_array(const struct linear_range *r, int ranges, in linear_range_get_value_array() argument
116 for (i = 0; i < ranges; i++) in linear_range_get_value_array()
165 * @r: pointer to array of linear ranges where selector is looked from
166 * @ranges: amount of ranges to scan from array
171 * Scan array of ranges for selector for which range value matches given
176 * biggest selector is updated to @selector but scanning ranges is continued
183 int ranges, unsigned int val, in linear_range_get_selector_low_array() argument
189 for (i = 0; i < ranges; i++) { in linear_range_get_selector_low_array()
275 MODULE_DESCRIPTION("linear-ranges helper");