Lines Matching refs:f2fs_crypto_ctx
81 void f2fs_release_crypto_ctx(struct f2fs_crypto_ctx *ctx) in f2fs_release_crypto_ctx()
108 struct f2fs_crypto_ctx *f2fs_get_crypto_ctx(struct inode *inode) in f2fs_get_crypto_ctx()
110 struct f2fs_crypto_ctx *ctx = NULL; in f2fs_get_crypto_ctx()
129 struct f2fs_crypto_ctx, free_list); in f2fs_get_crypto_ctx()
151 struct f2fs_crypto_ctx *ctx = in completion_pages()
152 container_of(work, struct f2fs_crypto_ctx, r.work); in completion_pages()
172 void f2fs_end_io_crypto_work(struct f2fs_crypto_ctx *ctx, struct bio *bio) in f2fs_end_io_crypto_work()
181 struct f2fs_crypto_ctx *pos, *n; in f2fs_crypto_destroy()
211 struct f2fs_crypto_ctx *ctx; in f2fs_crypto_initialize()
257 f2fs_crypto_ctx_cachep = KMEM_CACHE(f2fs_crypto_ctx, in f2fs_init_crypto()
275 struct f2fs_crypto_ctx *ctx; in f2fs_restore_and_release_control_page()
284 ctx = (struct f2fs_crypto_ctx *)page_private(bounce_page); in f2fs_restore_and_release_control_page()
294 struct f2fs_crypto_ctx *ctx = in f2fs_restore_control_page()
295 (struct f2fs_crypto_ctx *)page_private(data_page); in f2fs_restore_control_page()
323 static int f2fs_page_crypto(struct f2fs_crypto_ctx *ctx, in f2fs_page_crypto()
379 static struct page *alloc_bounce_page(struct f2fs_crypto_ctx *ctx) in alloc_bounce_page()
406 struct f2fs_crypto_ctx *ctx; in f2fs_encrypt()
450 int f2fs_decrypt(struct f2fs_crypto_ctx *ctx, struct page *page) in f2fs_decrypt()
464 struct f2fs_crypto_ctx *ctx = f2fs_get_crypto_ctx(inode); in f2fs_decrypt_one()