/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | inout.c | 89 struct inout_port iop; local 93 bzero(&iop, sizeof(iop)); 94 iop.name = "default"; 95 iop.port = start; 96 iop.size = size; 97 iop.flags = IOPORT_F_INOUT | IOPORT_F_DEFAULT; 98 iop.handler = default_inout; 100 register_inout(&iop); 239 struct inout_port **iopp, *iop; local 260 register_inout(struct inout_port *iop) argument 288 unregister_inout(struct inout_port *iop) argument [all...] |
H A D | inout.h | 75 int register_inout(struct inout_port *iop); 76 int unregister_inout(struct inout_port *iop);
|
H A D | pci_lpc.c | 177 struct inout_port iop; local 208 bzero(&iop, sizeof(struct inout_port)); 209 iop.name = name; 210 iop.port = sc->iobase; 211 iop.size = UART_IO_BAR_SIZE; 212 iop.flags = IOPORT_F_INOUT; 213 iop.handler = lpc_uart_io_handler; 214 iop.arg = sc; 216 error = register_inout(&iop);
|
H A D | pci_emul.c | 455 struct inout_port iop; local 460 bzero(&iop, sizeof(struct inout_port)); 461 iop.name = pi->pi_name; 462 iop.port = pi->pi_bar[idx].addr; 463 iop.size = pi->pi_bar[idx].size; 465 iop.flags = IOPORT_F_INOUT; 466 iop.handler = pci_emul_io_handler; 467 iop.arg = pi; 468 error = register_inout(&iop); 470 error = unregister_inout(&iop); [all...] |
/freebsd-10-stable/lib/libc/stdio/ |
H A D | printfcommon.h | 73 io_init(struct io_state *iop, FILE *fp) argument 76 iop->uio.uio_iov = iop->iov; 77 iop->uio.uio_resid = 0; 78 iop->uio.uio_iovcnt = 0; 79 iop->fp = fp; 87 io_print(struct io_state *iop, const CHAR * __restrict ptr, int len, locale_t locale) argument 90 iop->iov[iop->uio.uio_iovcnt].iov_base = (char *)ptr; 91 iop 115 io_pad(struct io_state *iop, int howmany, const CHAR * __restrict with, locale_t locale) argument 134 io_printandpad(struct io_state *iop, const CHAR *p, const CHAR *ep, int len, const CHAR * __restrict with, locale_t locale) argument 152 io_flush(struct io_state *iop, locale_t locale) argument [all...] |
H A D | fsetpos.c | 46 fsetpos(FILE *iop, const fpos_t *pos) argument 48 return (fseeko(iop, (off_t)*pos, SEEK_SET));
|
H A D | vfwprintf.c | 154 grouping_print(struct grouping_state *gs, struct io_state *iop, argument 159 if (io_printandpad(iop, cp, ep, gs->lead, zeroes, locale)) 169 if (io_print(iop, &gs->thousands_sep, 1, locale)) 171 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
|
H A D | vfprintf.c | 125 grouping_print(struct grouping_state *gs, struct io_state *iop, argument 130 if (io_printandpad(iop, cp, ep, gs->lead, zeroes, locale)) 140 if (io_print(iop, gs->thousands_sep, gs->thousep_len, locale)) 142 if (io_printandpad(iop, cp, ep, *gs->grouping, zeroes, locale))
|
/freebsd-10-stable/contrib/opie/ |
H A D | popen.c | 108 FILE *iop; local 140 iop = NULL; 169 iop = fdopen(pipe_fd = pdes[0], type); 172 iop = fdopen(pipe_fd = pdes[1], type); 180 return (iop); 183 int ftpd_pclose FUNCTION((iop), FILE *iop) argument 196 if ((child_pid < 0) || (fileno(iop) != pipe_fd)) 199 fclose(iop);
|
H A D | ftpcmd.y | 882 char *getline FUNCTION((s, n, iop), char *s AND int n AND FILE *iop) 901 while ((c = getc(iop)) != EOF) { 904 if ((c = getc(iop)) != EOF) { 909 c = getc(iop); 915 c = getc(iop);
|
/freebsd-10-stable/lib/libc/gen/ |
H A D | popen.c | 74 FILE *iop; local 104 iop = fdopen(pdes[0], type); 107 iop = fdopen(pdes[1], type); 110 if (iop == NULL) { 129 * up iop. 133 (void)fclose(iop); 182 cur->fp = iop; 188 return (iop); 197 pclose(iop) 198 FILE *iop; [all...] |
/freebsd-10-stable/sys/modules/pst/ |
H A D | Makefile | 6 SRCS= pst-pci.c pst-iop.c pst-raid.c
|
/freebsd-10-stable/sys/dev/pst/ |
H A D | pst-raid.c | 53 #include "dev/pst/pst-iop.h" 56 struct iop_softc *iop; member in struct:pst_softc 97 psc->iop = sc; 119 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid, 132 if (!(reply = iop_get_util_params(psc->iop, psc->lct->local_tid, 169 device_get_nameunit(psc->iop->dev)); 183 mfa = iop_get_mfa(psc->iop); 184 msg = (struct i2o_bsa_cache_flush_message *)(psc->iop->ibase + mfa); 193 if (iop_queue_wait_msg(psc->iop, mfa, (struct i2o_basic_message *)msg)) 203 mtx_lock(&psc->iop [all...] |
/freebsd-10-stable/usr.sbin/cron/cron/ |
H A D | popen.c | 63 FILE *iop; local 113 iop = NULL; 206 iop = fdopen(pdes[0], type); 209 iop = fdopen(pdes[1], type); 212 pids[fileno(iop)] = pid; 221 return(iop); 225 cron_pclose(iop) 226 FILE *iop; 237 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 239 (void)fclose(iop); [all...] |
/freebsd-10-stable/crypto/heimdal/appl/ftp/ftpd/ |
H A D | popen.c | 104 FILE *iop; local 162 iop = NULL; 192 iop = fdopen(pdes[0], type); 195 iop = fdopen(pdes[1], type); 198 pids[fileno(iop)] = pid; 205 return (iop); 209 ftpd_pclose(FILE *iop) argument 219 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 221 fclose(iop);
|
/freebsd-10-stable/libexec/ftpd/ |
H A D | popen.c | 74 FILE *iop; local 118 iop = NULL; 164 iop = fdopen(pdes[0], type); 167 iop = fdopen(pdes[1], type); 170 pids[fileno(iop)] = pid; 175 return (iop); 179 ftpd_pclose(FILE *iop) argument 188 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 190 (void)fclose(iop);
|
H A D | ftpcmd.y | 1164 getline(char *s, int n, FILE *iop) 1188 while ((c = getc(iop)) != EOF) { 1191 if ((c = getc(iop)) == EOF) 1197 if ((c = getc(iop)) == EOF) 1204 if ((c = getc(iop)) == EOF) 1223 while (c != '\n' && (c = getc(iop)) != EOF)
|
/freebsd-10-stable/release/picobsd/tinyware/msh/ |
H A D | sh5.c | 41 if (ec != '\'' && e.iop->task != XGRAVE) { 56 if (e.iop >= e.iobase) 57 e.iop->peekc = c; 64 return e.iop < e.iobase || (e.iop->peekc == 0 && e.iop->prev == 0); 72 for (; e.iop >= e.iobase; e.iop--) 73 if ((c = e.iop->peekc) != '\0') { 74 e.iop [all...] |
H A D | sh2.c | 162 register struct ioword *iop; local 172 iop = io(iounit, i, yylval.cp); 175 markhere(yylval.cp, iop); 564 register struct ioword **iop; local 566 iop = (struct ioword **) getwords(iolist); 568 return(iop); 577 register struct ioword *iop; local 579 iop = (struct ioword *) tree(sizeof(*iop)); 580 iop [all...] |
H A D | sh3.c | 45 _PROTOTYPE(int iosetup, (struct ioword *iop, int pipein, int pipeout )); 365 iosetup(iop, pipein, pipeout) 366 register struct ioword *iop; 372 if (iop->io_unit == IODEFAULT) /* take default */ 373 iop->io_unit = iop->io_flag&(IOREAD|IOHERE)? 0: 1; 374 if (pipein && iop->io_unit == 0) 376 if (pipeout && iop->io_unit == 1) 378 msg = iop->io_flag&(IOREAD|IOHERE)? "open": "create"; 379 if ((iop [all...] |
H A D | sh.h | 148 struct io *iop; member in struct:env 309 #define INSUB() (e.iop->task == XGRAVE || e.iop->task == XDOLL) 320 _PROTOTYPE(int gravechar , (struct ioarg *ap , struct io *iop )); 321 _PROTOTYPE(int qgravechar , (struct ioarg *ap , struct io *iop )); 327 _PROTOTYPE(void markhere , (char *s , struct ioword *iop ));
|
H A D | sh1.c | 149 if (e.iop < iostack) { 178 if (talking && e.iop <= iostack) 309 e.iop = e.iobase = iostack;
|
/freebsd-10-stable/usr.sbin/autofs/ |
H A D | popen.c | 147 auto_pclose(FILE *iop) argument 157 if (cur->outfp == iop)
|
H A D | common.h | 104 int auto_pclose(FILE *iop);
|
/freebsd-10-stable/gnu/usr.bin/rcs/lib/ |
H A D | rcslex.c | 1441 aputs(s, iop) 1443 FILE *iop; 1444 /* Function: Put string s on file iop, abort on error. 1448 if (fputs(s, iop) < 0) 1451 awrite(s, strlen(s), iop); 1489 aprintf(FILE *iop, char const *fmt, ...) argument 1492 aprintf(iop, fmt, va_alist) 1493 FILE *iop; 1503 fvfprintf(iop, fmt, ap);
|