/src/libexec/ftpd/ |
popen.c | 110 FILE * volatile iop; local in function:ftpd_popen 116 iop = NULL; 203 iop = fdopen(pdes[0], ptype); 206 iop = fdopen(pdes[1], ptype); 209 pids[fileno(iop)] = pid; 214 return (iop); 218 ftpd_pclose(FILE *iop) 228 if (pids == 0 || pids[fdes = fileno(iop)] == 0) 230 (void)fclose(iop);
|
/src/lib/libc/gen/ |
popen.c | 154 FILE *iop; local in function:pdes_parent 158 iop = fdopen(pdes[0], type); 164 iop = fdopen(pdes[1], type); 172 cur->fp = iop; 267 pclose(FILE *iop) 273 _DIAGASSERT(iop != NULL); 279 if (cur->fp == iop) 287 (void)fclose(iop);
|
/src/sys/arch/mac68k/mac68k/ |
iop.c | 1 /* $NetBSD: iop.c,v 1.12 2023/12/20 00:40:43 thorpej Exp $ */ 35 __KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.12 2023/12/20 00:40:43 thorpej Exp $"); 51 static IOP mac68k_iops[2]; 55 static void iop_message_sent(IOP *, int); 56 static void receive_iop_message(IOP *, int); 57 static void default_listener(IOP *, struct iop_msg *); 90 default_listener(IOP *iop, struct iop_msg *msg) 99 IOP *iop; local in function:iop_init 246 IOP *iop; local in function:iopism_hand 372 IOP *iop; local in function:iop_send_msg 413 IOP *iop; local in function:iop_queue_receipt 442 IOP *iop; local in function:iop_register_listener [all...] |
/src/bin/ksh/ |
tree.c | 19 static void pioact ARGS((struct shf *f, int indent, struct ioword *iop)); 197 struct ioword *iop = *ioact++; local in function:ptree 200 if ((iop->flag & IOTYPE) == IOHERE && iop->heredoc) { 202 shf_puts(iop->heredoc, shf); 204 evalstr(iop->delim, 0)); 218 pioact(shf, indent, iop) 221 struct ioword *iop; 223 int flag = iop->flag; 229 : (type == IODUP && (iop->unit == !(flag & IORDUP))) 738 struct ioword **iop; local in function:iofree [all...] |
syn.c | 165 struct ioword *iop; local in function:synio 171 iop = yylval.iop; 172 ishere = (iop->flag&IOTYPE) == IOHERE; 175 iop->delim = yylval.cp; 177 iop->flag |= IOEVAL; 180 *herep++ = iop; 182 iop->name = yylval.cp; 183 return iop; 214 struct ioword *iop, **iops local in function:get_command [all...] |
lex.c | 61 static void readhere ARGS((struct ioword *iop)); 632 struct ioword *iop = local in function:yylex 633 (struct ioword *) alloc(sizeof(*iop), ATEMP); 636 iop->unit = dp[1] - '0'; 638 iop->unit = c == '>'; /* 0 for <, 1 for > */ 643 iop->flag = c == c2 ? 645 if (iop->flag == IOHERE) { 647 iop->flag |= IOSKIP; 653 iop->flag = IODUP | (c == '<' ? IORDUP : 0); 655 iop->flag = c == '>' ? IOWRITE : IOREAD [all...] |
lex.h | 74 struct ioword *iop; member in union:__anon022314e9020a
|
/src/sys/dev/i2o/ |
iopsp.c | 86 struct iop_softc *iop; local in function:iopsp_match 94 iop = device_private(parent); 99 if (iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_CTLR_INFO, ¶m, 115 struct iop_softc *iop; local in function:iopsp_attach 130 iop = device_private(parent); 139 iop_initiator_register(iop, &sc->sc_ii); 141 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_CTLR_INFO, 153 iop_print_ident(iop, ia->ia_tid); 156 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_HBA_SCSI_CTLR_INFO, 206 iop_initiator_unregister(iop, &sc->sc_ii) 217 struct iop_softc *iop; local in function:iopsp_reconfig 350 struct iop_softc *iop; local in function:iopsp_rescan 389 struct iop_softc *iop; local in function:iopsp_scsipi_request 507 struct iop_softc *iop; local in function:iopsp_scsi_abort 536 struct iop_softc *iop; local in function:iopsp_intr 642 struct iop_softc *iop; local in function:iopsp_adjqparam [all...] |
dpti.c | 163 struct iop_softc *iop; local in function:dpti_match 166 iop = device_private(parent); 171 if (le16toh(iop->sc_status.orgid) != I2O_ORG_DPT) 180 struct iop_softc *iop; local in function:dpti_attach 191 iop = device_private(parent); 201 rv = iop_field_get_all(iop, I2O_TID_IOP, 224 struct iop_softc *iop; local in function:dptiioctl 230 iop = device_private(device_parent(sc->sc_dev)); 245 mutex_enter(&iop->sc_conflock); 301 rv = iop_reconfigure(iop, 0) 316 struct iop_softc *iop; local in function:dpti_blinkled 335 struct iop_softc *iop; local in function:dpti_ctlrinfo 450 struct iop_softc *iop; local in function:dpti_passthrough [all...] |
ld_iop.c | 120 struct iop_softc *iop = device_private(parent); local in function:ld_iop_attach 144 iop_initiator_register(iop, &sc->sc_ii); 151 iop_initiator_register(iop, &sc->sc_eventii); 153 rv = iop_util_eventreg(iop, &sc->sc_eventii, 165 * Start out with one queued command. The `iop' driver will adjust 178 iop_print_ident(iop, ia->ia_tid); 184 rv = iop_util_claim(iop, &sc->sc_ii, 0, 191 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_RBS_DEVICE_INFO, 238 rv = iop_field_get_all(iop, ia->ia_tid, I2O_PARAM_RBS_CACHE_CONTROL, 256 iop_field_set(iop, ia->ia_tid, I2O_PARAM_RBS_OPERATION 281 struct iop_softc *iop; local in function:ld_iop_unconfig 317 struct iop_softc *iop; local in function:ld_iop_detach 347 struct iop_softc *iop; local in function:ld_iop_start 407 struct iop_softc *iop; local in function:ld_iop_dump 445 struct iop_softc *iop; local in function:ld_iop_flush 490 struct iop_softc *iop; local in function:ld_iop_intr 527 struct iop_softc *iop; local in function:ld_iop_intr_event 554 struct iop_softc *iop = device_private(device_parent(dv)); local in function:ld_iop_adjqparam [all...] |
iop.c | 1 /* $NetBSD: iop.c,v 1.93 2023/09/07 20:07:03 ad Exp $ */ 37 __KERNEL_RCSID(0, "$NetBSD: iop.c,v 1.93 2023/09/07 20:07:03 ad Exp $"); 39 #include "iop.h" 281 * Initialise the IOP and our interface. 304 /* Disable interrupts at the IOP. */ 415 /* Initialise the IOP's outbound FIFO. */ 431 /* Ensure interrupts are enabled at the IOP. */ 472 struct iop_softc *sc, *iop; local in function:iop_config_interrupts 495 if ((iop = device_lookup_private(&iop_cd, i)) == NULL) 497 if ((iop->sc_flags & IOP_HAVESTATUS) == 0 [all...] |
/src/sys/arch/x86/acpi/ |
acpi_machdep.c | 202 ACPI_MADT_INTERRUPT_OVERRIDE *iop; local in function:acpi_md_findoverride 209 iop = (void *)hdrp; 211 if (iop->SourceIrq == ovrp->irq) { 212 ovrp->pin = iop->GlobalIrq; 213 ovrp->flags = iop->IntiFlags;
|
/src/sys/arch/ews4800mips/include/ |
sbd.h | 48 uint32_t iop :4; member in struct:sbdinfo
|
/src/sys/arch/mac68k/include/ |
iopreg.h | 108 u_char alive; /* IOP alive flag */ 115 typedef void (*iop_msg_handler)(struct _s_IOP *iop, struct iop_msg *); 130 #define IOP_MSGSTAT_SENDING 2 /* Message on IOP */ 137 IOPHW *iop; member in struct:_s_IOP 144 } IOP; 178 * The structure of a SWIM packet to/from the IOP is: 195 * The structure of an ADB packet to/from the IOP is:
|