nr_apqns 389 drivers/s390/crypto/pkey_api.c static int pkey_genseckey2(const struct pkey_apqn *apqns, size_t nr_apqns, nr_apqns 396 drivers/s390/crypto/pkey_api.c if (!apqns || !nr_apqns) nr_apqns 419 drivers/s390/crypto/pkey_api.c for (i = 0, rc = -ENODEV; i < nr_apqns; i++) { nr_apqns 435 drivers/s390/crypto/pkey_api.c static int pkey_clr2seckey2(const struct pkey_apqn *apqns, size_t nr_apqns, nr_apqns 443 drivers/s390/crypto/pkey_api.c if (!apqns || !nr_apqns) nr_apqns 466 drivers/s390/crypto/pkey_api.c for (i = 0, rc = -ENODEV; i < nr_apqns; i++) { nr_apqns 567 drivers/s390/crypto/pkey_api.c static int pkey_keyblob2pkey2(const struct pkey_apqn *apqns, size_t nr_apqns, nr_apqns 575 drivers/s390/crypto/pkey_api.c if (!apqns || !nr_apqns) nr_apqns 611 drivers/s390/crypto/pkey_api.c for (i = 0, rc = -ENODEV; i < nr_apqns; i++) { nr_apqns 628 drivers/s390/crypto/pkey_api.c struct pkey_apqn *apqns, size_t *nr_apqns) nr_apqns 664 drivers/s390/crypto/pkey_api.c if (*nr_apqns < _nr_apqns) nr_apqns 669 drivers/s390/crypto/pkey_api.c *nr_apqns = _nr_apqns; nr_apqns 679 drivers/s390/crypto/pkey_api.c struct pkey_apqn *apqns, size_t *nr_apqns) nr_apqns 699 drivers/s390/crypto/pkey_api.c if (*nr_apqns < _nr_apqns) nr_apqns 704 drivers/s390/crypto/pkey_api.c *nr_apqns = _nr_apqns; nr_apqns 733 drivers/s390/crypto/pkey_api.c static void *_copy_apqns_from_user(void __user *uapqns, size_t nr_apqns) nr_apqns 738 drivers/s390/crypto/pkey_api.c if (uapqns && nr_apqns > 0) { nr_apqns 739 drivers/s390/crypto/pkey_api.c nbytes = nr_apqns * sizeof(struct pkey_apqn); nr_apqns 1045 drivers/s390/crypto/pkey_api.c size_t nr_apqns, len; nr_apqns 1050 drivers/s390/crypto/pkey_api.c nr_apqns = kak.apqn_entries; nr_apqns 1051 drivers/s390/crypto/pkey_api.c if (nr_apqns) { nr_apqns 1052 drivers/s390/crypto/pkey_api.c apqns = kmalloc_array(nr_apqns, nr_apqns 1064 drivers/s390/crypto/pkey_api.c apqns, &nr_apqns); nr_apqns 1072 drivers/s390/crypto/pkey_api.c if (nr_apqns > kak.apqn_entries) { nr_apqns 1076 drivers/s390/crypto/pkey_api.c len = nr_apqns * sizeof(struct pkey_apqn); nr_apqns 1084 drivers/s390/crypto/pkey_api.c kak.apqn_entries = nr_apqns; nr_apqns 1094 drivers/s390/crypto/pkey_api.c size_t nr_apqns, len; nr_apqns 1098 drivers/s390/crypto/pkey_api.c nr_apqns = kat.apqn_entries; nr_apqns 1099 drivers/s390/crypto/pkey_api.c if (nr_apqns) { nr_apqns 1100 drivers/s390/crypto/pkey_api.c apqns = kmalloc_array(nr_apqns, nr_apqns 1107 drivers/s390/crypto/pkey_api.c kat.flags, apqns, &nr_apqns); nr_apqns 1114 drivers/s390/crypto/pkey_api.c if (nr_apqns > kat.apqn_entries) { nr_apqns 1118 drivers/s390/crypto/pkey_api.c len = nr_apqns * sizeof(struct pkey_apqn); nr_apqns 1126 drivers/s390/crypto/pkey_api.c kat.apqn_entries = nr_apqns; nr_apqns 1676 drivers/s390/crypto/zcrypt_ccamisc.c int cca_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain, nr_apqns 1684 drivers/s390/crypto/zcrypt_ccamisc.c *nr_apqns = 0; nr_apqns 1735 drivers/s390/crypto/zcrypt_ccamisc.c if (*apqns && n < *nr_apqns) nr_apqns 1747 drivers/s390/crypto/zcrypt_ccamisc.c *nr_apqns = n; nr_apqns 195 drivers/s390/crypto/zcrypt_ccamisc.h int cca_findcard2(u32 **apqns, u32 *nr_apqns, u16 cardnr, u16 domain,