| /freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
| H A D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
| H A D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
| H A D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 25 8: Synchronous read synchronous write PSRAM. 26 9: Synchronous read asynchronous write PSRAM. 27 10: Synchronous read synchronous write NOR. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/bus/ |
| H A D | qcom,ebi2.txt | 4 external memory (such as NAND or other memory-mapped peripherals) whereas 9 data lines (16 bits), OE (output enable), ADV (address valid, used on some 10 NOR flash memories), WE (write enable). This on top of 6 different chip selects 13 Apparently this bus is clocked at 64MHz. It has dedicated pins on the package 14 and the bus can only come out on these pins, however if some of the pins are 18 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 24 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 25 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 26 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) 27 CS3 GPIO133 0x1d000000-0x25000000 (128 MB) [all …]
|
| H A D | qcom,ebi2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 external memory (such as NAND or other memory-mapped peripherals) whereas 16 data lines (16 bits), OE (output enable), ADV (address valid, used on some 17 NOR flash memories), WE (write enable). This on top of 6 different chip selects 20 Apparently this bus is clocked at 64MHz. It has dedicated pins on the package 21 and the bus can only come out on these pins, however if some of the pins are 25 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 31 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_smr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 45 * in turn was based on work described in: 46 * Fraser, K. 2004. Practical Lock-Freedom. PhD Thesis, University 49 * Wang, Stamler, Parmer. 2016 Parallel Sections: Scaling System-Level 50 * Data-Structures 55 * use-after-free errors with lockless datastructures or as 58 * The basic approach is to maintain a monotonic write sequence 59 * number that is updated on some application defined granularity. [all …]
|
| /freebsd/share/doc/psd/04.uprog/ |
| H A D | p5 | 1 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved. 32 .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 57 For instance, to time-stamp the output of a program, 66 the in-memory formatting capabilities of 83 Low-Level Process Creation \(em Execl and Execv 92 routine is based on. 115 but this is seldom used except as a place-holder. 201 execl("/bin/sh", "sh", "-c", commandline, NULL); 206 .UL -c 213 Control of Processes \(em Fork and Wait [all …]
|
| /freebsd/tests/sys/file/ |
| H A D | flock_helper.c | 1 /*- 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 #include <sys/wait.h> 132 return -1; \ 140 * Test 1 - F_GETLK on unlocked region 159 printf("1 - F_GETLK on unlocked region: "); in test1() 173 * Test 2 - F_SETLK on locked region 205 * We are the child. We set a write lock and then in test2() 206 * write one byte back to the parent to tell it. The in test2() 211 if (write(pfd[1], "a", 1) < 0) in test2() [all …]
|
| /freebsd/sys/dev/ipmi/ |
| H A D | ipmi_kcs.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49 #define POLLING_DELAY_MIN 4 /* Waits are 2-3 usecs on typical systems */ 64 while (ticks - start < MAX_TIMEOUT && (status & mask) != value) { in kcs_wait() 66 * The wait delay is increased exponentially to avoid putting in kcs_wait() 67 * significant load on I/O bus. in kcs_wait() 109 /* Wait for IBF = 0 */ in kcs_error() 115 /* Wait for IBF = 0 */ in kcs_error() 124 device_printf(sc->ipmi_dev, in kcs_error() [all …]
|
| /freebsd/lib/libsys/ |
| H A D | _umtx_op.2 | 23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49 .St -p1003.1-2001 50 pthread locks, like mutexes, condition variables and so on. 54 syscall, operate on userspace objects which are described 57 All objects require ABI-mandated alignment, but this is not currently 58 enforced consistently on all architectures. 61 .Bl -tag -width indent 63 Allow selection of the process-shared sleep queue for the thread sleep 66 The process-shared or process-private sleep queue is selected based on 70 Otherwise, if the flag is not specified, the process-private sleep queue [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/syncfs/ |
| H A D | syncfs_suspend.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 32 typeset -i syncfs_pid=0 36 zinject -c all || true 38 test $syncfs_pid -gt 0 && kill -9 $syncfs_pid || true 46 # create a single-disk pool, set failmode=wait 47 log_must zpool create -o failmode=wait -f $TESTPOOL $DISK 48 log_must zfs create -o recordsize=128k $TESTPOOL/$TESTFS 50 # generate a write, then syncfs(), confirm success [all …]
|
| /freebsd/contrib/unbound/util/ |
| H A D | tube.h | 2 * util/tube.h - pipe service 30 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 67 /** pipe end to write on */ 83 /** background write queue, commpoint to write results back */ 103 /** lock on the list of outstanding items */ 105 /** list of outstanding results on pipe */ 113 * List of results (arbitrary command serializations) to write back 118 /** serialized buffer to write */ 120 /** length to write */ 126 * @return: new tube struct or NULL on error. [all …]
|
| /freebsd/sys/sys/ |
| H A D | smr.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 36 * algorithm, and smr_types.h for macros to define and access SMR-protected 40 * free directly to a SMR UMA zone or use smr_synchronize or wait. 47 #define SMR_SEQ_LT(a, b) ((smr_delta_t)((a)-(b)) < 0) 48 #define SMR_SEQ_LEQ(a, b) ((smr_delta_t)((a)-(b)) <= 0) 49 #define SMR_SEQ_GT(a, b) ((smr_delta_t)((a)-(b)) > 0) 50 #define SMR_SEQ_GEQ(a, b) ((smr_delta_t)((a)-(b)) >= 0) 51 #define SMR_SEQ_DELTA(a, b) ((smr_delta_t)((a)-(b))) [all …]
|
| /freebsd/sys/contrib/ncsw/Peripherals/FM/MAC/ |
| H A D | fman_memac_mii_acc.c | 2 * Copyright 2008-2013 Freescale Semiconductor Inc. 28 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 41 tmp_reg = ioread32be(&mii_regs->mdio_cfg); in write_phy_reg_10g() 42 /* Leave only MDIO_CLK_DIV bits set on */ in write_phy_reg_10g() 49 iowrite32be(tmp_reg, &mii_regs->mdio_cfg); in write_phy_reg_10g() 51 /* Wait for command completion */ in write_phy_reg_10g() 52 while ((ioread32be(&mii_regs->mdio_cfg)) & MDIO_CFG_BSY) in write_phy_reg_10g() 56 iowrite32be(phy_addr, &mii_regs->mdio_ctrl); in write_phy_reg_10g() 57 iowrite32be(reg, &mii_regs->mdio_addr); in write_phy_reg_10g() 60 while ((ioread32be(&mii_regs->mdio_cfg)) & MDIO_CFG_BSY) in write_phy_reg_10g() [all …]
|
| /freebsd/secure/lib/libcrypto/man/man7/ |
| H A D | ossl-guide-tls-client-non-block.7 | 1 .\" -*- mode: troff; coding: utf-8 -*- 33 .\" If the F register is >0, we'll generate index entries on stderr for 57 .IX Title "OSSL-GUIDE-TLS-CLIENT-NON-BLOCK 7ossl" 58 .TH OSSL-GUIDE-TLS-CLIENT-NON-BLOCK 7ossl 2025-09-30 3.5.4 OpenSSL 64 ossl\-guide\-tls\-client\-non\-block 65 \&\- OpenSSL Guide: Writing a simple nonblocking TLS client 68 This page will build on the example developed on the 69 \&\fBossl\-guide\-tls\-client\-block\fR\|(7) page which demonstrates how to write a simple 70 blocking TLS client. On this page we will amend that demo code so that it 75 \&\fBtls\-client\-non\-block.c\fR. It is also available online at [all …]
|
| /freebsd/share/doc/psd/02.implement/ |
| H A D | implement | 4 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved. 35 .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 40 .EH 'PSD:2-%''UNIX Implementation' 41 .OH 'UNIX Implementation''PSD:2-%' 55 \&\\$3\s-1\\$1\\s0\&\\$2 69 .AU "MH 2C-523" 2394 75 This paper describes in high-level terms the 120 but have that way be the least-common divisor 125 It is a soap-box platform on 159 from a read-only text segment, [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | pdeathsig.c | 1 /*- 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 #include <atf-c.h> 55 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY() 61 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY() 68 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY() 74 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY() 101 /* request a signal on parent death in the parent */ in ATF_TC_BODY() 106 ATF_REQUIRE(rc != -1); in ATF_TC_BODY() 116 /* wait for the child to exit successfully */ in ATF_TC_BODY() [all …]
|
| /freebsd/crypto/openssl/doc/man7/ |
| H A D | ossl-guide-tls-client-non-block.pod | 6 demos/guide/tls-client-non-block.c 12 ossl-guide-tls-client-non-block 13 - OpenSSL Guide: Writing a simple nonblocking TLS client 17 This page will build on the example developed on the 18 L<ossl-guide-tls-client-block(7)> page which demonstrates how to write a simple 19 blocking TLS client. On this page we will amend that demo code so that it 24 B<tls-client-non-block.c>. It is also available online at 25 L<https://github.com/openssl/openssl/blob/master/demos/guide/tls-client-non-block.c>. 30 write at the moment. This can simplify the development of code because you do 34 to go and do other tasks whilst the socket is unable to read/write, for example [all …]
|
| /freebsd/crypto/openssl/ssl/quic/ |
| H A D | quic_reactor.c | 2 * Copyright 2022-2025 The OpenSSL Project Authors. All Rights Reserved. 28 rtor->poll_r.type = BIO_POLL_DESCRIPTOR_TYPE_NONE; in ossl_quic_reactor_init() 29 rtor->poll_w.type = BIO_POLL_DESCRIPTOR_TYPE_NONE; in ossl_quic_reactor_init() 30 rtor->net_read_desired = 0; in ossl_quic_reactor_init() 31 rtor->net_write_desired = 0; in ossl_quic_reactor_init() 32 rtor->can_poll_r = 0; in ossl_quic_reactor_init() 33 rtor->can_poll_w = 0; in ossl_quic_reactor_init() 34 rtor->tick_deadline = initial_tick_deadline; in ossl_quic_reactor_init() 36 rtor->tick_cb = tick_cb; in ossl_quic_reactor_init() 37 rtor->tick_cb_arg = tick_cb_arg; in ossl_quic_reactor_init() [all …]
|
| /freebsd/usr.sbin/iostat/ |
| H A D | iostat.8 | 23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 50 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 74 .Sm on 76 .Op Fl w Ar wait 83 statistics on terminal, device and cpu operations. 90 To get information about the current activity, a suitable wait time should 95 .Bl -tag -width flag 98 This is on by default, unless 109 is not specified and a wait interval is specified, 111 If no wait interval is specified, the default repeat count is 1. [all …]
|
| /freebsd/share/doc/psd/03.iosys/ |
| H A D | iosys | 1 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved. 32 .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 37 .EH 'PSD:3-%''The UNIX I/O System' 38 .OH 'The UNIX I/O System''PSD:3-%' 61 in the paper ``The UNIX Time-sharing System.'' 79 which work, or can work, with addressible 512-byte blocks. 91 Character-type devices have a much 102 in the low-order 8 bits and the major device number 103 in the next-higher 8 bits; 134 which is stored in the system's per-process [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | rename12.sh | 23 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 41 mycc -o rename12 -Wall -Wextra rename12.c || exit 1 42 rm -f rename12.c 44 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 45 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 47 mdconfig -a -t swap -s 4g -u $mdstart || exit 1 51 inodes=`df -i $mntpoint | tail -1 | awk '{print $7}'` 58 mkdir -p $mntpoint/d$j/dir1 59 mkdir -p $mntpoint/d$j/dir2 [all …]
|
| /freebsd/share/man/man9/ |
| H A D | counter.9 | 1 .\"- 21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 .Nd "SMP-friendly kernel counter implementation" 37 .Fn counter_u64_alloc "int wait" 82 can be used in any non-interrupt context. 87 update faster than simple arithmetic on the global variable. 90 is considered suitable for accounting in the performance-critical 92 .Bl -tag -width indent 93 .It Fn counter_u64_alloc wait 94 Allocate a new 64-bit unsigned counter. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/failmode/ |
| H A D | failmode.kshlib | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 30 typeset -A failmode_sync_helper_cmd=( 37 typeset -A failmode_sync_helper_dsopts=( 38 ["syncalways"]="-o sync=always" 43 zinject -c all || true 52 # - failmode: wait|continue 53 # - helper: fsync|msync|osync|syncalways 61 read -r DISK1 DISK2 _ <<<"$DISKS" [all …]
|
| /freebsd/contrib/bearssl/src/ssl/ |
| H A D | ssl_hs_common.t0 | 23 \ ---------------------------------------------------------------------- 37 #define ENG ((br_ssl_engine_context *)(void *)((unsigned char *)t0ctx - offsetof(br_ssl_engine_con… 50 \ Incoming alerts are processed on the fly; fatal alerts terminate the 64 \ -- Some handshake data is expected. 66 \ -- The handshake is finished, and application data may flow. There may 70 \ -- Some change-cipher-spec data is expected. 72 \ -- An alert record is expected. Other types of incoming records will be 75 \ -- Waiting for the currently accumulated record to be sent and the 79 : NYI ( -- ! ) 80 "NOT YET IMPLEMENTED!" puts cr -1 fail ; [all …]
|