Home
last modified time | relevance | path

Searched refs:ecr (Results 1 – 5 of 5) sorted by relevance

/fs/ext4/
Dcrypto_fname.c37 struct ext4_completion_result *ecr = req->data; in ext4_dir_crypt_complete() local
41 ecr->res = res; in ext4_dir_crypt_complete()
42 complete(&ecr->completion); in ext4_dir_crypt_complete()
69 DECLARE_EXT4_COMPLETION_RESULT(ecr); in ext4_fname_encrypt()
107 ext4_dir_crypt_complete, &ecr); in ext4_fname_encrypt()
123 wait_for_completion(&ecr.completion); in ext4_fname_encrypt()
124 res = ecr.res; in ext4_fname_encrypt()
149 DECLARE_EXT4_COMPLETION_RESULT(ecr); in ext4_fname_decrypt()
173 ext4_dir_crypt_complete, &ecr); in ext4_fname_decrypt()
184 wait_for_completion(&ecr.completion); in ext4_fname_decrypt()
[all …]
Dcrypto_key.c22 struct ext4_completion_result *ecr = req->data; in derive_crypt_complete() local
27 ecr->res = rc; in derive_crypt_complete()
28 complete(&ecr->completion); in derive_crypt_complete()
45 DECLARE_EXT4_COMPLETION_RESULT(ecr); in ext4_derive_key_aes()
63 derive_crypt_complete, &ecr); in ext4_derive_key_aes()
74 wait_for_completion(&ecr.completion); in ext4_derive_key_aes()
75 res = ecr.res; in ext4_derive_key_aes()
Dcrypto.c245 struct ext4_completion_result *ecr = req->data; in ext4_crypt_complete() local
249 ecr->res = res; in ext4_crypt_complete()
250 complete(&ecr->completion); in ext4_crypt_complete()
268 DECLARE_EXT4_COMPLETION_RESULT(ecr); in ext4_page_crypto()
283 ext4_crypt_complete, &ecr); in ext4_page_crypto()
301 wait_for_completion(&ecr.completion); in ext4_page_crypto()
302 res = ecr.res; in ext4_page_crypto()
Dext4_crypto.h108 #define DECLARE_EXT4_COMPLETION_RESULT(ecr) \ argument
109 struct ext4_completion_result ecr = { \
110 COMPLETION_INITIALIZER((ecr).completion), 0 }
/fs/ecryptfs/
Dcrypto.c321 struct extent_crypt_result *ecr = req->data; in extent_crypt_complete() local
326 ecr->rc = rc; in extent_crypt_complete()
327 complete(&ecr->completion); in extent_crypt_complete()
347 struct extent_crypt_result ecr; in crypt_scatterlist() local
359 init_completion(&ecr.completion); in crypt_scatterlist()
371 extent_crypt_complete, &ecr); in crypt_scatterlist()
391 struct extent_crypt_result *ecr = req->base.data; in crypt_scatterlist() local
393 wait_for_completion(&ecr->completion); in crypt_scatterlist()
394 rc = ecr->rc; in crypt_scatterlist()
395 reinit_completion(&ecr->completion); in crypt_scatterlist()