Home
last modified time | relevance | path

Searched refs:mdb_iob_t (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_io.h42 typedef struct mdb_iob mdb_iob_t; /* I/O buffer */ typedef
63 mdb_iob_t *stk_top; /* Topmost stack element */
73 mdb_iob_t *ctx_iob; /* Storage for iob save/restore */
79 typedef void mdb_iobsvc_f(mdb_iob_t *, mdb_iob_t *, mdb_iob_ctx_t *);
98 extern mdb_iob_t *mdb_iob_create(mdb_io_t *, uint_t);
99 extern void mdb_iob_pipe(mdb_iob_t **, mdb_iobsvc_f *, mdb_iobsvc_f *);
100 extern void mdb_iob_destroy(mdb_iob_t *);
102 extern void mdb_iob_flush(mdb_iob_t *);
103 extern void mdb_iob_nlflush(mdb_iob_t *);
104 extern void mdb_iob_discard(mdb_iob_t *);
[all …]
H A Dmdb_io.c193 iob_write(mdb_iob_t *iob, mdb_io_t *io, const void *buf, size_t n) in iob_write()
220 iob_read(mdb_iob_t *iob, mdb_io_t *io) in iob_read()
250 iob_pager(mdb_iob_t *iob) in iob_pager()
349 iob_indent(mdb_iob_t *iob) in iob_indent()
366 iob_unindent(mdb_iob_t *iob) in iob_unindent()
381 mdb_iob_t *
384 mdb_iob_t *iob = mdb_alloc(sizeof (mdb_iob_t), UM_SLEEP); in mdb_iob_create()
407 mdb_iob_pipe(mdb_iob_t **iobs, mdb_iobsvc_f *rdsvc, mdb_iobsvc_f *wrsvc) in mdb_iob_pipe()
422 mdb_iob_destroy(mdb_iob_t *iob) in mdb_iob_destroy()
440 mdb_free(iob, sizeof (mdb_iob_t)); in mdb_iob_destroy()
[all …]
H A Dmdb_io_impl.h45 void (*io_link)(mdb_io_t *, mdb_iob_t *);
46 void (*io_unlink)(mdb_io_t *, mdb_iob_t *);
103 mdb_iob_t *iob_next; /* Stack next pointer */
116 extern void no_io_link(mdb_io_t *, mdb_iob_t *);
117 extern void no_io_unlink(mdb_io_t *, mdb_iob_t *);
H A Dmdb.h158 mdb_iob_t *m_in; /* Input stream */
159 mdb_iob_t *m_out; /* Output stream */
160 mdb_iob_t *m_err; /* Error stream */
161 mdb_iob_t *m_null; /* Null stream */
239 extern void mdb_dcmd_usage(const mdb_idcmd_t *, mdb_iob_t *);
H A Dmdb_pipeio.c62 mdb_iob_t *pipe_rdiob; /* Read-side i/o buffer */
64 mdb_iob_t *pipe_wriob; /* Write-side i/o buffer */
232 pio_link(mdb_io_t *io, mdb_iob_t *iob) in pio_link()
250 pio_unlink(mdb_io_t *io, mdb_iob_t *iob) in pio_unlink()
345 mdb_iob_isapipe(mdb_iob_t *iob) in mdb_iob_isapipe()
H A Dmdb_shell.c121 shellio_unlink(mdb_io_t *io, mdb_iob_t *iob) in shellio_unlink()
164 mdb_iob_t *iob; in mdb_shell_pipe()
H A Dmdb.c826 rdsvc(mdb_iob_t *rdiob, mdb_iob_t *wriob, mdb_iob_ctx_t *ctx) in rdsvc()
859 wrsvc(mdb_iob_t *rdiob, mdb_iob_t *wriob, mdb_iob_ctx_t *ctx) in wrsvc()
885 mdb_iob_t *iobs[2]; in mdb_call()
1083 mdb_dcmd_usage(const mdb_idcmd_t *idcp, mdb_iob_t *iob) in mdb_dcmd_usage()
H A Dmdb_termio.c220 mdb_iob_t *tio_out; /* I/o buffer for terminal output */
221 mdb_iob_t *tio_in; /* I/o buffer for terminal input */
222 mdb_iob_t *tio_link; /* I/o buffer to resize on WINCH */
264 static void termio_link(mdb_io_t *, mdb_iob_t *);
265 static void termio_unlink(mdb_io_t *, mdb_iob_t *);
622 termio_link(mdb_io_t *io, mdb_iob_t *iob) in termio_link()
634 termio_unlink(mdb_io_t *io, mdb_iob_t *iob) in termio_unlink()
1704 mdb_iob_isatty(mdb_iob_t *iob) in mdb_iob_isatty()
H A Dmdb_strio.c149 mdb_iob_isastr(mdb_iob_t *iob) in mdb_iob_isastr()
H A Dmdb_main.c1101 mdb_iob_t *iob = mdb_iob_create(rc_io, MDB_IOB_RDONLY); in main()
1102 mdb_iob_t *old = mdb.m_in; in main()
H A Dmdb_cmds.c927 mdb_iob_t *iob; in cmd_cat()
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/
H A Dmdb_ds.c162 mdb_iob_t iob; in cmd_iob()
428 mdb_iob_t iob; in iob_stack_walk_step()