Lines Matching refs:res
52 unsigned long long res; in _parse_integer_limit() local
55 res = 0; in _parse_integer_limit()
75 if (unlikely(res & (~0ull << 60))) { in _parse_integer_limit()
76 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer_limit()
79 res = res * base + val; in _parse_integer_limit()
83 *p = res; in _parse_integer_limit()
92 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull() argument
108 *res = _res; in _kstrtoull()
128 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() argument
132 return _kstrtoull(s, base, res); in kstrtoull()
152 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll() argument
163 *res = -tmp; in kstrtoll()
170 *res = tmp; in kstrtoll()
177 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul() argument
187 *res = tmp; in _kstrtoul()
193 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol() argument
203 *res = tmp; in _kstrtol()
224 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() argument
234 *res = tmp; in kstrtouint()
255 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() argument
265 *res = tmp; in kstrtoint()
270 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() argument
280 *res = tmp; in kstrtou16()
285 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16() argument
295 *res = tmp; in kstrtos16()
300 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() argument
310 *res = tmp; in kstrtou8()
315 int kstrtos8(const char *s, unsigned int base, s8 *res) in kstrtos8() argument
325 *res = tmp; in kstrtos8()
339 int kstrtobool(const char *s, bool *res) in kstrtobool() argument
348 *res = true; in kstrtobool()
353 *res = false; in kstrtobool()
360 *res = true; in kstrtobool()
364 *res = false; in kstrtobool()
381 int kstrtobool_from_user(const char __user *s, size_t count, bool *res) in kstrtobool_from_user() argument
390 return kstrtobool(buf, res); in kstrtobool_from_user()
395 int f(const char __user *s, size_t count, unsigned int base, type *res) \
404 return g(buf, base, res); \