Lines Matching refs:ap_perms
122 struct ap_perms perms;
504 struct ap_perms *perms = &ap_perms; in zcrypt_open()
547 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
565 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
570 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
637 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
742 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
847 static long _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_cprb()
870 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
973 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_cprb()
1004 static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1049 if (perms != &ap_perms && domain < AUTOSEL_DOM) { in _zcrypt_send_ep11_cprb()
1152 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1421 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
1453 static int icarsacrt_ioctl(struct ap_perms *perms, unsigned long arg) in icarsacrt_ioctl()
1485 static int zsecsendcprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsecsendcprb_ioctl()
1518 static int zsendep11cprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsendep11cprb_ioctl()
1554 struct ap_perms *perms = in zcrypt_unlocked_ioctl()
1555 (struct ap_perms *)filp->private_data; in zcrypt_unlocked_ioctl()
1691 static long trans_modexpo32(struct ap_perms *perms, struct file *filp, in trans_modexpo32()
1741 static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp, in trans_modexpo_crt32()
1802 static long trans_xcrb32(struct ap_perms *perms, struct file *filp, in trans_xcrb32()
1860 struct ap_perms *perms = in zcrypt_compat_ioctl()
1861 (struct ap_perms *)filp->private_data; in zcrypt_compat_ioctl()