Lines Matching refs:ap_perms
129 struct ap_perms perms;
495 struct ap_perms *perms = &ap_perms; in zcrypt_open()
542 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
561 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
566 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
633 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
741 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()
979 return _zcrypt_send_cprb(false, &ap_perms, NULL, xcRB); in zcrypt_send_cprb()
1010 static long _zcrypt_send_ep11_cprb(bool userspace, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1138 return _zcrypt_send_ep11_cprb(false, &ap_perms, NULL, xcrb); in zcrypt_send_ep11_cprb()
1405 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
1448 static int icarsacrt_ioctl(struct ap_perms *perms, unsigned long arg) in icarsacrt_ioctl()
1491 static int zsecsendcprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsecsendcprb_ioctl()
1535 static int zsendep11cprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsendep11cprb_ioctl()
1582 struct ap_perms *perms = in zcrypt_unlocked_ioctl()
1583 (struct ap_perms *) filp->private_data; in zcrypt_unlocked_ioctl()
1717 static long trans_modexpo32(struct ap_perms *perms, struct file *filp, in trans_modexpo32()
1765 static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp, in trans_modexpo_crt32()
1824 static long trans_xcRB32(struct ap_perms *perms, struct file *filp, in trans_xcRB32()
1880 struct ap_perms *perms = in zcrypt_compat_ioctl()
1881 (struct ap_perms *) filp->private_data; in zcrypt_compat_ioctl()