/freebsd/sys/dev/bxe/ |
H A D | ecore_fw_defs.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved. 36 (IRO[151].base + ((assertListEntry) * IRO[151].m1)) 38 (IRO[157].base + (((pfId)>>1) * IRO[157].m1) + (((pfId)&1) * \ 41 (IRO[158].base + (((pfId)>>1) * IRO[158].m1) + (((pfId)&1) * \ 44 (IRO[163].base + ((funcId) * IRO[163].m1)) 46 (IRO[153].base + ((funcId) * IRO[153].m1)) 48 (IRO[143].base + ((hcIndex) * IRO[143].m1) + ((sbId) * IRO[143].m2)) 50 (IRO[142].base + (((hcIndex)>>2) * IRO[142].m1) + (((hcIndex)&3) \ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | apple.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 15 This currently includes devices based on the "M1" SoC: 17 - Mac mini (M1, 2020) 18 - MacBook Pro (13-inch, M1, 2020) 19 - MacBook Air (M1, 2020) 20 - iMac (24-inch, M1, 2021) 24 - MacBook Air (M2, 2022) [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | backingstore2.sh | 34 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 41 m1=$mdstart 42 m2=$((m1 + 1)) 43 mount | grep "$mntpoint$m2" | grep -q md$m2 && umount $mntpoint$m2 44 mdconfig -l | grep -q md$m2 && mdconfig -d -u $m2 45 mount | grep "$mntpoint$m1" | grep -q md$m1 && umount $mntpoint$m1 46 mdconfig -l | grep -q md$m1 && mdconfig -d -u $m1 47 [ -d $mntpoint$m1 ] || mkdir -p $mntpoint$m1 48 [ -d $mntpoint$m2 ] || mkdir -p $mntpoint$m2 52 mdconfig -a -t vnode -f $D$m1 -u $m1 [all …]
|
H A D | backingstore3.sh | 33 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 40 m1=$mdstart 41 m2=$((m1 + 1)) 42 mount | grep "$mntpoint" | grep -q md$m2 && umount $mntpoint$m2 43 mdconfig -l | grep -q md$m2 && mdconfig -d -u $m2 44 mount | grep "$mntpoint" | grep -q md$m1 && umount $mntpoint$m1 45 mdconfig -l | grep -q md$m1 && mdconfig -d -u $m1 46 [ -d $mntpoint$m1 ] || mkdir -p $mntpoint$m1 47 [ -d $mntpoint$m2 ] || mkdir -p $mntpoint$m2 51 mdconfig -a -t vnode -f $D$m1 -u $m1 [all …]
|
H A D | nullfs30.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 31 # mounting over non-directories 36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 42 set -eu 47 mkdir -p $mp1 $mp2 49 mdconfig -a -t swap -s 256m -u $md1 50 newfs $newfs_flags -n md$md1 > /dev/null 52 mdconfig -a -t swap -s 256m -u $md2 53 newfs $newfs_flags -n md$md2 > /dev/null 62 mount -t nullfs $mp1/f1 $mp2/m1 || { [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_iro.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 36 …TSTORM_PORT_STAT_OFFSET(port_id) (IRO[1].base + ((port_id) * IRO[1].m1)) 39 …TSTORM_LL2_PORT_STAT_OFFSET(port_id) (IRO[2].base + ((port_id) * IRO[2].m1)) 41 /* Ustorm VF-PF Channel ready flag */ 42 …e USTORM_VF_PF_CHANNEL_READY_OFFSET(vf_id) (IRO[3].base + ((vf_id) * IRO[3].m1)) 45 …e USTORM_FLR_FINAL_ACK_OFFSET(pf_id) (IRO[4].base + ((pf_id) * IRO[4].m1)) 48 …e USTORM_EQE_CONS_OFFSET(pf_id) (IRO[5].base + ((pf_id) * IRO[5].m1)) 51 …_ETH_QUEUE_ZONE_OFFSET(queue_zone_id) (IRO[6].base + ((queue_zone_id) * IRO[6].m1)) 54 …_COMMON_QUEUE_CONS_OFFSET(queue_zone_id) (IRO[7].base + ((queue_zone_id) * IRO[7].m1)) 75 …RX_PRODS_OFFSET(core_rx_queue_id) (IRO[14].base + ((core_rx_queue_id) * IRO[14].m1)) [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_08.HIPx.out | 6 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">gum … 7 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'gum']/count"> … 10 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">rope … 11 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'rope']/count"> … 14 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">ladder … 15 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'ladder']/count"> … 18 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">bolt … 19 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'bolt']/count"> … 22 …<div class="data" data-tag="name" data-xpath="/top/data/contents/item/name" data-key="key">water … 23 …<div class="data" data-tag="count" data-xpath="/top/data/contents/item[name = 'water']/count"> … [all …]
|
/freebsd/sys/dev/clk/allwinner/ |
H A D | aw_clk_nmm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 42 * clk = clkin * n / m0 / m1 51 struct aw_clk_factor m1; member 85 if ((sc->flags & AW_CLK_HAS_GATE) == 0) in aw_clk_nmm_set_gate() 89 READ4(clk, sc->offset, &val); in aw_clk_nmm_set_gate() 91 val |= (1 << sc->gate_shift); in aw_clk_nmm_set_gate() 93 val &= ~(1 << sc->gate_shift); in aw_clk_nmm_set_gate() 94 WRITE4(clk, sc->offset, val); in aw_clk_nmm_set_gate() 105 uint32_t n, m0, m1; in aw_clk_nmm_find_best() local [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
H A D | interval_map_test.cpp | 1 //===-- interval_map_test.cpp ---------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 19 // Check that a default-constructed IntervalMap behaves as expected. in TEST() 46 IntervalMap<unsigned, unsigned, IntervalCoalescing::Enabled> M1; in TEST() local 48 M1.insert(7, 8, 42); in TEST() 49 M1.insert(8, 9, 42); in TEST() 51 EXPECT_FALSE(M1.empty()); in TEST() 52 EXPECT_EQ(std::next(M1.begin()), M1.end()); // Should see just one range. in TEST() [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/netipsec/ |
H A D | ipsec_mbuf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * IPsec-specific mbuf routines. 62 for (m = m0; m && skip > m->m_len; m = m->m_next) in m_makespace() 63 skip -= m->m_len; in m_makespace() 74 remain = m->m_len - skip; /* data to move */ in m_makespace() 79 * XXX: which operation is the most heavy - copying of in m_makespace() 85 m->m_data -= hlen; in m_makespace() 87 m->m_len += hlen; in m_makespace() 99 n = m_getcl(M_NOWAIT, m->m_type, 0); in m_makespace() [all …]
|
/freebsd/contrib/googletest/googlemock/test/ |
H A D | gmock-matchers-comparisons_test.cc | 30 // Google Mock - a framework for writing C++ mock classes. 40 #include "test/gmock-matchers_test.h" 119 if (listener->stream() != nullptr) { in MatchAndExplain() 122 *listener->stream() << " == " << (x % 2); in MatchAndExplain() 140 // Tests default-constructing a matcher. 153 Matcher<int> m1 = 5; in TEST() local 154 EXPECT_TRUE(m1.Matches(5)); in TEST() 155 EXPECT_FALSE(m1.Matches(6)); in TEST() 160 Matcher<int*> m1 = nullptr; in TEST() local 161 EXPECT_TRUE(m1.Matches(nullptr)); in TEST() [all …]
|
/freebsd/crypto/openssl/test/testutil/ |
H A D | format_output.c | 2 * Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved. 26 test_printf_stderr("--- %s\n", left); in test_diff_header() 42 const char *op, const char *m1, size_t l1, in test_fail_string_common() argument 46 (MAX_STRING_WIDTH - BIO_get_indent(bio_err) - 12) / 16 * 16; in test_fail_string_common() 53 if (m1 == NULL) in test_fail_string_common() 58 if ((m1 == NULL) == (m2 == NULL)) { in test_fail_string_common() 59 test_string_null_empty(m1, ' '); in test_fail_string_common() 62 test_string_null_empty(m1, '-'); in test_fail_string_common() 68 if (l1 != l2 || strncmp(m1, m2, l1) != 0) in test_fail_string_common() 76 b1[i] = isprint((unsigned char)m1[i]) ? m1[i] : '.'; in test_fail_string_common() [all …]
|
/freebsd/sys/contrib/libb2/ |
H A D | blake2s-load-sse41.h | 2 BLAKE2 reference source code package - optimized C implementations 18 buf = TOI(_mm_shuffle_ps(TOF(m0), TOF(m1), _MM_SHUFFLE(2,0,2,0))); 21 buf = TOI(_mm_shuffle_ps(TOF(m0), TOF(m1), _MM_SHUFFLE(3,1,3,1))); 30 t0 = _mm_blend_epi16(m1, m2, 0x0C); \ 37 t1 = _mm_blend_epi16(m1,m3,0xC0); \ 42 t0 = _mm_slli_si128(m1, 4); \ 48 t0 = _mm_unpackhi_epi32(m0,m1); \ 55 t1 = _mm_blend_epi16(m3,m1,0x0C); \ 67 t1 = _mm_srli_si128(m1, 12); \ 73 t1 = _mm_blend_epi16(m0, m1, 0x33); \ [all …]
|
H A D | blake2b-load-sse41.h | 2 BLAKE2 reference source code package - optimized C implementations 20 b0 = _mm_unpacklo_epi64(m0, m1); \ 28 b0 = _mm_unpackhi_epi64(m0, m1); \ 76 b0 = _mm_unpacklo_epi64(m6, m1); \ 77 b1 = _mm_unpackhi_epi64(m3, m1); \ 93 b1 = _mm_blend_epi16(m1, m6, 0xF0); \ 100 b0 = _mm_blend_epi16(m5, m1, 0xF0); \ 116 b0 = _mm_unpackhi_epi64(m3, m1); \ 132 b0 = _mm_blend_epi16(m1, m2, 0xF0); \ 149 b1 = _mm_unpacklo_epi64(m1, m5); \ [all …]
|
H A D | blake2s-load-xop.h | 2 BLAKE2 reference source code package - optimized C implementations 31 buf = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(6),TOB(4),TOB(2),TOB(0)) ); 34 buf = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(7),TOB(5),TOB(3),TOB(1)) ); 43 t0 = _mm_perm_epi8(m1, m2, _mm_set_epi32(TOB(0),TOB(5),TOB(0),TOB(0)) ); \ 47 t1 = _mm_perm_epi8(m1, m2, _mm_set_epi32(TOB(2),TOB(0),TOB(4),TOB(6)) ); \ 51 t0 = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(5),TOB(0),TOB(0),TOB(1)) ); \ 55 t1 = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(3),TOB(7),TOB(2),TOB(0)) ); \ 59 t0 = _mm_perm_epi8(m1, m2, _mm_set_epi32(TOB(0),TOB(1),TOB(0),TOB(7)) ); \ 67 t0 = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(0),TOB(7),TOB(3),TOB(0)) ); \ 71 t1 = _mm_perm_epi8(m0, m1, _mm_set_epi32(TOB(4),TOB(1),TOB(6),TOB(0)) ); \ [all …]
|
H A D | blake2s-load-sse2.h | 2 BLAKE2 reference source code package - optimized C implementations 18 #define LOAD_MSG_0_2(buf) buf = _mm_set_epi32(m7,m5,m3,m1) 23 #define LOAD_MSG_1_3(buf) buf = _mm_set_epi32(m5,m11,m0,m1) 28 #define LOAD_MSG_2_4(buf) buf = _mm_set_epi32(m4,m1,m6,m14) 30 #define LOAD_MSG_3_2(buf) buf = _mm_set_epi32(m14,m12,m1,m9) 36 #define LOAD_MSG_4_4(buf) buf = _mm_set_epi32(m13,m8,m12,m1) 39 #define LOAD_MSG_5_3(buf) buf = _mm_set_epi32(m1,m15,m7,m4) 41 #define LOAD_MSG_6_1(buf) buf = _mm_set_epi32(m4,m14,m1,m12) 46 #define LOAD_MSG_7_2(buf) buf = _mm_set_epi32(m9,m1,m14,m11) 51 #define LOAD_MSG_8_3(buf) buf = _mm_set_epi32(m10,m1,m13,m12) [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_generichash/blake2b/ref/ |
H A D | blake2b-load-sse41.h | 2 BLAKE2 reference source code package - optimized C implementations 21 b0 = _mm_unpacklo_epi64(m0, m1); \ 27 b0 = _mm_unpackhi_epi64(m0, m1); \ 63 b0 = _mm_unpacklo_epi64(m6, m1); \ 64 b1 = _mm_unpackhi_epi64(m3, m1); \ 76 b1 = _mm_blend_epi16(m1, m6, 0xF0); \ 81 b0 = _mm_blend_epi16(m5, m1, 0xF0); \ 93 b0 = _mm_unpackhi_epi64(m3, m1); \ 105 b0 = _mm_blend_epi16(m1, m2, 0xF0); \ 118 b1 = _mm_unpacklo_epi64(m1, m5); \ [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | modpipe.c | 31 #include "openbsd-compat/getopt_long.c" 36 fprintf(stderr, "Usage: modpipe -w [-m modspec ...] < in > out\n"); in usage() 38 fprintf(stderr, " xor:offset:value - XOR \"value\" at \"offset\"\n"); in usage() 39 fprintf(stderr, " andor:offset:val1:val2 - AND \"val1\" then OR \"val2\" at \"offset\"\n"); in usage() 47 u_int8_t m1, m2; member 54 int n, m1, m2; in parse_modification() local 58 what, &m->offset, &m1, &m2)) < 3) in parse_modification() 63 if (m1 < 0 || m1 > 0xff) in parse_modification() 65 m->what = MOD_XOR; in parse_modification() 66 m->m1 = m1; in parse_modification() [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/net80211/ |
H A D | ieee80211_superg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 54 * Atheros fast-frame encapsulation format. 60 /* fast frame header is 32-bits */ 91 &ieee80211_ffppsmin, 0, "min packet rate before fast-frame staging"); 92 static int ieee80211_ffagemax = -1; /* max time frames held on stage q */ 96 "max hold time for fast-frame staging (ms)"); 112 IEEE80211_FF_LOCK_INIT(ic, ic->ic_name); in ieee80211_superg_attach() 122 TIMEOUT_TASK_INIT(ic->ic_tq, &sg->ff_qtimer, 0, ff_age_all, ic); in ieee80211_superg_attach() [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | vis3-mont.pl | 2 # Copyright 2012-2021 The OpenSSL Project Authors. All Rights Reserved. 22 # are 1.54/1.87/2.11/2.26 times faster for 512/1024/2048/4096-bit key 47 ($n0,$m0,$m1,$lo0,$hi0, $lo1,$hi1,$aj,$alo,$nj,$nlo,$tj)= 76 # +-------------------------------+<----- %sp 78 # +-------------------------------+<----- aligned at 64 bytes 80 # +-------------------------------+ 83 # +-------------------------------+<----- aligned at 64 bytes 85 # +-------------------------------+ 87 # +-------------------------------+ 91 # +-------------------------------+ [all …]
|
H A D | alpha-mont.pl | 2 # Copyright 2006-2020 The OpenSSL Project Authors. All Rights Reserved. 19 # instructed to '-tune host' code with in-line assembler. Other 20 # benchmarks improve by 15-20%. To anchor it to something else, the 50 $m1="s5"; 69 lda sp,-48(sp) 76 .mask 0x0400f000,-48 92 lda AT,-4096(zero) # mov -4096,AT 101 mulq $lo0,$n0,$m1 103 mulq $hi1,$m1,$lo1 104 umulh $hi1,$m1,$hi1 [all …]
|
/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 …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 75 ircp->irc_ipnum = 0; in ipf_p_irc_complete() 76 ircp->irc_port = 0; in ipf_p_irc_complete() 82 i = len - 1; in ipf_p_irc_complete() 93 ircp->irc_snick = s; in ipf_p_irc_complete() 96 i--; in ipf_p_irc_complete() 97 for (c = *s; !ISSPACE(c) && (i > 0); i--) in ipf_p_irc_complete() 104 ircp->irc_snick = NULL; in ipf_p_irc_complete() 111 i -= 8; in ipf_p_irc_complete() 114 ircp->irc_dnick = s; in ipf_p_irc_complete() 121 for (; !ISSPACE(c) && (i > 0); i--) in ipf_p_irc_complete() [all …]
|