Searched refs:bch_opts (Results 1 – 12 of 12) sorted by relevance
/linux/fs/bcachefs/ |
H A D | opts.h | 487 struct bch_opts { struct 498 struct bch_opts opts; 504 static const __maybe_unused struct bch_opts bch2_opts_default = { 524 static inline struct bch_opts bch2_opts_empty(void) in bch2_opts_empty() 526 return (struct bch_opts) { 0 }; in bch2_opts_empty() 529 void bch2_opts_apply(struct bch_opts *, struct bch_opts); 560 bool bch2_opt_defined_by_id(const struct bch_opts *, enum bch_opt_id); 561 u64 bch2_opt_get_by_id(const struct bch_opts *, enum bch_opt_id); 562 void bch2_opt_set_by_id(struct bch_opts *, enum bch_opt_id, u64); 565 int bch2_opts_from_sb(struct bch_opts *, struct bch_sb *); [all …]
|
H A D | opts.c | 173 void bch2_opts_apply(struct bch_opts *dst, struct bch_opts src) in bch2_opts_apply() 183 bool bch2_opt_defined_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_defined_by_id() 196 u64 bch2_opt_get_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_get_by_id() 209 void bch2_opt_set_by_id(struct bch_opts *opts, enum bch_opt_id id, u64 v) in bch2_opt_set_by_id() 467 int bch2_parse_one_mount_opt(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_one_mount_opt() 536 int bch2_parse_mount_opts(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_mount_opts() 595 int bch2_opts_from_sb(struct bch_opts *opts, struct bch_sb *sb) in bch2_opts_from_sb() 638 struct bch_io_opts bch2_opts_to_inode_opts(struct bch_opts src) in bch2_opts_to_inode_opts()
|
H A D | super-io.h | 83 int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *); 84 int bch2_read_super_silent(const char *, struct bch_opts *, struct bch_sb_handle *);
|
H A D | super.h | 52 struct bch_fs *bch2_fs_open(char * const *, unsigned, struct bch_opts);
|
H A D | super.c | 120 void bch2_print_opts(struct bch_opts *opts, const char *fmt, ...) in bch2_print_opts() 731 static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts) in bch2_fs_alloc() 1089 struct bch_opts *opts) in bch2_dev_in_fs() 1729 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_add() 1887 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_online() 2060 struct bch_opts opts) in bch2_fs_open()
|
H A D | inode.h | 232 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *);
|
H A D | bcachefs.h | 273 void bch2_print_opts(struct bch_opts *, const char *, ...); 757 struct bch_opts opts;
|
H A D | super-io.c | 688 static int __bch2_read_super(const char *path, struct bch_opts *opts, in __bch2_read_super() 844 int bch2_read_super(const char *path, struct bch_opts *opts, in bch2_read_super() 852 int bch2_read_super_silent(const char *path, struct bch_opts *opts, in bch2_read_super_silent()
|
H A D | inode.c | 973 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *inode) in bch2_inode_opts_to_opts() 975 struct bch_opts ret = { 0 }; in bch2_inode_opts_to_opts()
|
H A D | xattr.c | 433 struct bch_opts opts = in __bch2_xattr_bcachefs_get()
|
H A D | chardev.c | 133 struct bch_opts opts;
|
H A D | fs.c | 1749 struct bch_opts opts) in bch2_remount() 1918 struct bch_opts opts = opts_parse->opts; in bch2_fs_get_tree()
|