Lines Matching refs:Ioctl
3342 SK_GE_IOCTL Ioctl; local
3355 if(copy_from_user(&Ioctl, rq->ifr_data, sizeof(SK_GE_IOCTL))) {
3364 if(copy_from_user(&pAC->PnmiStruct, Ioctl.pData,
3365 Ioctl.Len<sizeof(pAC->PnmiStruct)?
3366 Ioctl.Len : sizeof(pAC->PnmiStruct))) {
3369 Size = SkGeIocMib(pNet, Ioctl.Len, cmd);
3370 if(copy_to_user(Ioctl.pData, &pAC->PnmiStruct,
3371 Ioctl.Len<Size? Ioctl.Len : Size)) {
3374 Ioctl.Len = Size;
3375 if(copy_to_user(rq->ifr_data, &Ioctl, sizeof(SK_GE_IOCTL))) {
3380 if (Ioctl.Len < (sizeof(pAC->PnmiStruct) + HeaderLength)) {
3381 Length = Ioctl.Len;
3388 if(copy_from_user(pMemBuf, Ioctl.pData, Length)) {
3396 if(copy_to_user(Ioctl.pData, pMemBuf, Length) ) {
3400 Ioctl.Len = Length;
3401 if(copy_to_user(rq->ifr_data, &Ioctl, sizeof(SK_GE_IOCTL))) {
3411 if (Ioctl.Len < (sizeof(pAC->PnmiStruct) + HeaderLength)) {
3412 Length = Ioctl.Len;
3419 if(copy_from_user(pMemBuf, Ioctl.pData, Length)) {
3434 if(copy_to_user(Ioctl.pData, pMemBuf, Length) ) {
3438 Ioctl.Len = Length;
3439 if(copy_to_user(rq->ifr_data, &Ioctl, sizeof(SK_GE_IOCTL))) {