/freebsd/tests/sys/geom/class/mirror/ |
H A D | 8_test.sh | 7 if ! [ -c /dev/mdctl ]; then 15 m1=`mktemp $base.XXXXXX` || exit 1 18 dd if=/dev/zero of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 21 us0=$(mdconfig -t vnode -f $m1) || exit 1 22 us1=$(mdconfig -t vnode -f $m2) || exit 1 32 mdconfig -d -u ${us0#md} -o force || exit 1 33 mdconfig -d -u ${us1#md} -o force || exit 1 34 exec 9>&- 36 dd if=/dev/random of=$m1 bs=$ddbs count=1 conv=notrunc >/dev/null 2>&1 37 attach_md us0 -t vnode -f $m1 || exit 1 [all …]
|
H A D | 10_test.sh | 9 set -e 13 m1=$(mktemp $base.XXXXXX) 16 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 19 attach_md us0 -t vnode -f $m1 20 attach_md us1 -t vnode -f $m2 37 if cmp -s $tmp1 $tmp2; then 46 if [ $genid1 -eq $(($genid2 + 1)) -o $genid2 -eq $(($genid1 + 1)) ]; then 52 # Force a retaste of the disconnected component. 53 if [ $(gmirror status -s $name | awk '{print $3}') = $us0 ]; then 55 attach_md us1 -t vnode -f $m2 [all …]
|
H A D | 12_test.sh | 9 set -e 13 m1=$(mktemp $base.XXXXXX) 16 dd if=/dev/zero of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 19 attach_md us0 -t vnode -f $m1 20 attach_md us1 -t vnode -f $m2 36 if cmp -s $tmp1 $tmp2; then 45 if [ $genid1 -eq $(($genid2 + 1)) -o $genid2 -eq $(($genid1 + 1)) ]; then 51 # Force a retaste of the disconnected component. 52 if [ $(gmirror status -s $name | awk '{print $3}') = $us0 ]; then 54 attach_md us1 -t vnode -f $m2 [all …]
|
H A D | 11_test.sh | 9 set -e 13 m1=$(mktemp $base.XXXXXX) 16 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 19 attach_md us0 -t vnode -f $m1 20 attach_md us1 -t vnode -f $m2 38 if cmp -s $tmp1 $tmp2; then 47 if [ $genid1 -eq $genid2 ]; then 59 if [ $syncid1 -eq $(($syncid2 + 1)) -o $syncid2 -eq $(($syncid1 + 1)) ]; then 65 # Force a retaste of the disconnected component. 66 if [ $(gmirror status -s $name | awk '{print $3}') = $us0 ]; then [all …]
|
H A D | 13_test.sh | 9 set -e 13 m1=$(mktemp $base.XXXXXX) 16 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1 19 attach_md us0 -t vnode -f $m1 20 attach_md us1 -t vnode -f $m2 38 if cmp -s $tmp1 $tmp2; then 47 if [ $genid1 -eq $genid2 ]; then 56 if [ $syncid1 -eq $(($syncid2 + 1)) -o $syncid2 -eq $(($syncid1 + 1)) ]; then 62 # Force a retaste of the disconnected component. 63 if [ $(gmirror status -s $name | awk '{print $3}') = $us0 ]; then [all …]
|
/freebsd/sys/dev/bhnd/cores/chipc/pwrctl/ |
H A D | bhnd_pwrctl_subr.c | 1 /*- 7 * Asus RT-N16 firmware source code release. 21 * $Id: siutils.c,v 1.821.2.48 2011-02-11 20:59:28 Exp $ 147 if (cid->chip_id == BHND_CHIPID_BCM5365) { in bhnd_pwrctl_cpu_clkreg_m() 192 uint32_t n1, n2, clock, m1, m2, m3, mc; in bhnd_pwrctl_clock_rate() local 239 m1 = CHIPC_GET_BITS(m, CHIPC_M1); in bhnd_pwrctl_clock_rate() 249 m1 = bhnd_pwrctl_factor6(m1); in bhnd_pwrctl_clock_rate() 261 return (clock / m1); in bhnd_pwrctl_clock_rate() 263 return (clock / (m1 * m2)); in bhnd_pwrctl_clock_rate() 265 return (clock / (m1 * m2 * m3)); in bhnd_pwrctl_clock_rate() [all …]
|
/freebsd/sys/powerpc/fpu/ |
H A D | fpu_subr.c | 4 * SPDX-License-Identifier: BSD-3-Clause 10 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 64 u_int m0, m1, m2, m3, s; in fpu_shr() local 68 if (rsh <= 0 || (fp->fp_class != FPC_NUM && !ISNAN(fp))) in fpu_shr() 72 m0 = fp->fp_mant[0]; in fpu_shr() 73 m1 = fp->fp_mant[1]; in fpu_shr() 74 m2 = fp->fp_mant[2]; in fpu_shr() 75 m3 = fp->fp_mant[3]; in fpu_shr() 80 if ((m0 | m1 | m2 | m3) == 0) in fpu_shr() 83 fp->fp_mant[0] = 0; in fpu_shr() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t8103-jxxx.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple M1 Mac mini, MacBook Air/Pro, iMac 24" (M1, 2020/2021) 5 * This file contains parts common to all Apple M1 devices using the t8103. 7 * target-type: J274, J293, J313, J456, J457 21 #address-cells = <2>; 22 #size-cells = <2>; 25 stdout-path = "serial0"; 28 compatible = "apple,simple-framebuffer", "simple-framebuffer"; 50 hpm0: usb-pd@38 { 53 interrupt-parent = <&pinctrl_ap>; [all …]
|
H A D | t8103-j457.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 2x USB-C, M1, 2020) 5 * target-type: J457 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j457", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 2x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,santorini"; 29 brcm,board-type = "apple,santorini"; 33 * Force the bus number assignments so that we can declare some of the [all …]
|
H A D | t8103-j274.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple Mac mini (M1, 2020) 5 * target-type: J274 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j274", "apple,t8103", "apple,arm-platform"; 17 model = "Apple Mac mini (M1, 2020)"; 25 brcm,board-type = "apple,atlantisb"; 29 brcm,board-type = "apple,atlantisb"; 33 * Force the bus number assignments so that we can declare some of the [all …]
|
H A D | t8103-j456.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple iMac (24-inch, 4x USB-C, M1, 2020) 5 * target-type: J456 10 /dts-v1/; 13 #include "t8103-jxxx.dtsi" 16 compatible = "apple,j456", "apple,t8103", "apple,arm-platform"; 17 model = "Apple iMac (24-inch, 4x USB-C, M1, 2021)"; 25 brcm,board-type = "apple,capri"; 29 brcm,board-type = "apple,capri"; 33 hpm2: usb-pd@3b { [all …]
|
H A D | t8112-j493.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Apple MacBook Pro (13-inch, M1, 2022) 5 * target-type: J493 10 /dts-v1/; 13 #include "t8112-jxxx.dtsi" 14 #include <dt-bindings/leds/common.h> 17 compatible = "apple,j493", "apple,t8112", "apple,arm-platform"; 18 model = "Apple MacBook Pro (13-inch, M2, 2022)"; 25 led-controller { 26 compatible = "pwm-leds"; [all …]
|
/freebsd/sys/contrib/libsodium/test/default/ |
H A D | secretstream.c | 14 unsigned char *m1, *m2, *m3; in main() local 44 m1 = (unsigned char *) sodium_malloc(m1_len); in main() 53 randombytes_buf(m1, m1_len); in main() 54 memcpy(m1_, m1, m1_len); in main() 70 (state, c1, &res_len, m1, m1_len, NULL, 0, 0); in main() 89 (state, m1, &res_len, &tag, in main() 93 assert(memcmp(m1, m1_, m1_len) == 0); in main() 107 assert(ret == -1); in main() 121 assert(ret == -1); in main() 128 assert(ret == -1); in main() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/serial/ |
H A D | st-asc.txt | 1 *st-asc(Serial Port) 4 - compatible : Should be "st,asc". 5 - reg, reg-names, interrupts, interrupt-names : Standard way to define device 7 Documentation/devicetree/bindings/resource-names.txt 10 - st,hw-flow-ctrl bool flag to enable hardware flow control. 11 - s [all...] |
H A D | st,asc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Patrice Chotard <patrice.chotard@foss.st.com> 13 - $ref: serial.yaml# 28 st,hw-flow-ctrl: 32 st,force-m1: 33 description: When set, force asc to be in Mode-1. This is recommended for 38 - compatible 39 - reg [all …]
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdcache.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 40 * - I think a false hit is more serious than a false miss 41 * - A false hit for an RPC that has Op(s) that order via seqid# must be 43 * - A valid hit will probably happen a long time after the original reply 47 * - The mechanism will satisfy the requirements of ordering Ops with seqid#s 48 * in them as well as minimizing the risk of redoing retried non-idempotent 55 * - Null RPCs bypass the cache and are just done 57 * - key on <xid, NFS version> (as noted above, there can be several 61 * - if RPC# != OR request_size != [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/tests/ |
H A D | CtxInstrProfilingTest.cpp | 19 for (auto I = 0U; I < A->size(); ++I) in TEST() 20 EXPECT_EQ(A->pos()[I], static_cast<char>(0)); in TEST() 21 EXPECT_EQ(A->size(), 10U); in TEST() 26 EXPECT_EQ(A->size(), 1024U); in TEST() 27 EXPECT_EQ(A->next(), nullptr); in TEST() 29 auto *M1 = A->tryBumpAllocate(1020); in TEST() local 30 EXPECT_NE(M1, nullptr); in TEST() 31 auto *M2 = A->tryBumpAllocate(4); in TEST() 33 EXPECT_EQ(M1 + 1020, M2); in TEST() 34 EXPECT_EQ(A->tryBumpAllocate(1), nullptr); in TEST() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_onetimeauth/poly1305/sse2/ |
H A D | poly1305_sse2.c | 57 * This confuses dynamic analysis, so force alignment, only in debug mode. 71 /* copy 0-31 bytes */ 117 _mm_storeu_si128((xmmi *) (void *) &st->H.hh[0], _mm_setzero_si128()); in poly1305_init_ext() 118 _mm_storeu_si128((xmmi *) (void *) &st->H.hh[4], _mm_setzero_si128()); in poly1305_init_ext() 119 _mm_storeu_si128((xmmi *) (void *) &st->H.hh[8], _mm_setzero_si128()); in poly1305_init_ext() 132 R = st->R; in poly1305_init_ext() 140 memcpy(&st->pad[0], key + 16, 8); in poly1305_init_ext() 141 memcpy(&st->pad[1], key + 24, 8); in poly1305_init_ext() 150 R = st->R2; in poly1305_init_ext() 155 R = st->R4; in poly1305_init_ext() [all …]
|
/freebsd/usr.bin/ncal/ |
H A D | ncal.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 113 switches + sizeof(switches) / sizeof(struct djswitch) - 2; 200 int flag_backward = 0; /* user called cal--backward compat. */ in main() 206 int flag_3months = 0; /* user wants 3 month display (-3) */ in main() 209 int flag_specifiedmonth = 0;/* user wants to see this month (-m) */ in main() 235 strcmp(locale, "US-ASCII") == 0) in main() 239 if ((cp = strstr(locale, p->cc)) != NULL && *(cp - 1) == '_') in main() 242 nswitch = ndaysj(&dftswitch->dt); in main() 244 nswitch = ndaysj(&p->dt); in main() [all …]
|
/freebsd/usr.bin/clang/llvm-mca/ |
H A D | llvm-mca.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipcreg.h | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 5 * Copyright (c) 2010-2015 Broadcom Corporation 10 * distributed with the Asus RT-N16 firmware source code release. 77 /* siba backplane configuration broadcast (siba-only) */ 81 #define CHIPC_GPIOPU 0x58 /**< pull-up mask (rev >= 20) */ 97 #define CHIPC_GPIOTIMERVAL 0x88 /**< gpio-based LED duty cycle (rev >= 16) */ 100 /* clock control registers (non-PMU devices) */ 103 #define CHIPC_CLKC_PCI 0x98 /* m1 */ [all …]
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sainit.c | 2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 66 * \param usecsPerTick micro-seconds per tick for the LL layer 69 * \return -void- 105 memoryRequirement->agMemory[LLROOT_MEM_INDEX].singleElementLength = sizeof(agsaLLRoot_t); in saGetRequirements() 106 memoryRequirement->agMemory[LLROOT_MEM_INDEX].numElements = 1; in saGetRequirements() 107 memoryRequirement->agMemory[LLROOT_MEM_INDEX].totalLength = sizeof(agsaLLRoot_t); in saGetRequirements() 108 memoryRequirement->agMemory[LLROOT_MEM_INDEX].alignment = sizeof(void *); in saGetRequirements() 109 memoryRequirement->agMemory[LLROOT_MEM_INDEX].type = AGSA_CACHED_MEM; in saGetRequirements() 113 memoryRequirement->agMemory[LLROOT_MEM_INDEX].singleElementLength, in saGetRequirements() 114 memoryRequirement->agMemory[LLROOT_MEM_INDEX].totalLength, in saGetRequirements() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZInstrFormats.td | 1 //==- SystemZInstrFormats.td - SystemZ Instruction Formats --*- tablegen -*-==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 27 // Some instructions come in pairs, one having a 12-bit displacement 28 // and the other having a 20-bit displacement. Both instructions in 34 // Many register-based <INSN>R instructions have a memory-based <INSN> 40 // MemKey identifies a targe reg-mem opcode, while MemType can be either 46 // Many distinct-operands instructions have older 2-operand equivalents. [all …]
|
/freebsd/sys/dev/ral/ |
H A D | rt2860.c | 1 /*- 2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 21 /*- 70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0) 71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0) 238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach() 242 sc->sc_dev = dev; in rt2860_attach() 243 sc->sc_debug = 0; in rt2860_attach() 245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach() 248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfo.cpp | 1 //===-- RISCVInstrInfo.cpp - RISC-V Instruction Information -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file contains the RISC-V implementation of the TargetInstrInfo class. 11 //===----------------------------------------------------------------------===// 48 "riscv-prefer-whole-register-move", cl::init(false), cl::Hidden, 52 "riscv-force-machine-combiner-strategy", cl::Hidden, 53 cl::desc("Force machine combiner to use a specific strategy for machine " 58 clEnumValN(MachineTraceStrategy::TS_MinInstrCount, "min-instr", 175 i.e. -riscv-vsetvl-after-rvv-regalloc=true */ in isReallyTriviallyReMaterializable() [all …]
|