Lines Matching defs:iop
588 struct iocblk *iop;
648 iop = (struct iocblk *) mp->b_rptr;
652 us->mn, iop->ioc_cmd, iop->ioc_count);
653 switch (iop->ioc_cmd) {
678 iop->ioc_count = 0;
715 iop->ioc_count = 0;
740 iop->ioc_count = sizeof(int);
749 if (iop->ioc_count != sizeof(int) || us->ppa != 0)
762 iop->ioc_count = 0;
770 if (iop->ioc_count != sizeof(int) || us->ppa == 0)
787 iop->ioc_count = 0;
793 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
808 iop->ioc_count = 0;
812 if (iop->ioc_count != sizeof(int) || (us->flags & US_CONTROL) == 0)
829 iop->ioc_count = 0;
838 if (iop->ioc_count != sizeof(int))
847 iop->ioc_count = 0;
852 iop->ioc_count = 0;
863 if (iop->ioc_count != 2 * sizeof(int))
886 iop->ioc_count = 0;
906 iop->ioc_count = sizeof(struct ppp_idle);
913 if (iop->ioc_count != sizeof(struct ifreq) || us->ppa == 0)
954 iop->ioc_count = 0;
965 ((struct iocblk_in *)iop)->ioc_ifflags = us->ifflags;
976 us->ifflags = ((struct iocblk_in *)iop)->ioc_ifflags;
988 ((struct iocblk_in *)iop)->ioc_ifflags |= IFF_RUNNING;
1020 us->ioc_id = iop->ioc_id;
1022 switch (iop->ioc_cmd) {
1035 DPRINT1("ppp ioctl %x rejected\n", iop->ioc_cmd);
1044 iop->ioc_error = error;
1796 struct iocblk *iop;
1831 iop = (struct iocblk *) mp->b_rptr;
1833 if (us->ioc_id == iop->ioc_id)
2198 struct iocblk *iop;
2202 iop = (struct iocblk *) mp->b_rptr;
2203 iop->ioc_error = EINVAL;