Lines Matching refs:iop
596 struct iocblk *iop;
656 iop = (struct iocblk *) mp->b_rptr;
660 us->mn, iop->ioc_cmd, iop->ioc_count);
661 switch (iop->ioc_cmd) {
686 iop->ioc_count = 0;
723 iop->ioc_count = 0;
748 iop->ioc_count = sizeof(int);
757 if (iop->ioc_count != sizeof(int) || us->ppa != 0)
770 iop->ioc_count = 0;
778 if (iop->ioc_count != sizeof(int) || us->ppa == 0)
795 iop->ioc_count = 0;
801 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
816 iop->ioc_count = 0;
820 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
837 iop->ioc_count = 0;
846 if (iop->ioc_count != sizeof(int))
855 iop->ioc_count = 0;
860 iop->ioc_count = 0;
871 if (iop->ioc_count != 2 * sizeof(int))
895 iop->ioc_count = 0;
915 iop->ioc_count = sizeof(struct ppp_idle);
922 if (iop->ioc_count != sizeof(struct ifreq) || us->ppa == 0)
963 iop->ioc_count = 0;
974 ((struct iocblk_in *)iop)->ioc_ifflags = us->ifflags;
985 us->ifflags = ((struct iocblk_in *)iop)->ioc_ifflags;
997 ((struct iocblk_in *)iop)->ioc_ifflags |= IFF_RUNNING;
1029 us->ioc_id = iop->ioc_id;
1031 switch (iop->ioc_cmd) {
1044 DPRINT1("ppp ioctl %x rejected\n", iop->ioc_cmd);
1053 iop->ioc_error = error;
1814 struct iocblk *iop;
1849 iop = (struct iocblk *) mp->b_rptr;
1851 if (us->ioc_id == iop->ioc_id)
2230 struct iocblk *iop;
2234 iop = (struct iocblk *) mp->b_rptr;
2235 iop->ioc_error = EINVAL;