Lines Matching defs:slaves

56  * the slaves.  The tape writer passes out the current inode,
97 struct slaves {
108 static struct slaves slaves[SLAVES]; /* one per slave */
109 static struct slaves *slp; /* pointer to current slave */
110 static struct slaves chkpt; /* checkpointed data */
128 static int *idle; /* number of times slaves were idle */
139 static int recsout; /* number of req's sent to slaves */
140 static int totalrecsout; /* total number of req's sent to slaves */
216 struct slaves *slavep;
304 for (slavep = slaves; slavep < &slaves[SLAVES]; slavep++)
401 struct slaves *slavep;
479 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
551 struct slaves *slavep;
590 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
767 * to one of the slaves. Slaves return whether the file was active
830 slp = &slaves[rotor];
847 slp = slaves;
911 sizeof (struct slaves)) != sizeof (struct slaves)) {
1131 struct slaves *slavep;
1134 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
1143 /* wait for any signals from slaves */
1646 enslave(); /* Share tape buffers with slaves */
1738 struct slaves *slavep;
1740 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++)
1792 struct slaves *slavep;
1812 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++)
1827 if ((slaves[i].sl_slavepid = fork()) < 0) {
1834 slaves[i].sl_slavefd = cmd[1];
1835 if (slaves[i].sl_slavepid == 0) { /* Slave starts up here */
1857 for (slavep = &slaves[0];
1858 slavep < &slaves[SLAVES];
1916 if ((unsigned)atomic((int(*)())write, slaves[i].sl_slavefd,
1917 (char *)&(slaves[(i + 1) % SLAVES].sl_slavepid),
1926 slp = slaves;
1953 struct req *p = slaves[mynum].sl_req;