Lines Matching defs:iop
598 struct iocblk *iop;
659 iop = (struct iocblk *) mp->b_rptr;
663 us->mn, iop->ioc_cmd, iop->ioc_count);
664 switch (iop->ioc_cmd) {
689 iop->ioc_count = 0;
726 iop->ioc_count = 0;
752 iop->ioc_count = sizeof(int);
762 if (iop->ioc_count != sizeof(int) || us->ppa != 0)
775 iop->ioc_count = 0;
784 if (iop->ioc_count != sizeof(int) || us->ppa == 0)
801 iop->ioc_count = 0;
807 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
822 iop->ioc_count = 0;
826 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
843 iop->ioc_count = 0;
852 if (iop->ioc_count != sizeof(int))
866 iop->ioc_count = 0;
878 if (iop->ioc_count != 2 * sizeof(int))
902 iop->ioc_count = 0;
922 iop->ioc_count = sizeof(struct ppp_idle);
929 if (iop->ioc_count != sizeof(struct ifreq) || us->ppa == 0)
970 iop->ioc_count = 0;
981 ((struct iocblk_in *)iop)->ioc_ifflags = us->ifflags;
992 us->ifflags = ((struct iocblk_in *)iop)->ioc_ifflags;
1004 ((struct iocblk_in *)iop)->ioc_ifflags |= IFF_RUNNING;
1037 us->ioc_id = iop->ioc_id;
1039 switch (iop->ioc_cmd) {
1052 DPRINT1("ppp ioctl %x rejected\n", iop->ioc_cmd);
1061 iop->ioc_error = error;
1829 struct iocblk *iop;
1864 iop = (struct iocblk *) mp->b_rptr;
1866 if (us->ioc_id == iop->ioc_id)
2248 struct iocblk *iop;
2252 iop = (struct iocblk *) mp->b_rptr;
2253 iop->ioc_error = EINVAL;