Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/message/fusion/
Dmptctl.c1373 int numBytes; in mptctl_gettargetinfo() local
1385 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header); in mptctl_gettargetinfo()
1386 maxWordsLeft = numBytes/sizeof(int); in mptctl_gettargetinfo()
1408 pmem = kzalloc(numBytes, GFP_KERNEL); in mptctl_gettargetinfo()
1451 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { in mptctl_gettargetinfo()
1598 int numBytes, maxEvents, max; in mptctl_eventreport() local
1610 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header); in mptctl_eventreport()
1611 maxEvents = numBytes/sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()
1627 numBytes = max * sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()
1628 if (copy_to_user(uarg->eventData, ioc->events, numBytes)) { in mptctl_eventreport()