Searched refs:numBytes (Results 1 – 1 of 1) sorted by relevance
1371 int numBytes; in mptctl_gettargetinfo() local1388 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() local1614 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()