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

12345678910

/freebsd-12-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-12-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-12-stable/libexec/rc/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
/freebsd-12-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-12-stable/libexec/rc/
H A DMakefile5 CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown
H A Drc.shutdown30 # Site-specific closing actions for daemons run by init on shutdown,
65 # will terminate rc.shutdown if rc.shutdown doesn't complete
74 logger -t rc.shutdown "$_msg"
83 # Determine the shutdown order of the /etc/rc.d scripts,
86 rcorder_opts="-k shutdown"
112 # Insert other shutdown procedures here
/freebsd-12-stable/usr.sbin/bluetooth/iwmbtfw/
H A Dmain.c318 goto shutdown;
329 goto shutdown;
336 goto shutdown;
341 goto shutdown;
348 goto shutdown;
362 goto shutdown;
369 goto shutdown;
377 goto shutdown;
386 goto shutdown;
394 goto shutdown;
[all...]
/freebsd-12-stable/crypto/openssl/crypto/x509/
H A Dx509_meth.c88 int (*shutdown) (X509_LOOKUP *ctx))
90 method->shutdown = shutdown;
97 return method->shutdown;
/freebsd-12-stable/contrib/libevent/
H A Dopenssl-compat.h26 #define BIO_set_shutdown(b, val) (b)->shutdown = (val)
29 #define BIO_get_shutdown(b) (b)->shutdown
/freebsd-12-stable/share/examples/netgraph/
H A Dudp.tunnel28 ngctl shutdown ng0:
/freebsd-12-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-12-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-12-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-12-stable/share/man/man8/
H A DMakefile30 rc.8 rc.shutdown.8
/freebsd-12-stable/crypto/openssl/crypto/bio/
H A Dbss_fd.c105 if (a->shutdown) {
165 b->shutdown = (int)num;
178 ret = b->shutdown;
181 b->shutdown = (int)num;
H A Dbss_sock.c83 if (a->shutdown) {
134 b->shutdown = (int)num;
147 ret = b->shutdown;
150 b->shutdown = (int)num;
/freebsd-12-stable/usr.sbin/ngctl/
H A DMakefile9 msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
/freebsd-12-stable/contrib/tcp_wrappers/
H A Dfix_options.c106 shutdown(fd, 2);
127 shutdown(fd, 2);
/freebsd-12-stable/sys/contrib/zstd/lib/common/
H A Dpool.c57 int shutdown; member in struct:POOL_ctx_s
69 /* Lock the mutex and wait for a non-empty queue or until shutdown */
72 while (ctx->queueEmpty && !ctx->shutdown) {
126 ctx->shutdown = 0;
152 ctx->shutdown = 1;
202 if (ctx->shutdown) return;
215 while (isQueueFull(ctx) && (!ctx->shutdown)) {
/freebsd-12-stable/sys/cam/ctl/
H A Dctl_backend.c109 /* Call the backend's shutdown routine. */
110 if (be->shutdown != NULL) {
111 if ((error = be->shutdown()) != 0) {
112 printf("%s backend shutdown error: %d\n",
/freebsd-12-stable/tools/boot/
H A Dci-qemu-test.sh45 bin/sh sbin/init sbin/shutdown sbin/sysctl; do
69 /sbin/shutdown -p now
/freebsd-12-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-12-stable/contrib/libevent/test/
H A Dtest-closed.c99 shutdown(pair[0], EVUTIL_SHUT_WR);

Completed in 264 milliseconds

12345678910