Lines Matching refs:reqcnt
1219 static void zcrypt_perdev_reqcnt(int reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument
1225 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt()
1235 reqcnt[card] = zq->queue->total_request_count; in zcrypt_perdev_reqcnt()
1414 int *reqcnt; in zcrypt_unlocked_ioctl() local
1416 reqcnt = kcalloc(AP_DEVICES, sizeof(int), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1417 if (!reqcnt) in zcrypt_unlocked_ioctl()
1419 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1420 if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt))) in zcrypt_unlocked_ioctl()
1422 kfree(reqcnt); in zcrypt_unlocked_ioctl()
1473 int reqcnt[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local
1475 zcrypt_perdev_reqcnt(reqcnt, MAX_ZDEV_CARDIDS); in zcrypt_unlocked_ioctl()
1476 if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt))) in zcrypt_unlocked_ioctl()