Lines Matching refs:opts
9 #include "opts.h"
98 static void prt_str_opt_boundscheck(struct printbuf *out, const char * const opts[],
102 prt_str(out, opts[idx]);
183 bool bch2_opt_defined_by_id(const struct bch_opts *opts, enum bch_opt_id id)
188 return opt_defined(*opts, _name);
196 u64 bch2_opt_get_by_id(const struct bch_opts *opts, enum bch_opt_id id)
201 return opts->_name;
209 void bch2_opt_set_by_id(struct bch_opts *opts, enum bch_opt_id id, u64 v)
214 opt_set(*opts, _name, v); \
455 bch2_opt_get_by_id(&c->opts, i));
463 int bch2_parse_mount_opts(struct bch_fs *c, struct bch_opts *opts,
521 bch2_opt_set_by_id(opts, id, v);
561 int bch2_opts_from_sb(struct bch_opts *opts, struct bch_sb *sb)
571 bch2_opt_set_by_id(opts, id, bch2_opt_from_sb(sb, id));
602 /* io opts: */