Searched refs:shutdown (Results 1 - 25 of 237) sorted by relevance

12345678910

/freebsd-11-stable/sbin/shutdown/
H A DMakefile5 PROG= shutdown
6 MAN= shutdown.8
7 LINKS= ${BINDIR}/shutdown ${BINDIR}/poweroff
8 MLINKS= shutdown.8 poweroff.8
/freebsd-11-stable/tools/regression/sockets/shutdown/
H A DMakefile5 PROG= shutdown
H A Dshutdown.c51 if ((shutdown(listen_sock, SHUT_RDWR) != -1) && (errno != EBADF))
52 errx(-1, "shutdown() for invalid file descriptor does not "
94 if ((shutdown(connect_sock, SHUT_RD - 1) != -1) && (errno != EINVAL))
95 errx(-1, "shutdown(SHUT_RD - 1) does not return EINVAL");
96 if ((shutdown(connect_sock, SHUT_RDWR + 1) != -1) && (errno != EINVAL))
97 errx(-1, "shutdown(SHUT_RDWR + 1) does not return EINVAL");
99 if (shutdown(connect_sock, SHUT_RD) < 0)
100 errx(-1, "shutdown(SHUT_RD) for connect socket: %s",
102 if (shutdown(connect_sock, SHUT_WR) < 0)
103 errx(-1, "shutdown(SHUT_W
[all...]
/freebsd-11-stable/etc/rc.d/
H A Dlocal9 # KEYWORD: shutdown
14 desc="Run /etc/rc.local and /etc/shutdown.local"
29 if [ -f /etc/rc.shutdown.local ]; then
31 . /etc/rc.shutdown.local
H A Dipfw_netflow71 ngctl shutdown netflow:
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.schedenable.ksh63 xdt:sched::shutdown-poweroff,
64 xdt:sched::shutdown-reboot,
65 xdt:sched::shutdown-suspend,
66 xdt:sched::shutdown-crash
/freebsd-11-stable/share/examples/netgraph/
H A Dudp.tunnel28 ngctl shutdown ng0:
/freebsd-11-stable/sys/arm/at91/
H A Dat91_rst.c64 u_int shutdown; /* Shutdown in progress */ member in struct:at91_rst_softc
188 if (sc->shutdown++ >= RST_TIMEOUT * RST_TICK) {
193 sc->shutdown = 0;
207 if (sc->shutdown == 0)
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbss_fd.c151 if (a->shutdown) {
208 b->shutdown = (int)num;
221 ret = b->shutdown;
224 b->shutdown = (int)num;
H A Dbss_sock.c124 if (a->shutdown) {
173 b->shutdown = (int)num;
186 ret = b->shutdown;
189 b->shutdown = (int)num;
H A Dbss_mem.c125 bi->shutdown = 1;
136 if (a->shutdown) {
237 b->shutdown = (int)num;
247 ret = (long)b->shutdown;
250 b->shutdown = (int)num;
H A Dbss_acpt.c138 bi->shutdown = 1;
175 shutdown(c->accept_sock, 2);
190 if (a->shutdown) {
383 b->shutdown = (int)num;
406 ret = b->shutdown;
409 b->shutdown = (int)num;
/freebsd-11-stable/tools/regression/poll/
H A Dsockpoll.c132 /* With shutdown(SHUT_WR) */
134 if (shutdown(fd[0], SHUT_WR) == -1)
135 err(1, "shutdown");
138 report(num++, "after shutdown(SHUT_WR)", POLLOUT, pfd0.revents);
141 report(num++, "other side after shutdown(SHUT_WR)", POLLIN | POLLOUT, pfd1.revents);
146 err(1, "read after other side shutdown");
162 if (shutdown(fd[1], SHUT_WR) == -1)
163 err(1, "shutdown second");
166 report(num++, "after second shutdown", POLLIN | POLLHUP, pfd0.revents);
169 report(num++, "after second shutdown", POLLHU
[all...]
/freebsd-11-stable/tools/regression/sockets/unix_sorflush/
H A Dunix_sorflush.c31 * - Process (b) is blocked in shutdown() on a socket waiting on (a).
34 * This race is premised on shutdown() not interrupting (a) properly, and the
65 if (shutdown(s, SHUT_RD) < 0)
66 err(-1, "shutdown_and_exit: shutdown");
/freebsd-11-stable/usr.sbin/ngctl/
H A DMakefile9 msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
/freebsd-11-stable/share/man/man8/
H A DMakefile29 rc.8 rc.shutdown.8
/freebsd-11-stable/contrib/apr/misc/unix/
H A Drand.c175 shutdown(egd_socket, SHUT_RDWR);
181 shutdown(egd_socket, SHUT_RDWR);
190 shutdown(egd_socket, SHUT_RDWR);
200 shutdown(egd_socket, SHUT_RDWR);
/freebsd-11-stable/contrib/tcp_wrappers/
H A Dfix_options.c106 shutdown(fd, 2);
127 shutdown(fd, 2);
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
H A Dhtml-text.cpp473 shutdown(COLOR_TAG); // shutdown a previous color tag, if present
478 * done_color - shutdown an outstanding color tag, if it exists.
483 shutdown(COLOR_TAG);
487 * shutdown - shuts down an html tag.
490 char *html_text::shutdown (HTML_TAG t) function in class:html_text
562 shutdown(B_TAG);
571 shutdown(I_TAG);
580 shutdown(SUP_TAG);
589 shutdown(SUB_TA
[all...]
/freebsd-11-stable/etc/
H A Drc.shutdown30 # Site-specific closing actions for daemons run by init on shutdown,
63 # will terminate rc.shutdown if rc.shutdown doesn't complete
72 logger -t rc.shutdown "$_msg"
80 # Determine the shutdown order of the /etc/rc.d scripts,
83 rcorder_opts="-k shutdown"
109 # Insert other shutdown procedures here
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dtest-closed.c106 shutdown(pair[0], SHUT_WR);
H A Dtest-eof.c110 shutdown(pair[0], SHUT_WR);
/freebsd-11-stable/tools/regression/sockets/sigpipe/
H A Dsigpipe.c47 * been shutdown for write. This test runs several test cases with UNIX
123 if (shutdown(sock2, SHUT_WR) < 0)
124 err(-1, "%s: shutdown", testname);
142 if (shutdown(sock2, SHUT_WR) < 0)
143 err(-1, "%s: shutdown", testname);
157 if (shutdown(sock2, SHUT_WR) < 0)
158 err(-1, "%s: shutdown", testname);
176 if (shutdown(sock2, SHUT_WR) < 0)
177 err(-1, "%s: shutdown", testname);
/freebsd-11-stable/share/examples/jails/
H A Djng66 # exec.poststop += "jng shutdown xxx";
70 # exec.stop = "/bin/sh /etc/rc.shutdown";
107 # jail_xxx_exec_poststop0="jng shutdown xxx" # destroy interface(s)
156 shutdown \
432 jng_shutdown_usage="shutdown NAME"
439 *) action_usage shutdown # NOTREACHED
445 action_usage shutdown # NOTREACHED
447 jng_show "$name" | xargs -rn1 -I eiface ngctl shutdown eiface:
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/
H A Dproto_common.c105 if (shutdown(sock, SHUT_RD) == -1)
204 if (shutdown(sock, SHUT_WR) == -1)

Completed in 141 milliseconds

12345678910