/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | altprivsep.c | 176 static int pipe_fd = -1; variable 266 pipe_fd = pipe_fds[0]; in altprivsep_start_monitor() 272 (void) write(pipe_fd, &pid, sizeof (pid)); in altprivsep_start_monitor() 273 packet_set_monitor(pipe_fd); in altprivsep_start_monitor() 276 if (fcntl(pipe_fd, F_SETFL, O_NONBLOCK) < 0) in altprivsep_start_monitor() 297 pipe_fd = pipe_fds[1]; in altprivsep_start_monitor() 301 (void) read(pipe_fd, &junk, sizeof (junk)); in altprivsep_start_monitor() 315 return (pipe_fd); in altprivsep_get_pipe_fd() 355 if (pipe_fd == -1) in altprivsep_process_input() 358 if (!FD_ISSET(pipe_fd, rset)) in altprivsep_process_input() [all …]
|
H A D | serverloop.c | 279 int pipe_fd; in wait_until_can_do_something() local 281 if ((pipe_fd = altprivsep_get_pipe_fd()) != -1) { in wait_until_can_do_something() 282 *maxfdp = MAX(*maxfdp, pipe_fd); in wait_until_can_do_something()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lockd/ |
H A D | lockd.c | 150 int pipe_fd = -1; in main() local 313 pipe_fd = daemonize_init(); in main() 409 daemonize_fini(pipe_fd); in main()
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 185 static int pipe_fd = -1; variable 194 (void) write(pipe_fd, &data, 1); in daemonize_ready() 195 (void) close(pipe_fd); in daemonize_ready() 237 pipe_fd = filedes[1]; in daemonize_start()
|
/titanic_41/usr/src/cmd/svc/configd/ |
H A D | configd.c | 453 static int pipe_fd = -1; variable 502 pipe_fd = filedes[1]; in daemonize_start() 522 (void) write(pipe_fd, &data, 1); in daemonize_ready() 523 (void) close(pipe_fd); in daemonize_ready()
|
/titanic_41/usr/src/lib/fm/libldom/sparc/ |
H A D | ldom_xmpp_client.c | 347 struct pollfd *pipe_fd = &pollfd[0]; in xmpp_client_thr() local 369 pipe_fd->fd = xmpp_notify_pipe[1]; /* notification pipe */ in xmpp_client_thr() 370 pipe_fd->events = POLLIN; in xmpp_client_thr() 379 pipe_fd->revents = 0; in xmpp_client_thr() 383 } else if (pipe_fd->revents & POLLIN) { in xmpp_client_thr()
|
H A D | ldmsvcs_utils.c | 449 struct pollfd *pipe_fd = &pollfd[0]; in poller_loop() local 489 pipe_fd->fd = pollbase.notify_pipe[1]; /* notification pipe */ in poller_loop() 490 pipe_fd->events = POLLIN; in poller_loop() 491 pipe_fd->revents = 0; in poller_loop() 502 } else if (pipe_fd->revents & POLLIN) { in poller_loop()
|
/titanic_41/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_svc.c | 470 int pipe_fd = -1; in main() local 581 pipe_fd = daemonize_init(); in main() 696 daemonize_fini(pipe_fd); in main()
|
/titanic_41/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 958 struct pollfd *pipe_fd = &fds[0]; in recv_record() local 976 pipe_fd->fd = notify_pipe[1]; in recv_record() 977 pipe_fd->events = POLLIN; in recv_record() 988 pipe_fd->revents = 0; in recv_record() 1019 if (pipe_fd->revents & POLLIN) { in recv_record() 1021 if (!read_fd(pipe_fd->fd, (char *)&np_data, in recv_record()
|
/titanic_41/usr/src/cmd/fs.d/nfs/nfsd/ |
H A D | nfsd.c | 160 int pipe_fd = -1; in main() local 431 pipe_fd = daemonize_init(); in main() 605 daemonize_fini(pipe_fd); in main()
|
/titanic_41/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | mountd.c | 383 int pipe_fd = -1; in main() local 511 pipe_fd = daemonize_init(); in main() 696 daemonize_fini(pipe_fd); in main()
|
/titanic_41/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 4671 static int pipe_fd; variable 4679 (void) write(pipe_fd, &status, 1); in daemonize_ready() 4680 (void) close(pipe_fd); in daemonize_ready() 4735 pipe_fd = filedes[1]; in daemonize_start()
|