Lines Matching defs:c
181 static int gen_poly_key(struct bch_fs *c, struct shash_desc *desc, in gen_poly_key()
200 struct bch_csum bch2_checksum(struct bch_fs *c, unsigned type, in bch2_checksum()
239 int bch2_encrypt(struct bch_fs *c, unsigned type, in bch2_encrypt()
248 static struct bch_csum __bch2_checksum_bio(struct bch_fs *c, unsigned type, in __bch2_checksum_bio()
313 struct bch_csum bch2_checksum_bio(struct bch_fs *c, unsigned type, in bch2_checksum_bio()
321 int __bch2_encrypt_bio(struct bch_fs *c, unsigned type, in __bch2_encrypt_bio()
382 int bch2_rechecksum_bio(struct bch_fs *c, struct bio *bio, in bch2_rechecksum_bio()
611 int bch2_decrypt_sb_key(struct bch_fs *c, in bch2_decrypt_sb_key()
648 static int bch2_alloc_ciphers(struct bch_fs *c) in bch2_alloc_ciphers()
673 int bch2_disable_encryption(struct bch_fs *c) in bch2_disable_encryption()
705 int bch2_enable_encryption(struct bch_fs *c, bool keyed) in bch2_enable_encryption()
762 void bch2_fs_encryption_exit(struct bch_fs *c) in bch2_fs_encryption_exit()
772 int bch2_fs_encryption_init(struct bch_fs *c) in bch2_fs_encryption_init()