Searched refs:reqcnt (Results 1 – 2 of 2) sorted by relevance
1420 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument1427 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt()1439 reqcnt[card] = (cnt < UINT_MAX) ? (u32)cnt : UINT_MAX; in zcrypt_perdev_reqcnt()1725 u32 *reqcnt; in zcrypt_unlocked_ioctl() local1727 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()1728 if (!reqcnt) in zcrypt_unlocked_ioctl()1730 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()1731 if (copy_to_user((int __user *)arg, reqcnt, in zcrypt_unlocked_ioctl()1734 kfree(reqcnt); in zcrypt_unlocked_ioctl()1785 u32 reqcnt[MAX_ZDEV_CARDIDS]; in zcrypt_unlocked_ioctl() local[all …]
2242 ushort reqcnt[ADV_MAX_TID + 1]; /* Starvation request count */ member7464 (boardp->reqcnt[scp->device->id] % 255) == 0) { in asc_build_req()8434 boardp->reqcnt[scp->device->id]++; in asc_execute_scsi_cmnd()