Lines Matching refs:slaves
97 struct slaves { struct
108 static struct slaves slaves[SLAVES]; /* one per slave */ argument
109 static struct slaves *slp; /* pointer to current slave */
110 static struct slaves chkpt; /* checkpointed data */
216 struct slaves *slavep; in alloctape()
304 for (slavep = slaves; slavep < &slaves[SLAVES]; slavep++) in alloctape()
401 struct slaves *slavep; in setuparchive()
479 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in setuparchive()
551 struct slaves *slavep; in setupwriter()
590 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in setupwriter()
830 slp = &slaves[rotor]; in nextslave()
847 slp = slaves; in flushcmds()
911 sizeof (struct slaves)) != sizeof (struct slaves)) { in rollforward()
1131 struct slaves *slavep; in just_rewind()
1134 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in just_rewind()
1738 struct slaves *slavep; in killall()
1740 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) in killall()
1792 struct slaves *slavep; in enslave()
1812 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) in enslave()
1827 if ((slaves[i].sl_slavepid = fork()) < 0) { in enslave()
1834 slaves[i].sl_slavefd = cmd[1]; in enslave()
1835 if (slaves[i].sl_slavepid == 0) { /* Slave starts up here */ in enslave()
1857 for (slavep = &slaves[0]; in enslave()
1858 slavep < &slaves[SLAVES]; in enslave()
1916 if ((unsigned)atomic((int(*)())write, slaves[i].sl_slavefd, in enslave()
1917 (char *)&(slaves[(i + 1) % SLAVES].sl_slavepid), in enslave()
1926 slp = slaves; in enslave()
1953 struct req *p = slaves[mynum].sl_req; in dumpoffline()