/src/tests/kernel/tty/ |
t_pr.c | 72 exercise_ptytty(int master, int slave) 77 * send a few bytes from master to slave and read them back 79 error = sendsome(master, slave); 89 error = sendsome(slave, master); 108 int master, slave, error, v; local in function:ATF_TC_BODY 111 slave = rump_sys_open("/dev/ttyp1", O_RDWR|O_NONBLOCK); 112 ATF_CHECK(slave != -1); 118 rump_sys_ioctl(slave, FIOASYNC, &v); 119 error = exercise_ptytty(master, slave); 123 rump_sys_close(slave); 136 int master, slave, error; local in function:ATF_TC_BODY [all...] |
t_pr.c | 72 exercise_ptytty(int master, int slave) 77 * send a few bytes from master to slave and read them back 79 error = sendsome(master, slave); 89 error = sendsome(slave, master); 108 int master, slave, error, v; local in function:ATF_TC_BODY 111 slave = rump_sys_open("/dev/ttyp1", O_RDWR|O_NONBLOCK); 112 ATF_CHECK(slave != -1); 118 rump_sys_ioctl(slave, FIOASYNC, &v); 119 error = exercise_ptytty(master, slave); 123 rump_sys_close(slave); 136 int master, slave, error; local in function:ATF_TC_BODY [all...] |
/src/lib/libutil/ |
pty.c | 68 int master, slave; local in function:openpty 85 slave = pt.sfd; 119 (slave = open(line, O_RDWR, 0)) != -1) { 122 *aslave = slave; 126 (void)tcsetattr(slave, TCSAFLUSH, term); 128 (void)ioctl(slave, TIOCSWINSZ, winp); 141 int master, slave; local in function:forkpty 149 if (openpty(&master, &slave, name, term, winp) == -1) 159 login_tty(slave); 166 (void)close(slave); [all...] |
pty.c | 68 int master, slave; local in function:openpty 85 slave = pt.sfd; 119 (slave = open(line, O_RDWR, 0)) != -1) { 122 *aslave = slave; 126 (void)tcsetattr(slave, TCSAFLUSH, term); 128 (void)ioctl(slave, TIOCSWINSZ, winp); 141 int master, slave; local in function:forkpty 149 if (openpty(&master, &slave, name, term, winp) == -1) 159 login_tty(slave); 166 (void)close(slave); [all...] |
/src/sys/arch/bebox/stand/boot/ |
devopen.c | 44 * /dev/disk/ide/0/slave/0_n 75 char slave[] = "slave"; local in function:devparse 86 } else if (strncmp(p, slave, strlen(slave)) == 0) { 88 p += strlen(slave);
|
devopen.c | 44 * /dev/disk/ide/0/slave/0_n 75 char slave[] = "slave"; local in function:devparse 86 } else if (strncmp(p, slave, strlen(slave)) == 0) { 88 p += strlen(slave);
|
/src/sys/arch/hp300/stand/common/ |
autoconf.c | 149 int sc, type, ctlr, slave, punit; local in function:msustobdev 158 slave = (rp->msus & 0xFF); 161 bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0);
|
autoconf.c | 149 int sc, type, ctlr, slave, punit; local in function:msustobdev 158 slave = (rp->msus & 0xFF); 161 bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0);
|
/src/sys/dev/isa/ |
ast.c | 61 int sc_alive; /* mask of slave units attached */ 151 device_t slave; local in function:astattach 164 "can't map i/o space for slave %d\n", i); 181 slave = config_found(self, &ca, commultiprint, CFARGS_NONE); 182 if (slave != NULL) { 184 sc->sc_slaves[i] = device_private(slave);
|
tcom.c | 100 int sc_alive; /* mask of slave units attached */ 190 device_t slave; local in function:tcomattach 204 "can't map i/o space for slave %d\n", i); 222 slave = config_found(self, &ca, commultiprint, CFARGS_NONE); 223 if (slave != NULL) { 225 sc->sc_slaves[i] = device_private(slave);
|
ast.c | 61 int sc_alive; /* mask of slave units attached */ 151 device_t slave; local in function:astattach 164 "can't map i/o space for slave %d\n", i); 181 slave = config_found(self, &ca, commultiprint, CFARGS_NONE); 182 if (slave != NULL) { 184 sc->sc_slaves[i] = device_private(slave);
|
tcom.c | 100 int sc_alive; /* mask of slave units attached */ 190 device_t slave; local in function:tcomattach 204 "can't map i/o space for slave %d\n", i); 222 slave = config_found(self, &ca, commultiprint, CFARGS_NONE); 223 if (slave != NULL) { 225 sc->sc_slaves[i] = device_private(slave);
|
/src/sys/dev/gpib/ |
cs80bus.c | 79 * CS80/SS80 has a 2-level addressing scheme; slave, the analog 81 * IDs are on a per-slave basis; punits are often used for disk 89 * in cs80bus_attach_children(). For each GPIB slave, we loop 91 * them to modify the punit parameter (but NOT the slave!). 108 int slave; local in function:cs80busattach 116 for (slave = 0; slave < 8; slave++) { 119 slave)) 123 slave, &id, 2) != 2 [all...] |
cs80bus.c | 79 * CS80/SS80 has a 2-level addressing scheme; slave, the analog 81 * IDs are on a per-slave basis; punits are often used for disk 89 * in cs80bus_attach_children(). For each GPIB slave, we loop 91 * them to modify the punit parameter (but NOT the slave!). 108 int slave; local in function:cs80busattach 116 for (slave = 0; slave < 8; slave++) { 119 slave)) 123 slave, &id, 2) != 2 [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_encoder.h | 82 struct drm_encoder_slave *slave = to_encoder_slave(enc); local in function:nouveau_encoder 84 return container_of(slave, struct nouveau_encoder, base);
|
nouveau_encoder.h | 82 struct drm_encoder_slave *slave = to_encoder_slave(enc); local in function:nouveau_encoder 84 return container_of(slave, struct nouveau_encoder, base);
|
/src/sys/external/bsd/drm2/i2c/ |
drm_encoder_slave.c | 131 drm_i2c_encoder_init(struct drm_device *dev, struct drm_encoder_slave *slave, 141 slave->bus_priv = bus_priv; 164 ret = (*driver->encoder_init)(client, dev, slave); 169 (*slave->slave_funcs->set_config)(&slave->base, 180 slave->bus_priv = NULL; 188 struct drm_encoder_slave *const slave = to_encoder_slave(encoder); local in function:drm_i2c_encoder_destroy 189 struct drm_i2c_encoder_bus_priv *const bus_priv = slave->bus_priv; 202 struct drm_encoder_slave *const slave = to_encoder_slave(encoder); local in function:drm_i2c_encoder_get_client 203 struct drm_i2c_encoder_bus_priv *const bus_priv = slave->bus_priv [all...] |
drm_encoder_slave.c | 131 drm_i2c_encoder_init(struct drm_device *dev, struct drm_encoder_slave *slave, 141 slave->bus_priv = bus_priv; 164 ret = (*driver->encoder_init)(client, dev, slave); 169 (*slave->slave_funcs->set_config)(&slave->base, 180 slave->bus_priv = NULL; 188 struct drm_encoder_slave *const slave = to_encoder_slave(encoder); local in function:drm_i2c_encoder_destroy 189 struct drm_i2c_encoder_bus_priv *const bus_priv = slave->bus_priv; 202 struct drm_encoder_slave *const slave = to_encoder_slave(encoder); local in function:drm_i2c_encoder_get_client 203 struct drm_i2c_encoder_bus_priv *const bus_priv = slave->bus_priv [all...] |
/src/usr.sbin/timed/timed/ |
slave.c | 1 /* $NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $ */ 35 static char sccsid[] = "@(#)slave.c 8.1 (Berkeley) 6/6/93"; 37 __RCSID("$NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $"); 60 slave(void) function in typeref:typename:void 183 fprintf(fd, "slave ignored: "); 195 fprintf(fd, "slave ignored: "); 294 * forever. Each time a gateway receives it on its slave side, it will 326 if (fromnet->status != SLAVE) 372 if (fromnet->status == SLAVE) { 423 * more than one master: the first slave t [all...] |
slave.c | 1 /* $NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $ */ 35 static char sccsid[] = "@(#)slave.c 8.1 (Berkeley) 6/6/93"; 37 __RCSID("$NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $"); 60 slave(void) function in typeref:typename:void 183 fprintf(fd, "slave ignored: "); 195 fprintf(fd, "slave ignored: "); 294 * forever. Each time a gateway receives it on its slave side, it will 326 if (fromnet->status != SLAVE) 372 if (fromnet->status == SLAVE) { 423 * more than one master: the first slave t [all...] |
/src/sys/arch/hp300/dev/ |
hpib.c | 108 * HP-IB has a 2-level addressing scheme; slave, the analog 110 * IDs are on a per-slave basis; punits are often used for disk 119 * * We nevertheless probe the whole (slave, punit) tuple space, since 156 /* Initialize the slave request queue. */ 167 int id, slave, punit; local in function:hpibbus_attach_children 170 for (slave = 0; slave < HPIB_NSLAVES; slave++) { 179 id = hpibid(device_unit(sc->sc_dev), slave); 190 ha.ha_slave = slave; [all...] |
hpib.c | 108 * HP-IB has a 2-level addressing scheme; slave, the analog 110 * IDs are on a per-slave basis; punits are often used for disk 119 * * We nevertheless probe the whole (slave, punit) tuple space, since 156 /* Initialize the slave request queue. */ 167 int id, slave, punit; local in function:hpibbus_attach_children 170 for (slave = 0; slave < HPIB_NSLAVES; slave++) { 179 id = hpibid(device_unit(sc->sc_dev), slave); 190 ha.ha_slave = slave; [all...] |
/src/sys/dev/pcmcia/ |
pcmcom.c | 77 device_t sc_slaves[NSLAVES]; /* slave info */ 78 int sc_nslaves; /* slave count */ 87 int pca_slave; /* slave # */ 142 int slave; local in function:pcmcom_attach 164 for (slave = 0; slave < sc->sc_nslaves; slave++) { 167 printf("%s: slave %d\n", device_xname(self), slave); 169 pca.pca_iot = cfe->iospace[slave].handle.iot 193 int slave; local in function:pcmcom_childdet [all...] |
pcmcom.c | 77 device_t sc_slaves[NSLAVES]; /* slave info */ 78 int sc_nslaves; /* slave count */ 87 int pca_slave; /* slave # */ 142 int slave; local in function:pcmcom_attach 164 for (slave = 0; slave < sc->sc_nslaves; slave++) { 167 printf("%s: slave %d\n", device_xname(self), slave); 169 pca.pca_iot = cfe->iospace[slave].handle.iot 193 int slave; local in function:pcmcom_childdet [all...] |
/src/tests/lib/libcurses/director/ |
director.c | 51 #define DEF_SLAVE "./slave" 59 int master; /* pty to the slave */ 70 * Handle the slave exiting unexpectedly, try to recover the exit message 82 fprintf(stderr, "ERROR: Slave has exited\n"); 84 fprintf(stderr, "output from slave: "); 97 fprintf(stderr, "slave exited with message \"%s\"\n", 117 fprintf(stderr, " -s is the path to the slave executable\n"); 130 const char *termpath, *term, *slave; local in function:main 139 termpath = term = slave = NULL; 156 slave = optarg [all...] |