Searched refs:dec_shift (Results 1 – 1 of 1) sorted by relevance
6603 int cgroup_parse_float(const char *input, unsigned dec_shift, s64 *v) in cgroup_parse_float() argument6614 if (flen < dec_shift) in cgroup_parse_float()6615 frac *= power_of_ten(dec_shift - flen); in cgroup_parse_float()6617 frac = DIV_ROUND_CLOSEST_ULL(frac, power_of_ten(flen - dec_shift)); in cgroup_parse_float()6619 *v = whole * power_of_ten(dec_shift) + frac; in cgroup_parse_float()