Lines Matching defs:reqcnt
1349 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters)
1356 memset(reqcnt, 0, sizeof(int) * max_adapters);
1368 reqcnt[card] = (cnt < UINT_MAX) ? (u32)cnt : UINT_MAX;
1604 u32 *reqcnt;
1606 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL);
1607 if (!reqcnt)
1609 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES);
1610 if (copy_to_user((int __user *)arg, reqcnt,
1613 kfree(reqcnt);
1664 u32 reqcnt[MAX_ZDEV_CARDIDS];
1666 zcrypt_perdev_reqcnt(reqcnt, MAX_ZDEV_CARDIDS);
1667 if (copy_to_user((int __user *)arg, reqcnt, sizeof(reqcnt)))