Lines Matching defs:writer
56 * the slaves. The tape writer passes out the current inode,
127 static int *readmissp; /* number of times writer was idle */
143 static int writer = -1; /* fd of tape writer */
144 static pid_t writepid; /* pid of tape writer */
576 writer = cmd[1];
580 * Child (writer) process
698 /* no locking as we assume only one reader and one writer active */
768 * when it was being dumped. The tape writer process sends checkpoint
882 (void) kill(writepid, SIGUSR1); /* tell writer to flush */
883 (void) sigpause(SIGUSR1); /* wait for SIGUSR1 from writer */
891 * an EOT signal from writer. Get checkpoint data
892 * from writer and return if done, otherwise fork
910 if ((unsigned)atomic((int(*)())read, writer, (char *)&chkpt,
916 if (atomic((int(*)())read, writer, (char *)&spcl,
934 * before the writer exits in order
941 (void) kill(writepid, SIGUSR1); /* tell writer to exit */
954 (void) kill(writepid, SIGUSR1); /* tell writer to exit */
955 (void) close(writer);
956 writer = -1;
1814 archivefd = arch = writer = -1;
1910 (void) close(arch); /* only writer has this open */
1924 sv.sv_handler = rollforward; /* rcvd from writer on EOT */
2016 * dowrite -- the main body of the output writer process