Searched defs:iob (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/lib/libast/common/stdio/
H A D_stdfun.c54 static char* iob; local
59 if (!iob && !(iob = IOB))
61 if (f && ((char*)f < iob || (char*)f > iob+IOBMAX))
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_shell.c42 * We then layer a shellio object (implemented below) and iob on top, and
43 * set mdb.m_out to point to this new iob. The shellio is simply a pass-thru
116 * unlinked from its iob before being popped by mdb_iob_destroy, we use the
118 * routine to be called) and remove it from the iob's i/o stack out of order.
123 shellio_unlink(mdb_io_t *io, mdb_iob_t *iob) argument
127 ASSERT(iob->iob_iop == io);
166 mdb_iob_t *iob; local
177 iob = mdb_iob_create(mdb_fdio_create(pfds[1]), MDB_IOB_WRONLY | iflag);
178 mdb_iob_clrflags(iob, MDB_IOB_AUTOWRAP | MDB_IOB_INDENT);
179 mdb_iob_resize(iob, BUFSI
[all...]
H A Dmdb_strio.c151 mdb_iob_isastr(mdb_iob_t *iob) argument
155 for (io = iob->iob_iop; io != NULL; io = io->io_next) {
H A Dmdb_pipeio.c34 * iobs. Each iob points at the same i/o backend (the pipe i/o), and the
39 * mdb_iob_* routines to fill the write-side iob, and when this iob needs to
44 * pio_read() copies data up from the pipe buffer into the read-side iob.
234 pio_link(mdb_io_t *io, mdb_iob_t *iob) argument
240 * i/o backend with its iob to determine our read and write iobs.
243 if (iob->iob_flags & MDB_IOB_RDONLY)
244 pd->pipe_rdiob = iob;
246 pd->pipe_wriob = iob;
248 IOP_LINK(io->io_next, iob);
252 pio_unlink(mdb_io_t *io, mdb_iob_t *iob) argument
347 mdb_iob_isapipe(mdb_iob_t *iob) argument
[all...]
H A Dmdb.c705 * print a newline and discard everything in the parser's iob.
1072 mdb_dcmd_usage(const mdb_idcmd_t *idcp, mdb_iob_t *iob) argument
1096 mdb_iob_printf(iob, "Usage: %s%s %s\n", prefix, idcp->idc_name, usage);
1099 mdb_iob_printf(iob, "%s: try '::help %s' for more "
H A Dmdb_main.c1071 mdb_iob_t *iob = mdb_iob_create(rc_io, MDB_IOB_RDONLY); local
1074 mdb.m_in = iob;
H A Dmdb_termio.c450 * Since we're about to start the read loop, we know our linked iob
618 termio_link(mdb_io_t *io, mdb_iob_t *iob) argument
623 mdb_iob_resize(iob, td->tio_rows, td->tio_cols);
624 td->tio_link = iob;
626 IOP_LINK(io->io_next, iob);
630 termio_unlink(mdb_io_t *io, mdb_iob_t *iob) argument
635 if (td->tio_link == iob)
638 IOP_UNLINK(io->io_next, iob);
1613 mdb_iob_isatty(mdb_iob_t *iob) argument
1617 if (iob
[all...]
H A Dmdb_io.c57 * session logging. Normally, the stdout iob has a backend that is either
73 * inserted when the iob is created, and following each flush of the buffer.
109 * The iob snprintf family of functions makes use of a special "sprintf
163 #define IOB_WRAPNOW(iob, n) \
164 (((iob)->iob_flags & MDB_IOB_AUTOWRAP) && ((iob)->iob_nbytes != 0) && \
165 ((n) + (iob)->iob_nbytes > (iob)->iob_cols))
185 iob_write(mdb_iob_t *iob, mdb_io_t *io, const void *buf, size_t n) argument
204 iob
212 iob_read(mdb_iob_t *iob, mdb_io_t *io) argument
242 iob_pager(mdb_iob_t *iob) argument
341 iob_indent(mdb_iob_t *iob) argument
358 iob_unindent(mdb_iob_t *iob) argument
376 mdb_iob_t *iob = mdb_alloc(sizeof (mdb_iob_t), UM_SLEEP); local
414 mdb_iob_destroy(mdb_iob_t *iob) argument
436 mdb_iob_discard(mdb_iob_t *iob) argument
443 mdb_iob_flush(mdb_iob_t *iob) argument
485 mdb_iob_nlflush(mdb_iob_t *iob) argument
496 mdb_iob_push_io(mdb_iob_t *iob, mdb_io_t *io) argument
505 mdb_iob_pop_io(mdb_iob_t *iob) argument
519 mdb_iob_resize(mdb_iob_t *iob, size_t rows, size_t cols) argument
530 mdb_iob_setpager(mdb_iob_t *iob, mdb_io_t *pgio) argument
550 mdb_iob_tabstop(mdb_iob_t *iob, size_t tabstop) argument
556 mdb_iob_margin(mdb_iob_t *iob, size_t margin) argument
564 mdb_iob_setbuf(mdb_iob_t *iob, void *buf, size_t bufsiz) argument
577 mdb_iob_clearlines(mdb_iob_t *iob) argument
584 mdb_iob_setflags(mdb_iob_t *iob, uint_t flags) argument
592 mdb_iob_clrflags(mdb_iob_t *iob, uint_t flags) argument
600 mdb_iob_getflags(mdb_iob_t *iob) argument
1023 iob_setattr(mdb_iob_t *iob, const char *s, size_t nbytes) argument
1077 iob_bits2str(mdb_iob_t *iob, u_longlong_t value, const mdb_bitmask_t *bmp, mdb_bool_t altflag) argument
1171 iob_doprnt(mdb_iob_t *iob, const char *format, varglist_t *ap) argument
1577 mdb_iob_vprintf(mdb_iob_t *iob, const char *format, va_list alist) argument
1585 mdb_iob_aprintf(mdb_iob_t *iob, const char *format, const mdb_arg_t *argv) argument
1593 mdb_iob_printf(mdb_iob_t *iob, const char *format, ...) argument
1650 iob_spb_create(mdb_iob_t *iob, char *iob_buf, size_t iob_len, mdb_io_t *io, spbuf_t *spb, char *spb_buf, size_t spb_len) argument
1717 mdb_iob_t iob; local
1741 mdb_iob_t iob; local
1773 mdb_iob_nputs(mdb_iob_t *iob, const char *s, size_t nbytes) argument
1838 mdb_iob_puts(mdb_iob_t *iob, const char *s) argument
1844 mdb_iob_putc(mdb_iob_t *iob, int c) argument
1850 mdb_iob_tab(mdb_iob_t *iob) argument
1871 mdb_iob_fill(mdb_iob_t *iob, int c, size_t nfill) argument
1904 mdb_iob_ws(mdb_iob_t *iob, size_t n) argument
1913 mdb_iob_nl(mdb_iob_t *iob) argument
1927 mdb_iob_ngets(mdb_iob_t *iob, char *buf, size_t n) argument
1960 mdb_iob_getc(mdb_iob_t *iob) argument
1977 mdb_iob_ungetc(mdb_iob_t *iob, int c) argument
1993 mdb_iob_eof(mdb_iob_t *iob) argument
2000 mdb_iob_err(mdb_iob_t *iob) argument
2006 mdb_iob_read(mdb_iob_t *iob, void *buf, size_t n) argument
2036 mdb_iob_write(mdb_iob_t *iob, const void *buf, size_t n) argument
2055 mdb_iob_ctl(mdb_iob_t *iob, int req, void *arg) argument
2061 mdb_iob_name(mdb_iob_t *iob) argument
2070 mdb_iob_lineno(mdb_iob_t *iob) argument
2076 mdb_iob_gettabstop(mdb_iob_t *iob) argument
2082 mdb_iob_getmargin(mdb_iob_t *iob) argument
2132 mdb_iob_stack_push(mdb_iob_stack_t *stk, mdb_iob_t *iob, size_t lineno) argument
2221 no_io_link(mdb_io_t *io, mdb_iob_t *iob) argument
2228 no_io_unlink(mdb_io_t *io, mdb_iob_t *iob) argument
[all...]
H A Dmdb_cmds.c826 mdb_iob_t *iob; local
846 iob = mdb_iob_create(fio, MDB_IOB_RDONLY);
848 while (!(mdb_iob_getflags(iob) & (MDB_IOB_EOF | MDB_IOB_ERR))) {
849 ssize_t len = mdb_iob_read(iob, buf, sizeof (buf));
860 if (mdb_iob_err(iob))
861 mdb_warn("error while reading %s", mdb_iob_name(iob));
863 mdb_iob_destroy(iob);
/illumos-gate/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c259 opl_hb_enum(topo_mod_t *mp, const ioboard_contents_t *iob, tnode_t *ion, argument
282 p = iob->rcs[hb][rc];
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/
H A Dmdb_ds.c162 mdb_iob_t iob; local
173 if (mdb_vread(&iob, sizeof (iob), addr) == -1 ||
174 mdb_vread(&io, sizeof (io), (uintptr_t)iob.iob_iop) == -1) {
175 mdb_warn("failed to read iob at %p", addr);
179 mdb_printf("%?p %6lu %6x %?p %a\n", addr, (ulong_t)iob.iob_nbytes,
180 iob.iob_flags, iob.iob_iop, io.io_ops);
428 mdb_iob_t iob; local
433 if (mdb_vread(&iob, sizeo
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dfio.c699 fsize(FILE *iob) argument
704 f = fileno(iob);
717 fferror(FILE *iob) argument
719 return (ferror(iob) || fsync(fileno(iob)) < 0);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dflush.c110 * With dynamic linking, iob may be in either the library or in the user's
146 * All functions that understand the linked list of iob's follow.
163 * XXX: We should acquire all of the iob locks here.
171 * XXX: We should release all of the iob locks here.
231 FILE iob[FILE_ARY_SZ]; member in struct:__anon3035
237 xFILE iob[FILE_ARY_SZ]; member in struct:__anon3036::__anon3037
240 xFILE iob[FILE_ARY_SZ]; member in struct:__anon3036::__anon3038
322 hdr->iobp = &pkgp->iob[0];
344 offsetof(Pkg, Pkgn.iob[FILE_ARY_SZ-1].xmagic) &&
346 offsetof(Pkg, Pkgn.iob[
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppproto.c258 proto_error(char* iob, int level, char* msg, char* arg) argument
264 if (iob)
266 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto));
2104 pppclose(char* iob) argument
2106 register struct proto* proto = (struct proto*)(iob - sizeof(struct proto));
2128 register char* iob; local
2187 iob = (char*)proto + sizeof(struct proto);
2188 proto->op = proto->ob = iob;
2189 proto->ip = proto->ib = iob + proto->oz + n;
2212 pppclose(iob);
2448 pppread(char* iob) argument
2547 pppdrop(char* iob) argument
[all...]

Completed in 163 milliseconds