Home
last modified time | relevance | path

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

/linux-6.15/fs/bcachefs/
H A Dopts.h536 struct bch_opts { struct
547 struct bch_opts opts;
553 static const __maybe_unused struct bch_opts bch2_opts_default = {
573 static inline struct bch_opts bch2_opts_empty(void) in bch2_opts_empty()
575 return (struct bch_opts) { 0 }; in bch2_opts_empty()
578 void bch2_opts_apply(struct bch_opts *, struct bch_opts);
614 u64 bch2_opt_get_by_id(const struct bch_opts *, enum bch_opt_id);
618 int bch2_opts_from_sb(struct bch_opts *, struct bch_sb *);
635 struct bch_opts,
641 int bch2_parse_one_mount_opt(struct bch_fs *, struct bch_opts *,
[all …]
H A Dopts.c166 void bch2_opts_apply(struct bch_opts *dst, struct bch_opts src) in bch2_opts_apply()
176 bool bch2_opt_defined_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_defined_by_id()
189 u64 bch2_opt_get_by_id(const struct bch_opts *opts, enum bch_opt_id id) in bch2_opt_get_by_id()
202 void bch2_opt_set_by_id(struct bch_opts *opts, enum bch_opt_id id, u64 v) in bch2_opt_set_by_id()
458 struct bch_opts opts, in bch2_opts_to_text()
517 int bch2_parse_one_mount_opt(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_one_mount_opt()
582 int bch2_parse_mount_opts(struct bch_fs *c, struct bch_opts *opts, in bch2_parse_mount_opts()
658 int bch2_opts_from_sb(struct bch_opts *opts, struct bch_sb *sb) in bch2_opts_from_sb()
706 struct bch_io_opts bch2_opts_to_inode_opts(struct bch_opts src) in bch2_opts_to_inode_opts()
H A Dsuper-io.h97 int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *);
98 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.c113 void bch2_print_opts(struct bch_opts *opts, const char *fmt, ...) in bch2_print_opts()
740 static struct bch_fs *bch2_fs_alloc(struct bch_sb *sb, struct bch_opts opts) in bch2_fs_alloc()
1146 struct bch_opts *opts) in bch2_dev_in_fs()
1771 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_add()
1889 struct bch_opts opts = bch2_opts_empty(); in bch2_dev_online()
2155 struct bch_opts opts) in bch2_fs_open()
H A Dinode.h292 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *);
H A Dbcachefs.h275 void bch2_print_opts(struct bch_opts *, const char *, ...);
764 struct bch_opts opts;
H A Dsuper-io.c774 static int __bch2_read_super(const char *path, struct bch_opts *opts, in __bch2_read_super()
932 int bch2_read_super(const char *path, struct bch_opts *opts, in bch2_read_super()
940 int bch2_read_super_silent(const char *path, struct bch_opts *opts, in bch2_read_super_silent()
H A Dxattr.c412 struct bch_opts opts = in __bch2_xattr_bcachefs_get()
H A Dinode.c1168 struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *inode) in bch2_inode_opts_to_opts()
1170 struct bch_opts ret = { 0 }; in bch2_inode_opts_to_opts()
H A Dfs.c2442 struct bch_opts opts = opts_parse->opts; in bch2_fs_get_tree()
H A Dfsck.c3020 struct bch_opts opts;