Home
last modified time | relevance | path

Searched refs:_apqns (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/s390/crypto/
Dpkey_cca.c77 u32 _nr_apqns, *_apqns = NULL; in cca_apqns4key() local
111 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4key()
130 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4key()
146 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in cca_apqns4key()
151 kfree(_apqns); in cca_apqns4key()
160 u32 _nr_apqns, *_apqns = NULL; in cca_apqns4type() local
175 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4type()
188 rc = cca_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in cca_apqns4type()
204 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in cca_apqns4type()
209 kfree(_apqns); in cca_apqns4type()
Dpkey_ep11.c77 u32 _nr_apqns, *_apqns = NULL; in ep11_apqns4key() local
102 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4key()
119 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4key()
134 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in ep11_apqns4key()
139 kfree(_apqns); in ep11_apqns4key()
148 u32 _nr_apqns, *_apqns = NULL; in ep11_apqns4type() local
162 rc = ep11_findcard2(&_apqns, &_nr_apqns, 0xFFFF, 0xFFFF, in ep11_apqns4type()
177 memcpy(apqns, _apqns, _nr_apqns * sizeof(u32)); in ep11_apqns4type()
182 kfree(_apqns); in ep11_apqns4type()
Dpkey_pckmo.c493 static int pkey_pckmo_key2protkey(const struct pkey_apqn *_apqns, in pkey_pckmo_key2protkey() argument
502 static int pkey_pckmo_gen_key(const struct pkey_apqn *_apqns, size_t _nr_apqns, in pkey_pckmo_gen_key() argument
Dzcrypt_ep11misc.c1585 u32 *_apqns = NULL, _nr_apqns = 0; in ep11_findcard2() local
1599 _apqns = kmalloc_array(256, sizeof(u32), GFP_KERNEL); in ep11_findcard2()
1600 if (!_apqns) { in ep11_findcard2()
1642 _apqns[_nr_apqns++] = (((u16)card) << 16) | ((u16)dom); in ep11_findcard2()
1647 kfree(_apqns); in ep11_findcard2()
1651 *apqns = _apqns; in ep11_findcard2()
Dzcrypt_ccamisc.c1876 u32 *_apqns = NULL, _nr_apqns = 0; in cca_findcard2() local
1889 _apqns = kmalloc_array(256, sizeof(u32), GFP_KERNEL); in cca_findcard2()
1890 if (!_apqns) { in cca_findcard2()
1943 _apqns[_nr_apqns++] = (((u16)card) << 16) | ((u16)dom); in cca_findcard2()
1948 kfree(_apqns); in cca_findcard2()
1952 *apqns = _apqns; in cca_findcard2()