Lines Matching refs:pkey_apqn
74 struct pkey_apqn *apqns, size_t *nr_apqns) in cca_apqns4key()
158 struct pkey_apqn *apqns, size_t *nr_apqns) in cca_apqns4type()
214 static int cca_key2protkey(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_key2protkey()
219 struct pkey_apqn *local_apqns = NULL; in cca_key2protkey()
257 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_key2protkey()
303 static int cca_gen_key(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_gen_key()
308 struct pkey_apqn *local_apqns = NULL; in cca_gen_key()
344 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_gen_key()
383 static int cca_clr2key(const struct pkey_apqn *apqns, size_t nr_apqns, in cca_clr2key()
389 struct pkey_apqn *local_apqns = NULL; in cca_clr2key()
430 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in cca_clr2key()
497 *card = ((struct pkey_apqn *)apqns)->card; in cca_verifykey()
498 *dom = ((struct pkey_apqn *)apqns)->domain; in cca_verifykey()
530 *card = ((struct pkey_apqn *)apqns)->card; in cca_verifykey()
531 *dom = ((struct pkey_apqn *)apqns)->domain; in cca_verifykey()
551 static int cca_slowpath_key2protkey(const struct pkey_apqn *apqns, in cca_slowpath_key2protkey()