HomeSort by: relevance | last modified time | path
    Searched refs:mtop (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/sys/
mtio.h 44 struct mtop { struct
137 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
  /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/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/bin/dd/
position.c 130 struct mtop t_op;
  /src/lib/librmt/
rmtlib.c 498 struct mtop *mtop = arg; local in function:_rmt_ioctl
508 mtop->mt_op, mtop->mt_count);
  /src/sys/compat/linux/common/
linux_mtio.c 83 struct mtop mt;
  /src/sys/net/
if_ethersubr.c 520 struct mbuf *mtop = m; local in function:altq_etherclassify
525 KASSERT((mtop->m_flags & M_PKTHDR) != 0);
591 mtop->m_pkthdr.pattr_class =
594 mtop->m_pkthdr.pattr_af = af;
595 mtop->m_pkthdr.pattr_hdr = hdr;
603 mtop->m_pkthdr.pattr_class = NULL;
604 mtop->m_pkthdr.pattr_hdr = NULL;
605 mtop->m_pkthdr.pattr_af = AF_UNSPEC;
  /src/bin/mt/
mt.c 118 struct mtop mt_com;
  /src/usr.bin/tcopy/
tcopy.c 318 struct mtop op;
  /src/usr.bin/eject/
eject.c 372 struct mtop m;
  /src/bin/pax/
ar_io.c 950 struct mtop mb;
1119 struct mtop mb;
1268 struct mtop mb;
  /src/sys/dev/gpib/
ct.c 858 struct mtop *op;
864 op = (struct mtop *)data;
mt.c 987 struct mtop *op;
992 op = (struct mtop *)data;
  /src/sys/dev/isa/
wt.c 502 * ioctl(int fd, MTIOCTOP, struct mtop *buf) -- do BSD-like op
558 switch ((short)((struct mtop*)addr)->mt_op) {
579 for (count = ((struct mtop*)addr)->mt_count; count > 0;
  /src/sys/arch/hp300/dev/
mt.c 950 struct mtop *op;
955 op = (struct mtop *)data;
ct.c 901 struct mtop *op;
907 op = (struct mtop *)data;
  /src/sbin/dump/
tape.c 409 struct mtop offl;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_freebsd.cc 183 unsigned struct_mtop_sz = sizeof(struct mtop);
sanitizer_platform_limits_posix.cc 434 unsigned struct_mtop_sz = sizeof(struct mtop);
sanitizer_platform_limits_netbsd.cc 725 unsigned struct_mtop_sz = sizeof(mtop);
  /src/sys/dev/scsipi/
st.c 1457 struct mtop *mt = (struct mtop *) arg;
  /src/sbin/restore/
tape.c 579 struct mtop tcom;

Completed in 144 milliseconds