Searched refs:numBytes (Results 1 – 1 of 1) sorted by relevance
1373 int numBytes; in mptctl_gettargetinfo() local1385 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()1596 int numBytes, maxEvents, max; in mptctl_eventreport() local1608 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header); in mptctl_eventreport()1609 maxEvents = numBytes/sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()1625 numBytes = max * sizeof(MPT_IOCTL_EVENTS); in mptctl_eventreport()1626 if (copy_to_user(uarg->eventData, ioc->events, numBytes)) { in mptctl_eventreport()