Searched refs:pMemBuf (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/drivers/net/sk98lin/ |
D | skge.c | 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; [all …]
|