Lines Matching refs:res
99 int res = 0; in ext4_get_crypto_ctx() local
125 res = -ENOMEM; in ext4_get_crypto_ctx()
135 if (res) { in ext4_get_crypto_ctx()
138 ctx = ERR_PTR(res); in ext4_get_crypto_ctx()
180 int i, res = -ENOMEM; in ext4_init_crypto() local
204 res = -ENOMEM; in ext4_init_crypto()
213 res = -ENOMEM; in ext4_init_crypto()
222 return res; in ext4_init_crypto()
241 static void ext4_crypt_complete(struct crypto_async_request *req, int res) in ext4_crypt_complete() argument
245 if (res == -EINPROGRESS) in ext4_crypt_complete()
247 ecr->res = res; in ext4_crypt_complete()
269 int res = 0; in ext4_page_crypto() local
294 res = crypto_ablkcipher_decrypt(req); in ext4_page_crypto()
296 res = crypto_ablkcipher_encrypt(req); in ext4_page_crypto()
297 if (res == -EINPROGRESS || res == -EBUSY) { in ext4_page_crypto()
299 res = ecr.res; in ext4_page_crypto()
302 if (res) { in ext4_page_crypto()
306 __func__, res); in ext4_page_crypto()
307 return res; in ext4_page_crypto()