Lines Matching refs:pkey_apqn
25 static int key2protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in key2protkey()
88 return memdup_user(uapqns, nr_apqns * sizeof(struct pkey_apqn)); in _copy_apqns_from_user()
94 struct pkey_apqn apqn; in pkey_ioctl_genseck()
118 struct pkey_apqn apqn; in pkey_ioctl_clr2seck()
144 struct pkey_apqn apqn; in pkey_ioctl_sec2protk()
216 struct pkey_apqn *apqns; in pkey_ioctl_findcard()
224 apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), GFP_KERNEL); in pkey_ioctl_findcard()
394 struct pkey_apqn *apqns; in pkey_ioctl_genseck2()
446 struct pkey_apqn *apqns; in pkey_ioctl_clr2seck2()
529 struct pkey_apqn *apqns = NULL; in pkey_ioctl_kblob2protk2()
560 struct pkey_apqn *apqns = NULL; in pkey_ioctl_apqns4k()
571 sizeof(struct pkey_apqn), in pkey_ioctl_apqns4k()
594 len = nr_apqns * sizeof(struct pkey_apqn); in pkey_ioctl_apqns4k()
612 struct pkey_apqn *apqns = NULL; in pkey_ioctl_apqns4kt()
622 sizeof(struct pkey_apqn), in pkey_ioctl_apqns4kt()
640 len = nr_apqns * sizeof(struct pkey_apqn); in pkey_ioctl_apqns4kt()
659 struct pkey_apqn *apqns = NULL; in pkey_ioctl_kblob2protk3()