Searched refs:reqcnt (Results 1 – 2 of 2) sorted by relevance
1219 static void zcrypt_perdev_reqcnt(int reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument1225 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() local1416 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[all …]
2261 ushort reqcnt[ADV_MAX_TID + 1]; /* Starvation request count */ member7550 (boardp->reqcnt[scp->device->id] % 255) == 0) { in asc_build_req()8520 boardp->reqcnt[scp->device->id]++; in asc_execute_scsi_cmnd()