/freebsd-12-stable/tools/regression/sockets/shutdown/ |
H A D | Makefile | 5 PROG= shutdown
|
H A D | shutdown.c | 51 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 D | Makefile | 5 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 D | local | 9 # 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 D | tst.schedenable.ksh | 63 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 D | Makefile | 5 CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown
|
H A D | rc.shutdown | 30 # 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 D | main.c | 318 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 D | x509_meth.c | 88 int (*shutdown) (X509_LOOKUP *ctx)) 90 method->shutdown = shutdown; 97 return method->shutdown;
|
/freebsd-12-stable/contrib/libevent/ |
H A D | openssl-compat.h | 26 #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 D | udp.tunnel | 28 ngctl shutdown ng0:
|
/freebsd-12-stable/contrib/apr/misc/unix/ |
H A D | rand.c | 175 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 D | sockpoll.c | 132 /* 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 D | unix_sorflush.c | 31 * - 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 D | Makefile | 30 rc.8 rc.shutdown.8
|
/freebsd-12-stable/crypto/openssl/crypto/bio/ |
H A D | bss_fd.c | 105 if (a->shutdown) { 165 b->shutdown = (int)num; 178 ret = b->shutdown; 181 b->shutdown = (int)num;
|
H A D | bss_sock.c | 83 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 D | Makefile | 9 msg.c debug.c shutdown.c rmhook.c status.c types.c write.c
|
/freebsd-12-stable/contrib/tcp_wrappers/ |
H A D | fix_options.c | 106 shutdown(fd, 2); 127 shutdown(fd, 2);
|
/freebsd-12-stable/sys/contrib/zstd/lib/common/ |
H A D | pool.c | 57 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 D | ctl_backend.c | 109 /* 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 D | ci-qemu-test.sh | 45 bin/sh sbin/init sbin/shutdown sbin/sysctl; do 69 /sbin/shutdown -p now
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/test/ |
H A D | test-closed.c | 106 shutdown(pair[0], SHUT_WR);
|
H A D | test-eof.c | 110 shutdown(pair[0], SHUT_WR);
|
/freebsd-12-stable/contrib/libevent/test/ |
H A D | test-closed.c | 99 shutdown(pair[0], EVUTIL_SHUT_WR);
|