/src/usr.sbin/rmt/ |
rmt.c | 167 struct mtop mtop; local in function:main 169 mtop.mt_op = atoi(op); 170 mtop.mt_count = atoi(count); 171 if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0) 173 rval = mtop.mt_count;
|
/src/sys/dev/mscp/ |
mscp_tape.c | 421 struct mtop *mtop; local in function:mtioctl 427 mtop = (void *)data; 428 if (mtop->mt_op == MTWEOF) { 429 while (mtop->mt_count-- > 0) 430 if ((error = mtcmd(mt, mtop->mt_op, 0, 0))) 433 error = mtcmd(mt, mtop->mt_op, mtop->mt_count, 0);
|
/src/lib/librmt/ |
rmtlib.c | 498 struct mtop *mtop = arg; local in function:_rmt_ioctl 508 mtop->mt_op, mtop->mt_count);
|
/src/sys/dev/qbus/ |
ts.c | 944 struct mtop *mtop; /* mag tape cmd op to perform */ local in function:tsioctl 959 mtop = (struct mtop *)data; 960 switch (mtop->mt_op) { 962 callcount = mtop->mt_count; 971 scount = mtop->mt_count; 987 printf("ioctl %d not implemented.\n", mtop->mt_op); 991 printf("invalid ioctl %d\n", mtop->mt_op); 994 } /* switch (mtop->mt_op) * [all...] |
/src/sys/sys/ |
mtio.h | 44 struct mtop { struct 137 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
|
/src/sys/net/ |
if_ethersubr.c | 482 struct mbuf *mtop = m; local in function:altq_etherclassify 487 KASSERT((mtop->m_flags & M_PKTHDR) != 0); 553 mtop->m_pkthdr.pattr_class = 556 mtop->m_pkthdr.pattr_af = af; 557 mtop->m_pkthdr.pattr_hdr = hdr; 565 mtop->m_pkthdr.pattr_class = NULL; 566 mtop->m_pkthdr.pattr_hdr = NULL; 567 mtop->m_pkthdr.pattr_af = AF_UNSPEC;
|