/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | LCSSA.h | 1 //===- LCSSA.h - Loop-closed SSA transform Pass -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // all values that are live across the loop boundary. For example, it turns 24 // transformation is that it makes many other loop optimizations, such as 27 //===----------------------------------------------------------------------===// 36 /// Converts loops into loop-closed SSA form.
|
/freebsd/share/doc/psd/20.ipctut/ |
H A D | streamread.c | 36 * This program creates a socket and then begins an infinite loop. Each time 37 * through the loop it accepts a connection and prints out messages from it. 77 if (msgsock == -1) 87 printf("-->%s\en", buf); 92 * Since this program has an infinite loop, the socket "sock" is 93 * never explicitly closed. However, all sockets will be closed
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LCSSA.cpp | 1 //===-- LCSSA.cpp - Convert loops into loop-closed SSA form ---------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // all values that are live across the loop boundary. For example, it turns 24 // transformation is that it makes many other loop optimizations, such as 27 //===----------------------------------------------------------------------===// 56 STATISTIC(NumLCSSA, "Number of live out of a loop variables"); 64 VerifyLoopLCSSAFlag("verify-loop-lcssa", cl::location(VerifyLoopLCSSA), 66 cl::desc("Verify loop lcssa form (time consuming)")); 75 /// that are outside the current loop. If so, insert LCSSA PHI nodes and [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | nvidia,tegra124-dfll.txt | 4 Documentation/devicetree/bindings/clock/clock-bindings.txt 7 the fast CPU cluster. It consists of a free-running voltage controlled 8 oscillator connected to the CPU voltage rail (VDD_CPU), and a closed loop 10 communicating with an off-chip PMIC either via an I2C bus or via PWM signals. 13 - compatible : should be one of: 14 - "nvidia,tegra124-dfll": for Tegra124 15 - "nvidia,tegra210-dfll": for Tegra210 16 - reg : Defines the following set of registers, in the order listed: 17 - registers for the DFLL control logic. 18 - registers for the I2C output logic. [all …]
|
/freebsd/crypto/openssl/demos/sslecho/ |
H A D | main.c | 2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved. 118 …* In this demo though we are using a self-signed certificate, so the client must trust it directly. in configure_client_context() 129 printf(" --or--\n"); in usage() 144 int server_skt = -1; in main() 145 int client_skt = -1; in main() 203 * Loop to accept clients. in main() 205 * before we can catch a CTRL-C and kill the server. in main() 233 /* Echo loop */ in main() 238 printf("Client closed connection\n"); in main() 268 * Set client_skt to -1 to avoid double close when in main() [all …]
|
/freebsd/crypto/openssl/test/quic-openssl-docker/hq-interop/ |
H A D | quic-hq-interop-server.c | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 11 * @file quic-hq-interop-server.c 17 * requests. Intended for use with the quic-interop-runner 21 * - Setting up SSL_CTX with QUIC support. 22 * - Negotiating ALPN strings during the TLS handshake. 23 * - Listening and accepting incoming QUIC connections. 24 * - Handling client requests via HTTP/0.9 protocol. 32 * - FILEPREFIX: Specifies the directory containing files to serve. 34 * - SSLKEYLOGFILE: specifies that keylogging should be preformed on the server 36 * - NO_ADDR_VALIDATE: Disables server address validation of clients [all …]
|
/freebsd/crypto/openssl/demos/guide/ |
H A D | quic-client-block.c | 2 * Copyright 2023-2025 The OpenSSL Project Authors. All Rights Reserved. 12 * doc/man7/ossl-guide-quic-client-block.pod 32 int sock = -1; in create_socket_bio() 45 * Loop through all the possible addresses for the server and find one in create_socket_bio() 50 * Create a UDP socket. We could equally use non-OpenSSL calls such in create_socket_bio() 57 if (sock == -1) in create_socket_bio() 63 sock = -1; in create_socket_bio() 70 sock = -1; in create_socket_bio() 77 if (sock != -1) { in create_socket_bio() 88 /* If sock is -1 then we've been unable to connect to the server */ in create_socket_bio() [all …]
|
H A D | quic-server-non-block.c | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 12 * doc/man7/ossl-guide-quic-server-non-block.pod 66 * ALPN strings for TLS handshake. Only 'http/1.0' and 'hq-interop' 71 10, 'h', 'q', '-', 'i', 'n', 't', 'e', 'r', 'o', 'p', 95 * subsequent per-client connections. We specifically load a QUIC in create_ctx() 104 * not only the leaf (end-entity) server certificate, but also any in create_ctx() 105 * intermediate issuer-CA certificates. The leaf certificate must be the in create_ctx() 108 * In advanced use-cases this can be called multiple times, once per public in create_ctx() 124 * key matches the just loaded end-entity certificate. It does not check in create_ctx() 134 * Clients rarely employ certificate-based authentication, and so we don't in create_ctx() [all …]
|
H A D | quic-multi-stream.c | 2 * Copyright 2023-2024 The OpenSSL Project Authors. All Rights Reserved. 12 * doc/man7/ossl-guide-quic-multi-stream.pod 32 int sock = -1; in create_socket_bio() 45 * Loop through all the possible addresses for the server and find one in create_socket_bio() 50 * Create a UDP socket. We could equally use non-OpenSSL calls such in create_socket_bio() 57 if (sock == -1) in create_socket_bio() 63 sock = -1; in create_socket_bio() 70 sock = -1; in create_socket_bio() 77 if (sock != -1) { in create_socket_bio() 88 /* If sock is -1 then we've been unable to connect to the server */ in create_socket_bio() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | max31785.txt | 8 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan 14 - compatible : One of "maxim,max31785" or "maxim,max31785a" 15 - reg : I2C address, one of 0x52, 0x53, 0x54, 0x55.
|
H A D | max6650.txt | 4 [1] https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 7 - compatible : One of "maxim,max6650" or "maxim,max6651" 8 - reg : I2C address, one of 0x1b, 0x1f, 0x4b, 0x48. 11 - maxim,fan-microvolt : The supply voltage of the fan, either 5000000 uV or 13 - maxim,fan-prescale : Pre-scaling value, as per datasheet [1]. Lower values 14 allow more fine-grained control of slower fans. 16 - maxim,fan-target-rpm: Initial requested fan rotation speed. If specified, the 17 driver selects closed-loop mode and the requested speed. 22 fan-max6650: max6650@1b { 25 maxim,fan-microvolt = <12000000>; [all …]
|
H A D | maxim,max6650.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 15 of 5VDC/12VDC burshless fans with built-in tachometers. 18 https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 23 - maxim,max6650 24 - maxim,max6651 29 maxim,fan-microvolt: 35 maxim,fan-prescale: [all …]
|
/freebsd/tests/sys/netgraph/ |
H A D | hub.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 #include <atf-c.h> 118 ATF_TC(loop); 119 ATF_TC_HEAD(loop, conf) in ATF_TC_HEAD() argument 124 ATF_TC_BODY(loop, dummy) in ATF_TC_BODY() argument 128 char msg[] = "LOOP Alert!"; in ATF_TC_BODY() 144 /*- in ATF_TC_BODY() 145 * Open loop in ATF_TC_BODY() 147 * /-- hub1 in ATF_TC_BODY() [all …]
|
/freebsd/crypto/openssl/crypto/thread/arch/ |
H A D | thread_win.c | 2 * Copyright 2019-2023 The OpenSSL Project Authors. All Rights Reserved. 23 thread->thread_id = GetCurrentThreadId(); in thread_start_thunk() 25 ret = thread->routine(thread->data); in thread_start_thunk() 26 ossl_crypto_mutex_lock(thread->statelock); in thread_start_thunk() 28 thread->retval = ret; in thread_start_thunk() 29 ossl_crypto_condvar_signal(thread->condvar); in thread_start_thunk() 30 ossl_crypto_mutex_unlock(thread->statelock); in thread_start_thunk() 47 thread->handle = handle; in ossl_crypto_thread_native_spawn() 51 thread->handle = NULL; in ossl_crypto_thread_native_spawn() 61 if (thread == NULL || thread->handle == NULL) in ossl_crypto_thread_native_perform_join() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | cirrus,cs40l50.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - James Ogletree <jogletre@opensource.cirrus.com> 14 integrated DSP, and closed-loop algorithms. 19 - cirrus,cs40l50 27 reset-gpios: 30 vdd-a-supply: 33 vdd-p-supply: 34 description: Power supply for always-on circuits. [all …]
|
/freebsd/crypto/openssl/demos/http3/ |
H A D | ossl-nghttp3-demo-server.c | 2 * Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved. 29 static size_t nulldata_sz = sizeof(NULL_PAYLOAD) - 1; 44 #define CLIENTCLOSED 0x02 /* closed by the client */ 47 #define SERVERCLOSED 0x10 /* closed by the server (us) */ 65 int received_from_two; /* workaround for -607 on nghttp3_conn_read_stream on stream 2 */ 77 nv->name = (uint8_t *)name; in make_nv() 78 nv->value = (uint8_t *)value; in make_nv() 79 nv->namelen = strlen(name); in make_nv() 80 nv->valuelen = strlen(value); in make_nv() 81 nv->flags = NGHTTP3_NV_FLAG_NONE; in make_nv() [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | procdesc.cc | 21 #include "capsicum-test.h" 30 //------------------------------------------------ 38 pid_t pid = -1; in pdwait4_() 49 fprintf(f, " User CPU time=%ld.%06ld\n", (long)ru->ru_utime.tv_sec, (long)ru->ru_utime.tv_usec); in print_rusage() 50 …fprintf(f, " System CPU time=%ld.%06ld\n", (long)ru->ru_stime.tv_sec, (long)ru->ru_stime.tv_usec); in print_rusage() 51 fprintf(f, " Max RSS=%ld\n", ru->ru_maxrss); in print_rusage() 62 (long)stat->st_dev, (long)stat->st_ino, stat->st_mode, in print_stat() 63 (long)stat->st_nlink, stat->st_uid, stat->st_gid, in print_stat() 64 (long)stat->st_rdev, (long)stat->st_size, (long)stat->st_blksize, in print_stat() 65 (long)stat->st_blocks, in print_stat() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | sendfile18.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 31 # https://people.freebsd.org/~pho/stress/log/sendfile15-4.txt 35 # - Create a malloc-backed md(4) device with a UFS filesystem. Configure 36 # a gnop provider with -q 100 -d 10, i.e., always delay reads by 10ms. 37 # - Write a small file (e.g., 4KB) to the filesystem. 38 # - In a loop, unmount the filesystem, mount it, and run the test program. 40 # - creates a PF_LOCAL socket pair <s1, s2>, 41 # - opens the input file, 42 # - sends the file over s1, 43 # - closes s1, [all …]
|
/freebsd/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 1 /*- 29 * endpoints of a connected UNIX domain socket are closed at once. The two 31 * already-closed socket in kernel. Before it was fixed, this might lead to 34 * This race is fairly timing-dependent, so it effectively requires SMP, and 76 if (mkstemp(socket_path) == -1) in main() 97 if (pid == -1) in main() 128 * In the child, loop accepting and closing. We may pick up in main()
|
/freebsd/contrib/unbound/dnstap/ |
H A D | dtstream.c | 2 * dnstap/dtstream.c - Frame Streams thread for unbound DNSTAP 92 /** stop from stop_flush event loop */ 108 mq->maxsize = 1*1024*1024; /* set max size of buffer, per worker, in dt_msg_queue_create() 111 mq->wakeup_timer = comm_timer_create(base, mq_wakeup_cb, mq); in dt_msg_queue_create() 112 if(!mq->wakeup_timer) { in dt_msg_queue_create() 116 lock_basic_init(&mq->lock); in dt_msg_queue_create() 117 lock_protect(&mq->lock, mq, sizeof(*mq)); in dt_msg_queue_create() 125 struct dt_msg_entry* e = mq->first, *next=NULL; in dt_msg_queue_clear() 127 next = e->next; in dt_msg_queue_clear() 128 free(e->buf); in dt_msg_queue_clear() [all …]
|
/freebsd/secure/lib/libcrypto/man/man7/ |
H A D | ossl-guide-quic-client-block.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 57 .IX Title "OSSL-GUIDE-QUIC-CLIENT-BLOCK 7ossl" 58 .TH OSSL-GUIDE-QUIC-CLIENT-BLOCK 7ossl 2025-09-30 3.5.4 OpenSSL 64 ossl\-guide\-quic\-client\-block 65 \&\- OpenSSL Guide: Writing a simple blocking QUIC client 71 QUIC is non-standard and will not be supported by real world servers. This is 76 (see \fBossl\-guide\-libraries\-introduction\fR\|(7), \fBossl\-guide\-tls\-introduction\fR\|(7) 77 and \fBossl\-guide\-quic\-introduction\fR\|(7)); and that you know how to 82 \&\fBossl\-guide\-tls\-client\-block\fR\|(7). Only the differences between that client and 87 tutorial will discuss how to write a multi-stream client (see [all …]
|
/freebsd/lib/libc/gen/ |
H A D | directory.3 | 68 .Bf -symbolic 121 the file descriptor is closed. 186 If the directory is closed and then 224 On failure, \-1 is returned and the global variable 244 .Bd -literal -offset indent 250 if (dp->d_namlen == len && strcmp(dp->d_name, name) == 0) { 262 .Bl -tag -width Er 269 A loop exists in symbolic links encountered during resolution of the 295 .Bl -tag -width Er 347 .St -p1003.1-2008 . [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9280_olc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 53 AH9280(ah)->originalGain[i] = MS(OS_REG_READ(ah, in ar9280olcInit() 56 AH9280(ah)->PDADCdelta = 0; in ar9280olcInit() 87 while (pcdac > AH9280(ah)->originalGain[i] && in ar9280olcGetTxGainIndex() 88 i < (AR9280_TX_GAIN_TABLE_SIZE - 1)) in ar9280olcGetTxGainIndex() 143 __func__, AH5416(ah)->initPDADC, currPDADC); in ar9280olcTemperatureCompensation() 145 if (AH5416(ah)->initPDADC == 0 || currPDADC == 0) in ar9280olcTemperatureCompensation() 151 delta = (currPDADC - AH5416(ah)->initPDADC + 4) / 8; in ar9280olcTemperatureCompensation() 153 delta = (currPDADC - AH5416(ah)->initPDADC + 5) / 10; in ar9280olcTemperatureCompensation() [all …]
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | ossl-guide-quic-client-block.pod | 6 demos/guide/quic-client-block.c 12 ossl-guide-quic-client-block 13 - OpenSSL Guide: Writing a simple blocking QUIC client 20 QUIC is non-standard and will not be supported by real world servers. This is 25 (see L<ossl-guide-libraries-introduction(7)>, L<ossl-guide-tls-introduction(7)> 26 and L<ossl-guide-quic-introduction(7)>); and that you know how to 31 L<ossl-guide-tls-client-block(7)>. Only the differences between that client and 36 tutorial will discuss how to write a multi-stream client (see 37 L<ossl-guide-quic-multi-stream(7)>). 41 C<quic-client-block.c>. It is also available online at [all …]
|
/freebsd/share/doc/psd/21.ipc/ |
H A D | 4.t | 78 ``internet super-server.'' \fIInetd\fP listens at a variety 79 of ports, determined at start-up by reading a configuration file. 103 example, the remote login server's main loop is of the form shown 129 sin.sin_port = sp->s_port; /* Restricted port -- see section 5 */ 211 with a user-id of root. 215 The main body of the loop is fairly simple: 248 requests is closed in the child, while the socket created as 249 a result of the \fIaccept\fP is closed in the parent. The 289 bcopy(hp->h_addr, (char *) &server.sin_addr, hp->h_length); 290 server.sin_family = hp->h_addrtype; [all …]
|