Lines Matching refs:slaves
98 struct slaves { struct
109 static struct slaves slaves[SLAVES]; /* one per slave */ argument
110 static struct slaves *slp; /* pointer to current slave */
111 static struct slaves chkpt; /* checkpointed data */
189 struct slaves *slavep; in alloctape()
277 for (slavep = slaves; slavep < &slaves[SLAVES]; slavep++) in alloctape()
362 struct slaves *slavep; in setuparchive()
440 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in setuparchive()
512 struct slaves *slavep; in setupwriter()
551 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in setupwriter()
784 slp = &slaves[rotor]; in nextslave()
797 slp = slaves; in flushcmds()
857 sizeof (struct slaves)) != sizeof (struct slaves)) { in rollforward()
1069 struct slaves *slavep; in just_rewind()
1072 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) { in just_rewind()
1657 struct slaves *slavep; in killall()
1659 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) in killall()
1707 struct slaves *slavep; in enslave()
1727 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) in enslave()
1742 if ((slaves[i].sl_slavepid = fork()) < 0) { in enslave()
1749 slaves[i].sl_slavefd = cmd[1]; in enslave()
1750 if (slaves[i].sl_slavepid == 0) { /* Slave starts up here */ in enslave()
1772 for (slavep = &slaves[0]; in enslave()
1773 slavep < &slaves[SLAVES]; in enslave()
1831 if ((unsigned)atomic((int(*)())write, slaves[i].sl_slavefd, in enslave()
1832 (char *)&(slaves[(i + 1) % SLAVES].sl_slavepid), in enslave()
1841 slp = slaves; in enslave()
1864 struct req *p = slaves[mynum].sl_req; in dumpoffline()