Lines Matching refs:res
49 unsigned long long res; in _parse_integer() local
53 res = 0; in _parse_integer()
72 if (unlikely(res & (~0ull << 60))) { in _parse_integer()
73 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer()
76 res = res * base + val; in _parse_integer()
80 *p = res; in _parse_integer()
86 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull() argument
102 *res = _res; in _kstrtoull()
122 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() argument
126 return _kstrtoull(s, base, res); in kstrtoull()
146 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll() argument
157 *res = -tmp; in kstrtoll()
164 *res = tmp; in kstrtoll()
171 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul() argument
181 *res = tmp; in _kstrtoul()
187 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol() argument
197 *res = tmp; in _kstrtol()
218 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() argument
228 *res = tmp; in kstrtouint()
249 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() argument
259 *res = tmp; in kstrtoint()
264 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() argument
274 *res = tmp; in kstrtou16()
279 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16() argument
289 *res = tmp; in kstrtos16()
294 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() argument
304 *res = tmp; in kstrtou8()
309 int kstrtos8(const char *s, unsigned int base, s8 *res) in kstrtos8() argument
319 *res = tmp; in kstrtos8()
333 int kstrtobool(const char *s, bool *res) in kstrtobool() argument
342 *res = true; in kstrtobool()
347 *res = false; in kstrtobool()
354 *res = true; in kstrtobool()
358 *res = false; in kstrtobool()
375 int kstrtobool_from_user(const char __user *s, size_t count, bool *res) in kstrtobool_from_user() argument
384 return kstrtobool(buf, res); in kstrtobool_from_user()
389 int f(const char __user *s, size_t count, unsigned int base, type *res) \
398 return g(buf, base, res); \