Lines Matching refs:res
55 unsigned long long res;
58 res = 0;
78 if (unlikely(res & (~0ull << 60))) {
79 if (res > div_u64(ULLONG_MAX - val, base))
82 res = res * base + val;
86 *p = res;
96 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res)
112 *res = _res;
126 * @res: Where to write the result of the conversion on success.
132 int kstrtoull(const char *s, unsigned int base, unsigned long long *res)
136 return _kstrtoull(s, base, res);
150 * @res: Where to write the result of the conversion on success.
156 int kstrtoll(const char *s, unsigned int base, long long *res)
167 *res = -tmp;
174 *res = tmp;
181 int _kstrtoul(const char *s, unsigned int base, unsigned long *res)
191 *res = tmp;
197 int _kstrtol(const char *s, unsigned int base, long *res)
207 *res = tmp;
222 * @res: Where to write the result of the conversion on success.
228 int kstrtouint(const char *s, unsigned int base, unsigned int *res)
238 *res = tmp;
253 * @res: Where to write the result of the conversion on success.
259 int kstrtoint(const char *s, unsigned int base, int *res)
269 *res = tmp;
275 int kstrtou16(const char *s, unsigned int base, u16 *res)
285 *res = tmp;
291 int kstrtos16(const char *s, unsigned int base, s16 *res)
301 *res = tmp;
307 int kstrtou8(const char *s, unsigned int base, u8 *res)
317 *res = tmp;
323 int kstrtos8(const char *s, unsigned int base, s8 *res)
333 *res = tmp;
341 * @res: result
345 * pointed to by res is updated upon finding a match.
348 int kstrtobool(const char *s, bool *res)
359 *res = true;
366 *res = false;
373 *res = true;
377 *res = false;
395 int kstrtobool_from_user(const char __user *s, size_t count, bool *res)
404 return kstrtobool(buf, res);
409 int f(const char __user *s, size_t count, unsigned int base, type *res) \
418 return g(buf, base, res); \