Lines Matching refs:pMemBuf
3340 void *pMemBuf; local
3385 if (NULL == (pMemBuf = kmalloc(Length, GFP_KERNEL))) {
3388 if(copy_from_user(pMemBuf, Ioctl.pData, Length)) {
3392 if ((Ret = SkPnmiGenIoctl(pAC, pAC->IoBase, pMemBuf, &Length, 0)) < 0) {
3396 if(copy_to_user(Ioctl.pData, pMemBuf, Length) ) {
3406 kfree(pMemBuf); /* cleanup everything */
3416 if (NULL == (pMemBuf = kmalloc(Length, GFP_KERNEL))) {
3419 if(copy_from_user(pMemBuf, Ioctl.pData, Length)) {
3431 * ((SK_U32 *)pMemBuf) = 0;
3432 * ((SK_U32 *)pMemBuf + 1) = pdev->bus->number;
3433 * ((SK_U32 *)pMemBuf + 2) = ParseDeviceNbrFromSlotName(pdev->slot_name);
3434 if(copy_to_user(Ioctl.pData, pMemBuf, Length) ) {
3444 kfree(pMemBuf); /* cleanup everything */