Searched refs:bch2_opt_table (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | opts.c | 224 const struct bch_option bch2_opt_table[] = { variable 260 for (i = bch2_opt_table; in bch2_opt_lookup() 261 i < bch2_opt_table + ARRAY_SIZE(bch2_opt_table); in bch2_opt_lookup() 264 return i - bch2_opt_table; in bch2_opt_lookup() 458 const struct bch_option *opt = &bch2_opt_table[i]; in bch2_opts_to_text() 530 if (!(bch2_opt_table[id].flags & OPT_MOUNT)) in bch2_parse_one_mount_opt() 542 ret = bch2_opt_parse(c, &bch2_opt_table[id], val, &v, &err); in bch2_parse_one_mount_opt() 621 const struct bch_option *opt = bch2_opt_table + id; in bch2_opt_from_sb() 644 const struct bch_option *opt = bch2_opt_table + id; in bch2_opts_from_sb() 668 enum bch_opt_id id = opt - bch2_opt_table; in __bch2_opt_set_sb()
|
D | sysfs.c | 636 int id = opt - bch2_opt_table; in SHOW() 649 int ret, id = opt - bch2_opt_table; in STORE() 699 for (i = bch2_opt_table; in bch2_opts_create_sysfs_files() 700 i < bch2_opt_table + bch2_opts_nr; in bch2_opts_create_sysfs_files() 834 bch2_opt_set_sb(c, ca, bch2_opt_table + Opt_discard, v); in STORE() 840 bch2_opt_set_sb(c, ca, bch2_opt_table + Opt_durability, v); in STORE()
|
D | xattr.c | 428 opt = bch2_opt_table + id; in __bch2_xattr_bcachefs_get() 503 opt = bch2_opt_table + opt_id; in bch2_xattr_bcachefs_set()
|
D | opts.h | 586 extern const struct bch_option bch2_opt_table[];
|
D | super-io.c | 432 const struct bch_option *opt = bch2_opt_table + opt_id; in bch2_sb_validate() 1389 const struct bch_option *opt = bch2_opt_table + id; in bch2_sb_to_text()
|
D | super.c | 982 const struct bch_option *opt = &bch2_opt_table[i]; in print_mount_opts()
|