Searched refs:reqcnt (Results 1 – 2 of 2) sorted by relevance
718 static void zcrypt_perdev_reqcnt(int reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument724 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt()734 reqcnt[card] = zq->queue->total_request_count; in zcrypt_perdev_reqcnt()906 int *reqcnt; in zcrypt_unlocked_ioctl() local908 reqcnt = kcalloc(AP_DEVICES, sizeof(int), GFP_KERNEL); in zcrypt_unlocked_ioctl()909 if (!reqcnt) in zcrypt_unlocked_ioctl()911 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()912 if (copy_to_user((int __user *) arg, reqcnt, sizeof(reqcnt))) in zcrypt_unlocked_ioctl()914 kfree(reqcnt); in zcrypt_unlocked_ioctl()965 int reqcnt[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local[all …]
2265 ushort reqcnt[ADV_MAX_TID + 1]; /* Starvation request count */ member7556 (boardp->reqcnt[scp->device->id] % 255) == 0) { in asc_build_req()8526 boardp->reqcnt[scp->device->id]++; in asc_execute_scsi_cmnd()