Lines Matching refs:ap_perms

125 	struct ap_perms perms;
507 struct ap_perms *perms = &ap_perms; in zcrypt_open()
550 static inline int zcrypt_check_ioctl(struct ap_perms *perms, in zcrypt_check_ioctl()
568 static inline bool zcrypt_check_card(struct ap_perms *perms, int card) in zcrypt_check_card()
573 static inline bool zcrypt_check_queue(struct ap_perms *perms, int queue) in zcrypt_check_queue()
642 static long zcrypt_rsa_modexpo(struct ap_perms *perms, in zcrypt_rsa_modexpo()
747 static long zcrypt_rsa_crt(struct ap_perms *perms, in zcrypt_rsa_crt()
852 static long _zcrypt_send_cprb(u32 xflags, struct ap_perms *perms, in _zcrypt_send_cprb()
882 if (perms != &ap_perms && tdom < AP_DOMAINS) { in _zcrypt_send_cprb()
995 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
1001 rc = _zcrypt_send_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_cprb()
1039 static long _zcrypt_send_ep11_cprb(u32 xflags, struct ap_perms *perms, in _zcrypt_send_ep11_cprb()
1086 if (perms != &ap_perms && domain < AUTOSEL_DOM) { in _zcrypt_send_ep11_cprb()
1197 rc = _zcrypt_send_ep11_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1203 rc = _zcrypt_send_ep11_cprb(xflags, &ap_perms, &tr, xcrb); in zcrypt_send_ep11_cprb()
1483 static int icarsamodexpo_ioctl(struct ap_perms *perms, unsigned long arg) in icarsamodexpo_ioctl()
1512 static int icarsacrt_ioctl(struct ap_perms *perms, unsigned long arg) in icarsacrt_ioctl()
1541 static int zsecsendcprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsecsendcprb_ioctl()
1572 static int zsendep11cprb_ioctl(struct ap_perms *perms, unsigned long arg) in zsendep11cprb_ioctl()
1606 struct ap_perms *perms = in zcrypt_unlocked_ioctl()
1607 (struct ap_perms *)filp->private_data; in zcrypt_unlocked_ioctl()
1745 static long trans_modexpo32(struct ap_perms *perms, struct file *filp, in trans_modexpo32()
1792 static long trans_modexpo_crt32(struct ap_perms *perms, struct file *filp, in trans_modexpo_crt32()
1850 static long trans_xcrb32(struct ap_perms *perms, struct file *filp, in trans_xcrb32()
1906 struct ap_perms *perms = in zcrypt_compat_ioctl()
1907 (struct ap_perms *)filp->private_data; in zcrypt_compat_ioctl()