Home
last modified time | relevance | path

Searched refs:bch_opts (Results 1 – 12 of 12) sorted by relevance

/linux/fs/bcachefs/
H A Dopts.h529 struct bch_opts { struct
540 struct bch_opts opts;
546 static const __maybe_unused struct bch_opts bch2_opts_default = {
566 static inline struct bch_opts bch2_opts_empty(void) in bch2_opts_empty()
568 return (struct bch_opts) { 0 }; in bch2_opts_empty()
571 void bch2_opts_apply(struct bch_opts *, struct bch_opts);
602 bool bch2_opt_defined_by_id(const struct bch_opts *, enum bch_opt_id);
603 u64 bch2_opt_get_by_id(const struct bch_opts *, enum bch_opt_id);
604 void bch2_opt_set_by_id(struct bch_opts *, enum bch_opt_id, u64);
607 int bch2_opts_from_sb(struct bch_opts *, struct bch_sb *);
[all …]
H A Dopts.c176 void bch2_opts_apply(struct bch_opts *dst, struct bch_opts src) in bch2_opts_apply()
186 bool bch2_opt_defined_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_defined_by_id()
199 u64 bch2_opt_get_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_get_by_id()
212 void bch2_opt_set_by_id(struct bch_opts *opts, enum bch_opt_id id, u64 v) in bch2_opt_set_by_id()
453 struct bch_opts opts, in bch2_opts_to_text()
511 int bch2_parse_one_mount_opt(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_one_mount_opt()
580 int bch2_parse_mount_opts(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_mount_opts()
642 int bch2_opts_from_sb(struct bch_opts *opts, struct bch_sb *sb) in bch2_opts_from_sb()
714 struct bch_io_opts bch2_opts_to_inode_opts(struct bch_opts src) in bch2_opts_to_inode_opts()
H A Dsuper-io.h95 int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *);
96 int bch2_read_super_silent(const char *, struct bch_opts *, struct bch_sb_handle *);
H A Dsuper.h43 struct bch_fs *bch2_fs_open(char * const *, unsigned, struct bch_opts);
H A Dsuper.c120 void bch2_print_opts(struct bch_opts *opts, const char *fmt, ...) in bch2_print_opts()
745 static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts) in bch2_fs_alloc()
1096 struct bch_opts *opts) in bch2_dev_in_fs()
1719 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_add()
1836 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_online()
2009 struct bch_opts opts) in bch2_fs_open()
H A Dinode.h283 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *);
H A Dbcachefs.h274 void bch2_print_opts(struct bch_opts *, const char *, ...);
755 struct bch_opts opts;
H A Dsuper-io.c743 static int __bch2_read_super(const char *path, struct bch_opts *opts, in __bch2_read_super()
901 int bch2_read_super(const char *path, struct bch_opts *opts, in bch2_read_super()
909 int bch2_read_super_silent(const char *path, struct bch_opts *opts, in bch2_read_super_silent()
H A Dinode.c1181 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *inode) in bch2_inode_opts_to_opts()
1183 struct bch_opts ret = { 0 }; in bch2_inode_opts_to_opts()
H A Dxattr.c412 struct bch_opts opts = in __bch2_xattr_bcachefs_get()
H A Dfs.c2012 struct bch_opts opts) in bch2_remount()
2165 struct bch_opts opts = opts_parse->opts; in bch2_fs_get_tree()
H A Dfsck.c3158 struct bch_opts opts;