Lines Matching refs:ap_perms
124 struct ap_perms perms;
531 struct ap_perms *perms = &ap_perms; in zcrypt_open()
578 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
596 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
601 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
668 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
778 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
888 static long _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_cprb()
921 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
1032 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_cprb()
1063 static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1113 if (perms != &ap_perms && domain < AUTOSEL_DOM) { in _zcrypt_send_ep11_cprb()
1216 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1485 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
1530 static int icarsacrt_ioctl(struct ap_perms *perms, unsigned long arg) in icarsacrt_ioctl()
1575 static int zsecsendcprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsecsendcprb_ioctl()
1621 static int zsendep11cprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsendep11cprb_ioctl()
1670 struct ap_perms *perms = in zcrypt_unlocked_ioctl()
1671 (struct ap_perms *)filp->private_data; in zcrypt_unlocked_ioctl()
1805 static long trans_modexpo32(struct ap_perms *perms, struct file *filp, in trans_modexpo32()
1855 static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp, in trans_modexpo_crt32()
1916 static long trans_xcrb32(struct ap_perms *perms, struct file *filp, in trans_xcrb32()
1974 struct ap_perms *perms = in zcrypt_compat_ioctl()
1975 (struct ap_perms *)filp->private_data; in zcrypt_compat_ioctl()