Home
last modified time | relevance | path

Searched refs:io_next (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fdio.c59 if (io->io_next == NULL) in fdio_read()
62 return (IOP_READ(io->io_next, buf, nbytes)); in fdio_read()
70 if (io->io_next == NULL) in fdio_write()
73 return (IOP_WRITE(io->io_next, buf, nbytes)); in fdio_write()
81 if (io->io_next == NULL) in fdio_seek()
84 return (IOP_SEEK(io->io_next, offset, whence)); in fdio_seek()
92 if (io->io_next != NULL) in fdio_ctl()
93 return (IOP_CTL(io->io_next, req, arg)); in fdio_ctl()
115 if (io->io_next == NULL) in fdio_name()
118 return (IOP_NAME(io->io_next)); in fdio_name()
[all …]
H A Dmdb_logio.c49 if (io->io_next != NULL) { in logio_read()
50 rbytes = IOP_READ(io->io_next, buf, nbytes); in logio_read()
69 if (io->io_next != NULL) { in logio_write()
70 wbytes = IOP_WRITE(io->io_next, buf, nbytes); in logio_write()
90 if (io->io_next != NULL) in logio_name()
91 return (IOP_NAME(io->io_next)); in logio_name()
117 io->io_next = NULL; in mdb_logio_create()
H A Dmdb_strio.c68 if (io->io_next != NULL) in strio_seek()
69 return (IOP_SEEK(io->io_next, offset, whence)); in strio_seek()
104 if (io->io_next != NULL) in strio_name()
105 return (IOP_NAME(io->io_next)); in strio_name()
142 io->io_next = NULL; in mdb_strio_create()
153 for (io = iob->iob_iop; io != NULL; io = io->io_next) { in mdb_iob_isastr()
H A Dmdb_memio.c46 if (io->io_next == NULL) { in memio_read()
54 return (IOP_READ(io->io_next, buf, nbytes)); in memio_read()
62 if (io->io_next == NULL) { in memio_seek()
82 return (IOP_SEEK(io->io_next, offset, whence)); in memio_seek()
111 io->io_next = NULL; in mdb_memio_create()
H A Dmdb_pipeio.c206 if (io->io_next != NULL) in pio_ctl()
207 return (IOP_CTL(io->io_next, req, arg)); in pio_ctl()
240 if (io->io_next == NULL) { in pio_link()
246 IOP_LINK(io->io_next, iob); in pio_link()
266 if (io->io_next == NULL) { in pio_unlink()
308 IOP_UNLINK(io->io_next, iob); in pio_unlink()
338 io->io_next = NULL; in mdb_pipeio_create()
349 for (io = iob->iob_iop; io != NULL; io = io->io_next) { in mdb_iob_isapipe()
H A Dmdb_shell.c123 mdb_io_t *fdio = io->io_next; in shellio_unlink()
128 io->io_next = fdio->io_next; in shellio_unlink()
129 fdio->io_next = NULL; in shellio_unlink()
206 io->io_next = NULL; in mdb_shell_pipe()
H A Dmdb_io.c506 ASSERT(io->io_next == NULL); in mdb_iob_push_io()
508 io->io_next = iob->iob_iop; in mdb_iob_push_io()
518 iob->iob_iop = io->io_next; in mdb_iob_pop_io()
519 io->io_next = NULL; in mdb_iob_pop_io()
1695 io->io_next = NULL; in iob_spb_create()
2231 if (io->io_next != NULL) in no_io_read()
2232 return (IOP_READ(io->io_next, buf, nbytes)); in no_io_read()
2240 if (io->io_next != NULL) in no_io_write()
2241 return (IOP_WRITE(io->io_next, buf, nbytes)); in no_io_write()
2249 if (io->io_next != NULL) in no_io_seek()
[all …]
H A Dmdb_termio.c412 if (io->io_next != NULL) in termio_read()
413 return (IOP_READ(io->io_next, buf, nbytes)); in termio_read()
560 if (io->io_next != NULL) in termio_write()
561 return (IOP_WRITE(io->io_next, buf, nbytes)); in termio_write()
578 if (io->io_next != NULL) in termio_ctl()
579 return (IOP_CTL(io->io_next, req, arg)); in termio_ctl()
615 if (io->io_next != NULL) in termio_name()
616 return (IOP_NAME(io->io_next)); in termio_name()
626 if (io->io_next == NULL) { in termio_link()
630 IOP_LINK(io->io_next, iob); in termio_link()
[all …]
H A Dmdb_kproc.c1096 if (io->io_next != NULL) in kp_io_seek()
1097 return (IOP_SEEK(io->io_next, offset, whence)); in kp_io_seek()
1131 if (io->io_next != NULL) in kp_io_name()
1132 return (IOP_NAME(io->io_next)); in kp_io_name()
1167 io->io_next = NULL; in kp_io_create()
H A Dmdb_io_impl.h85 mdb_io_t *io_next; /* Link to next i/o object on stack */ member
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c61 if (io->io_next == NULL) in pio_read()
64 return (IOP_READ(io->io_next, buf, nbytes)); in pio_read()
72 if (io->io_next == NULL) in pio_write()
75 return (IOP_WRITE(io->io_next, buf, nbytes)); in pio_write()
81 if (io->io_next == NULL) in pio_seek()
84 return (IOP_SEEK(io->io_next, offset, whence)); in pio_seek()
92 if (io->io_next != NULL) in pio_ctl()
93 return (IOP_CTL(io->io_next, req, arg)); in pio_ctl()
165 if (io->io_next == NULL) in pio_name()
168 return (IOP_NAME(io->io_next)); in pio_name()