Home
last modified time | relevance | path

Searched refs:reqcnt (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/s390/crypto/
H A Dzcrypt_api.c1334 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument
1341 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt()
1353 reqcnt[card] = (cnt < UINT_MAX) ? (u32) cnt : UINT_MAX; in zcrypt_perdev_reqcnt()
1639 u32 *reqcnt; in zcrypt_unlocked_ioctl() local
1641 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1642 if (!reqcnt) in zcrypt_unlocked_ioctl()
1644 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1645 if (copy_to_user((int __user *) arg, reqcnt, in zcrypt_unlocked_ioctl()
1648 kfree(reqcnt); in zcrypt_unlocked_ioctl()
1699 u32 reqcnt[MAX_ZDEV_CARDID in zcrypt_unlocked_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dzcrypt_api.c1349 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument
1356 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt()
1368 reqcnt[card] = (cnt < UINT_MAX) ? (u32)cnt : UINT_MAX; in zcrypt_perdev_reqcnt()
1604 u32 *reqcnt; in zcrypt_unlocked_ioctl() local
1606 reqcnt = kcalloc(AP_DEVICES, sizeof(u32), GFP_KERNEL); in zcrypt_unlocked_ioctl()
1607 if (!reqcnt) in zcrypt_unlocked_ioctl()
1609 zcrypt_perdev_reqcnt(reqcnt, AP_DEVICES); in zcrypt_unlocked_ioctl()
1610 if (copy_to_user((int __user *)arg, reqcnt, in zcrypt_unlocked_ioctl()
1613 kfree(reqcnt); in zcrypt_unlocked_ioctl()
1664 u32 reqcnt[MAX_ZDEV_CARDID in zcrypt_unlocked_ioctl() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/
H A Dadvansys.c2261 ushort reqcnt[ADV_MAX_TID + 1]; /* Starvation request count */ member
7550 (boardp->reqcnt[scp->device->id] % 255) == 0) { in asc_build_req()
8520 boardp->reqcnt[scp->device->id]++; in asc_execute_scsi_cmnd()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dadvansys.c2242 ushort reqcnt[ADV_MAX_TID + 1]; /* Starvation request count */ member
7464 (boardp->reqcnt[scp->device->id] % 255) == 0) { in asc_build_req()
8434 boardp->reqcnt[scp->device->id]++; in asc_execute_scsi_cmnd()

Completed in 35 milliseconds