Lines Matching refs:numBytes
1319 int numBytes;
1342 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header);
1343 maxWordsLeft = numBytes/sizeof(int);
1366 pmem = kmalloc(numBytes, GFP_KERNEL);
1372 memset(pmem, 0, numBytes);
1408 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) {
1580 int numBytes, maxEvents, max;
1597 numBytes = karg.hdr.maxDataSize - sizeof(mpt_ioctl_header);
1598 maxEvents = numBytes/sizeof(MPT_IOCTL_EVENTS);
1614 numBytes = max * sizeof(MPT_IOCTL_EVENTS);
1615 if (copy_to_user(uarg->eventData, ioc->events, numBytes)) {