Lines Matching refs:result
129 * @result: resulting integer on success
135 * Return: On success, sets @result to the integer represented by the
138 static int match_number(substring_t *s, int *result, int base)
154 *result = (int) val;
161 * @result: resulting u64 on success
167 * Return: On success, sets @result to the integer represented by the
170 static int match_u64int(substring_t *s, u64 *result, int base)
180 *result = val;
187 * @result: resulting integer on success
191 * Return: On success, sets @result to the integer represented by the string
194 int match_int(substring_t *s, int *result)
196 return match_number(s, result, 0);
203 * @result: resulting integer on success
207 * Return: On success, sets @result to the integer represented by the string
210 int match_uint(substring_t *s, unsigned int *result)
217 return kstrtouint(buf, 10, result);
225 * @result: resulting unsigned long long on success
230 * Return: On success, sets @result to the integer represented by the string
233 int match_u64(substring_t *s, u64 *result)
235 return match_u64int(s, result, 0);
242 * @result: resulting integer on success
246 * Return: On success, sets @result to the integer represented by the string
249 int match_octal(substring_t *s, int *result)
251 return match_number(s, result, 8);
258 * @result: resulting integer on success
262 * Return: On success, sets @result to the integer represented by the string
265 int match_hex(substring_t *s, int *result)
267 return match_number(s, result, 16);