Lines Matching refs:ext4_crypto_ctx
67 void ext4_release_crypto_ctx(struct ext4_crypto_ctx *ctx) in ext4_release_crypto_ctx()
97 static struct ext4_crypto_ctx *ext4_alloc_and_init_crypto_ctx(gfp_t mask) in ext4_alloc_and_init_crypto_ctx()
99 struct ext4_crypto_ctx *ctx = kzalloc(sizeof(struct ext4_crypto_ctx), in ext4_alloc_and_init_crypto_ctx()
116 struct ext4_crypto_ctx *ext4_get_crypto_ctx(struct inode *inode) in ext4_get_crypto_ctx()
118 struct ext4_crypto_ctx *ctx = NULL; in ext4_get_crypto_ctx()
138 struct ext4_crypto_ctx, free_list); in ext4_get_crypto_ctx()
205 struct ext4_crypto_ctx *pos, *n; in ext4_exit_crypto()
252 struct ext4_crypto_ctx *ctx; in ext4_init_crypto()
279 struct ext4_crypto_ctx *ctx = in ext4_restore_control_page()
280 (struct ext4_crypto_ctx *)page_private(data_page); in ext4_restore_control_page()
308 static int ext4_page_crypto(struct ext4_crypto_ctx *ctx, in ext4_page_crypto()
405 struct ext4_crypto_ctx *ctx; in ext4_encrypt()
455 int ext4_decrypt(struct ext4_crypto_ctx *ctx, struct page *page) in ext4_decrypt()
471 struct ext4_crypto_ctx *ctx = ext4_get_crypto_ctx(inode); in ext4_decrypt_one()
482 struct ext4_crypto_ctx *ctx; in ext4_encrypted_zeroout()