Lines Matching refs:local_apqns
191 struct pkey_apqn *local_apqns = NULL; in ep11_key2protkey() local
228 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_key2protkey()
230 if (!local_apqns) in ep11_key2protkey()
232 rc = ep11_apqns4key(key, keylen, 0, local_apqns, &nr_apqns); in ep11_key2protkey()
235 apqns = local_apqns; in ep11_key2protkey()
264 kfree(local_apqns); in ep11_key2protkey()
283 struct pkey_apqn *local_apqns = NULL; in ep11_gen_key() local
319 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_gen_key()
321 if (!local_apqns) in ep11_gen_key()
324 local_apqns, &nr_apqns); in ep11_gen_key()
327 apqns = local_apqns; in ep11_gen_key()
337 kfree(local_apqns); in ep11_gen_key()
357 struct pkey_apqn *local_apqns = NULL; in ep11_clr2key() local
398 local_apqns = kmalloc_array(nr_apqns, sizeof(struct pkey_apqn), in ep11_clr2key()
400 if (!local_apqns) in ep11_clr2key()
403 local_apqns, &nr_apqns); in ep11_clr2key()
406 apqns = local_apqns; in ep11_clr2key()
416 kfree(local_apqns); in ep11_clr2key()