Lines Matching defs:slavep
216 struct slaves *slavep;
304 for (slavep = slaves; slavep < &slaves[SLAVES]; slavep++)
305 slavep->sl_req = (struct req *)xmalloc(reqsiz);
401 struct slaves *slavep;
479 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
480 if (slavep->sl_slavefd != -1) {
481 (void) close(slavep->sl_slavefd);
482 slavep->sl_slavefd = -1;
551 struct slaves *slavep;
590 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
591 if (slavep->sl_slavefd != -1) {
592 (void) close(slavep->sl_slavefd);
593 slavep->sl_slavefd = -1;
1131 struct slaves *slavep;
1134 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++) {
1135 if (slavep->sl_slavepid > 0) /* signal normal exit */
1136 (void) kill(slavep->sl_slavepid, SIGTERM);
1137 if (slavep->sl_slavefd >= 0) {
1138 (void) close(slavep->sl_slavefd);
1139 slavep->sl_slavefd = -1;
1738 struct slaves *slavep;
1740 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++)
1741 if (slavep->sl_slavepid > 0) {
1742 (void) kill(slavep->sl_slavepid, SIGKILL);
1747 (long)slavep->sl_slavepid);
1792 struct slaves *slavep;
1812 for (slavep = &slaves[0]; slavep < &slaves[SLAVES]; slavep++)
1813 slavep->sl_slavefd = -1;
1857 for (slavep = &slaves[0];
1858 slavep < &slaves[SLAVES];
1859 slavep++)
1860 if (slavep->sl_slavefd >= 0) {
1861 (void) close(slavep->sl_slavefd);
1862 slavep->sl_slavefd = -1;