Home
last modified time | relevance | path

Searched refs:compat_cop (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/cryptodev_linux/
H A Dioctl.c1101 struct compat_crypt_op compat_cop; in compat_kcop_from_user() local
1103 if (unlikely(copy_from_user(&compat_cop, arg, sizeof(compat_cop)))) in compat_kcop_from_user()
1105 compat_to_crypt_op(&compat_cop, &kcop->cop); in compat_kcop_from_user()
1114 struct compat_crypt_op compat_cop; in compat_kcop_to_user() local
1121 crypt_op_to_compat(&kcop->cop, &compat_cop); in compat_kcop_to_user()
1123 if (unlikely(copy_to_user(arg, &compat_cop, sizeof(compat_cop)))) { in compat_kcop_to_user()
H A Drk_cryptodev.c1265 struct compat_crypt_fd_op compat_cop; in compat_kcop_fd_from_user() local
1267 if (unlikely(copy_from_user(&compat_cop, arg, sizeof(compat_cop)))) in compat_kcop_fd_from_user()
1269 compat_to_crypt_fd_op(&compat_cop, &kcop->cop); in compat_kcop_fd_from_user()
1278 struct compat_crypt_fd_op compat_cop; in compat_kcop_fd_to_user() local
1285 crypt_fd_op_to_compat(&kcop->cop, &compat_cop); in compat_kcop_fd_to_user()
1287 if (unlikely(copy_to_user(arg, &compat_cop, sizeof(compat_cop)))) { in compat_kcop_fd_to_user()