OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mtop
(Results
1 - 6
of
6
) sorted by relevancy
/src/usr.sbin/rmt/
rmt.c
167
struct
mtop
mtop
;
local
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/lib/librmt/
rmtlib.c
498
struct
mtop
*
mtop
= arg;
local
508
mtop
->mt_op,
mtop
->mt_count);
/src/sys/dev/mscp/
mscp_tape.c
421
struct
mtop
*
mtop
;
local
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
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
520
struct mbuf *
mtop
= m;
local
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;
Completed in 35 milliseconds
Indexes created Sat Feb 21 08:20:20 UTC 2026