Lines Matching refs:iop
325 struct iocblk *iop;
350 iop = (struct iocblk *) mp->b_rptr;
352 switch (iop->ioc_cmd) {
356 if (iop->ioc_count != 2 * sizeof(int))
377 iop->ioc_count = sizeof(int);
386 if (iop->ioc_count != 2)
399 iop->ioc_count = 0;
404 if (iop->ioc_count <= 0)
412 if (len > iop->ioc_count)
413 len = iop->ioc_count;
421 if (iop->ioc_cmd == PPPIO_XCOMP) {
446 if (iop->ioc_cmd == PPPIO_XCOMP) {
498 iop->ioc_count = 0;
516 iop->ioc_count = sizeof(struct ppp_stats);
533 iop->ioc_count = sizeof(struct ppp_comp_stats);
543 if (iop->ioc_count != sizeof(int))
554 iop->ioc_count = 0;
577 iop->ioc_error = error;
578 iop->ioc_count = 0;
740 struct iocblk *iop;
757 iop = (struct iocblk *) mp->b_rptr;
758 switch (iop->ioc_cmd) {
764 if (mp->b_cont == 0 || iop->ioc_count != sizeof(struct ppp_stats))