Lines Matching defs:reqcnt
1334 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters)
1341 memset(reqcnt, 0, sizeof(int) * max_adapters);
1353 reqcnt[card] = (cnt < UINT_MAX) ? (u32) cnt : UINT_MAX;
1639 u32 *reqcnt;
1641 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL);
1642 if (!reqcnt)
1644 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES);
1645 if (copy_to_user((int __user *) arg, reqcnt,
1648 kfree(reqcnt);
1699 u32 reqcnt[MAX_ZDEV_CARDIDS];
1701 zcrypt_perdev_reqcnt(reqcnt, MAX_ZDEV_CARDIDS);
1702 if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt)))