Lines Matching refs:res
53 unsigned long long res;
56 res = 0;
76 if (unlikely(res & (~0ull << 60))) {
77 if (res > div_u64(ULLONG_MAX - val, base))
80 res = res * base + val;
84 *p = res;
93 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res)
109 *res = _res;
123 * @res: Where to write the result of the conversion on success.
128 int kstrtoull(const char *s, unsigned int base, unsigned long long *res)
132 return _kstrtoull(s, base, res);
146 * @res: Where to write the result of the conversion on success.
151 int kstrtoll(const char *s, unsigned int base, long long *res)
162 *res = -tmp;
169 *res = tmp;
176 int _kstrtoul(const char *s, unsigned int base, unsigned long *res)
186 *res = tmp;
192 int _kstrtol(const char *s, unsigned int base, long *res)
202 *res = tmp;
217 * @res: Where to write the result of the conversion on success.
222 int kstrtouint(const char *s, unsigned int base, unsigned int *res)
232 *res = tmp;
247 * @res: Where to write the result of the conversion on success.
252 int kstrtoint(const char *s, unsigned int base, int *res)
262 *res = tmp;
267 int kstrtou16(const char *s, unsigned int base, u16 *res)
277 *res = tmp;
282 int kstrtos16(const char *s, unsigned int base, s16 *res)
292 *res = tmp;
297 int kstrtou8(const char *s, unsigned int base, u8 *res)
307 *res = tmp;
312 int kstrtos8(const char *s, unsigned int base, s8 *res)
322 *res = tmp;
330 * @res: result
334 * pointed to by res is updated upon finding a match.
336 int kstrtobool(const char *s, bool *res)
345 *res = true;
350 *res = false;
357 *res = true;
361 *res = false;
378 int kstrtobool_from_user(const char __user *s, size_t count, bool *res)
387 return kstrtobool(buf, res);
392 int f(const char __user *s, size_t count, unsigned int base, type *res) \
401 return g(buf, base, res); \