Lines Matching refs:res

9 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res);
10 int __must_check _kstrtol(const char *s, unsigned int base, long *res);
12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
13 int __must_check kstrtoll(const char *s, unsigned int base, long long *res);
25 * @res: Where to write the result of the conversion on success.
30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res)
38 return kstrtoull(s, base, (unsigned long long *)res);
40 return _kstrtoul(s, base, res);
53 * @res: Where to write the result of the conversion on success.
58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res)
66 return kstrtoll(s, base, (long long *)res);
68 return _kstrtol(s, base, res);
71 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
72 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
74 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res)
76 return kstrtoull(s, base, res);
79 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res)
81 return kstrtoll(s, base, res);
84 static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res)
86 return kstrtouint(s, base, res);
89 static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res)
91 return kstrtoint(s, base, res);
94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
95 int __must_check kstrtos16(const char *s, unsigned int base, s16 *res);
96 int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
97 int __must_check kstrtos8(const char *s, unsigned int base, s8 *res);
98 int __must_check kstrtobool(const char *s, bool *res);
100 int __must_check kstrtoull_from_user(const char __user *s, size_t count, unsigned int base, unsigned long long *res);
101 int __must_check kstrtoll_from_user(const char __user *s, size_t count, unsigned int base, long long *res);
102 int __must_check kstrtoul_from_user(const char __user *s, size_t count, unsigned int base, unsigned long *res);
103 int __must_check kstrtol_from_user(const char __user *s, size_t count, unsigned int base, long *res);
104 int __must_check kstrtouint_from_user(const char __user *s, size_t count, unsigned int base, unsigned int *res);
105 int __must_check kstrtoint_from_user(const char __user *s, size_t count, unsigned int base, int *res);
106 int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
107 int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
108 int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
109 int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
110 int __must_check kstrtobool_from_user(const char __user *s, size_t count, bool *res);
112 static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
114 return kstrtoull_from_user(s, count, base, res);
117 static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res)
119 return kstrtoll_from_user(s, count, base, res);
122 static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res)
124 return kstrtouint_from_user(s, count, base, res);
127 static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res)
129 return kstrtoint_from_user(s, count, base, res);