Lines Matching refs:fcrypt

88 	struct fcrypt fcrypt;  member
109 crypto_create_session(struct fcrypt *fcr, struct session_op *sop) in crypto_create_session()
398 crypto_finish_session(struct fcrypt *fcr, uint32_t sid) in crypto_finish_session()
425 crypto_finish_all_sessions(struct fcrypt *fcr) in crypto_finish_all_sessions()
444 crypto_get_session_by_sid(struct fcrypt *fcr, uint32_t sid) in crypto_get_session_by_sid()
474 crypto_get_sessions_by_sid(struct fcrypt *fcr, in crypto_get_sessions_by_sid()
520 crypto_copy_hash_state(struct fcrypt *fcr, uint32_t dst_sid, uint32_t src_sid) in crypto_copy_hash_state()
553 item->result = crypto_run(&pcr->fcrypt, &item->kcop); in cryptask_routine()
594 mutex_init(&pcr->fcrypt.sem); in cryptodev_open()
599 INIT_LIST_HEAD(&pcr->fcrypt.list); in cryptodev_open()
600 INIT_LIST_HEAD(&pcr->fcrypt.dma_map_list); in cryptodev_open()
631 mutex_destroy(&pcr->fcrypt.sem); in cryptodev_open()
670 crypto_finish_all_sessions(&pcr->fcrypt); in cryptodev_release()
675 mutex_destroy(&pcr->fcrypt.sem); in cryptodev_release()
765 static int fill_kcop_from_cop(struct kernel_crypt_op *kcop, struct fcrypt *fcr) in fill_kcop_from_cop()
798 static int fill_cop_from_kcop(struct kernel_crypt_op *kcop, struct fcrypt *fcr) in fill_cop_from_kcop()
818 struct fcrypt *fcr, void __user *arg) in kcop_from_user()
827 struct fcrypt *fcr, void __user *arg) in kcop_to_user()
879 static int get_session_info(struct fcrypt *fcr, struct session_info_op *siop) in get_session_info()
934 struct fcrypt *fcr; in cryptodev_ioctl()
945 fcr = &pcr->fcrypt; in cryptodev_ioctl()
1099 struct fcrypt *fcr, void __user *arg) in compat_kcop_from_user()
1111 struct fcrypt *fcr, void __user *arg) in compat_kcop_to_user()
1135 struct fcrypt *fcr; in cryptodev_compat_ioctl()
1145 fcr = &pcr->fcrypt; in cryptodev_compat_ioctl()