Lines Matching refs:ctl_fd

235   int ctl_fd;			/* File descriptor for /proc control file */
409 pi->ctl_fd = fd;
486 if (pi->ctl_fd > 0)
487 close (pi->ctl_fd);
492 pi->ctl_fd = pi->as_fd = pi->status_fd = 0;
787 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
867 if (pi->ctl_fd == 0 && open_procinfo_files (pi, FD_CTL) == 0)
873 win = (write (pi->ctl_fd, (char *) &cmd, sizeof (cmd)) == sizeof (cmd));
890 with one that makes sure the ctl_fd is open. */
899 win = (write (pi->ctl_fd, (char *) &cmd, sizeof (cmd)) == sizeof (cmd));
933 if (pi->ctl_fd == 0 && open_procinfo_files (pi, FD_CTL) == 0)
948 win = (write (pi->ctl_fd, (char *) &cmd, sizeof (cmd)) == sizeof (cmd));
964 with one that makes sure the ctl_fd is open. */
978 win = (write (pi->ctl_fd, (char *) &arg, sizeof (arg)) == sizeof (arg));
999 with one that makes sure the ctl_fd is open. */
1013 win = (write (pi->ctl_fd, (char *) &arg, sizeof (arg)) == sizeof (arg));
1032 with one that makes sure the ctl_fd is open. */
1046 win = (write (pi->ctl_fd, (char *) &arg, sizeof (arg)) == sizeof (arg));
1066 with one that makes sure the ctl_fd is open. */
1080 win = (write (pi->ctl_fd, (char *) &arg, sizeof (arg)) == sizeof (arg));
1100 with one that makes sure the ctl_fd is open. */
1113 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
1133 with one that makes sure the ctl_fd is open. */
1160 with one that makes sure the ctl_fd is open. */
1187 with one that makes sure the ctl_fd is open. */
1214 with one that makes sure the ctl_fd is open. */
1241 with one that makes sure the ctl_fd is open. */
1269 with one that makes sure the ctl_fd is open. */
1276 win = (write (pi->ctl_fd, (void *) &cmd, sizeof (cmd)) == sizeof (cmd));
1306 with one that makes sure the ctl_fd is open. */
1333 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
1350 with one that makes sure the ctl_fd is open. */
1371 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
1416 if (pi->ctl_fd == 0 && open_procinfo_files (pi, FD_CTL) == 0)
1428 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
1450 if (pi->ctl_fd == 0 && open_procinfo_files (pi, FD_CTL) == 0)
1462 win = (write (pi->ctl_fd, (void *) &arg, sizeof (arg)) == sizeof (arg));
1481 if (pi->ctl_fd == 0 && open_procinfo_files (pi, FD_CTL) == 0)
1489 win = (write (pi->ctl_fd, (char *) &cmd, sizeof (cmd)) == sizeof (cmd));
1504 with one that makes sure the ctl_fd is open. */
1548 return (write (pi->ctl_fd, &arg, sizeof (arg)) == sizeof (arg));
1622 with one that makes sure the ctl_fd is open. */
1677 with one that makes sure the ctl_fd is open. */