Lines Matching defs:val
119 static int bch2_opt_fix_errors_parse(struct bch_fs *c, const char *val, u64 *res,
122 if (!val) {
125 int ret = match_string(bch2_fsck_fix_opts, -1, val);
325 const char *val, u64 *res,
332 if (val) {
333 ret = kstrtou64(val, 10, res);
346 if (!val) {
353 ? bch2_strtou64_h(val, res)
354 : kstrtou64(val, 10, res);
363 if (!val) {
369 ret = match_string(opt->choices, -1, val);
380 ret = opt->fn.parse(c, val, res, err);
467 char *opt, *name, *val;
489 val = opt;
495 !val &&
498 val = "0";
517 ret = bch2_opt_parse(c, &bch2_opt_table[id], val, &v, &err);