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()
639 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
744 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
849 static long _zcrypt_send_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_cprb()
872 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
975 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_cprb()
1006 static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1051 if (perms != &ap_perms && domain < AUTOSEL_DOM) { in _zcrypt_send_ep11_cprb()
1154 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1423 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
1455 static int icarsacrt_ioctl(struct ap_perms *perms, unsigned long arg) in icarsacrt_ioctl()
1487 static int zsecsendcprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsecsendcprb_ioctl()
1520 static int zsendep11cprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsendep11cprb_ioctl()
1556 struct ap_perms *perms = in zcrypt_unlocked_ioctl()
1557 (struct ap_perms *)filp->private_data; in zcrypt_unlocked_ioctl()
1693 static long trans_modexpo32(struct ap_perms *perms, struct file *filp, in trans_modexpo32()
1743 static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp, in trans_modexpo_crt32()
1804 static long trans_xcrb32(struct ap_perms *perms, struct file *filp, in trans_xcrb32()
1862 struct ap_perms *perms = in zcrypt_compat_ioctl()
1863 (struct ap_perms *)filp->private_data; in zcrypt_compat_ioctl()