Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/message/fusion/
Dmptctl.c1371 int numBytes; in mptctl_gettargetinfo() local
1388 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header); in mptctl_gettargetinfo()
1389 maxWordsLeft = numBytes/sizeof(int); in mptctl_gettargetinfo()
1412 pmem = kzalloc(numBytes, GFP_KERNEL); in mptctl_gettargetinfo()
1455 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { in mptctl_gettargetinfo()
1602 int numBytes, maxEvents, max; in mptctl_eventreport() local
1614 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header); in mptctl_eventreport()
1615 maxEvents = numBytes/sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()
1631 numBytes = max * sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()
1632 if (copy_to_user(uarg->eventData, ioc->events, numBytes)) { in mptctl_eventreport()