Lines Matching refs:bch_fs
34 struct bch_csum bch2_checksum(struct bch_fs *, unsigned, struct nonce,
78 int bch2_encrypt(struct bch_fs *, unsigned, struct nonce,
81 struct bch_csum bch2_checksum_bio(struct bch_fs *, unsigned,
84 int bch2_rechecksum_bio(struct bch_fs *, struct bio *, struct bversion,
90 int __bch2_encrypt_bio(struct bch_fs *, unsigned,
93 static inline int bch2_encrypt_bio(struct bch_fs *c, unsigned type, in bch2_encrypt_bio()
103 int bch2_decrypt_sb_key(struct bch_fs *, struct bch_sb_field_crypt *,
106 int bch2_disable_encryption(struct bch_fs *);
107 int bch2_enable_encryption(struct bch_fs *, bool);
109 void bch2_fs_encryption_exit(struct bch_fs *);
110 int bch2_fs_encryption_init(struct bch_fs *);
129 static inline enum bch_csum_type bch2_data_checksum_type(struct bch_fs *c, in bch2_data_checksum_type()
143 static inline enum bch_csum_type bch2_meta_checksum_type(struct bch_fs *c) in bch2_meta_checksum_type()
151 static inline bool bch2_checksum_type_valid(const struct bch_fs *c, in bch2_checksum_type_valid()
225 static inline struct nonce bch2_sb_key_nonce(struct bch_fs *c) in bch2_sb_key_nonce()