| /freebsd/sys/arm64/include/ |
| H A D | armreg.h | 1 /*- 11 * 1. Redistributions of source code must retain the above copyright 41 /* AFSR0_EL1 - Auxiliary Fault Status Register 0 */ 46 #define AFSR0_EL1_CRm 1 54 #define AFSR0_EL12_CRm 1 57 /* AFSR1_EL1 - Auxiliary Fault Status Register 1 */ 62 #define AFSR1_EL1_CRm 1 63 #define AFSR1_EL1_op2 1 70 #define AFSR1_EL12_CRm 1 71 #define AFSR1_EL12_op2 1 [all …]
|
| H A D | hypervisor.h | 1 /*- 11 * 1. Redistributions of source code must retain the above copyright 40 /* CNTHCTL_EL2 - Counter-timer Hypervisor Control register */ 46 #define CNTHCTL_EL1PCEN_SHIFT 1 50 /* Valid if HCR_EL2.E2H == 1 */ 55 #define CNTHCTL_E2H_EL0VCTEN_SHIFT 1 113 /* CNTPOFF_EL2 - Counter-timer Physical Offset Register */ 121 /* CPTR_EL2 - Architecture feature trap register */ 129 /* Valid if HCR_EL2.E2H == 1 */ 137 /* HCR_EL2 - Hypervisor Config Register */ [all …]
|
| H A D | elf.h | 1 /*- 2 * Copyright (c) 1996-1997 John D. Polstra. 8 * 1. Redistributions of source code must retain the above copyright 82 #define ELF_TARG_VER 1 87 #define ELF_TARG_VER 1 100 #define HWCAP_FP (1 << 0) 101 #define HWCAP_ASIMD (1 << 1) 102 #define HWCAP_EVTSTRM (1 << 2) 103 #define HWCAP_AES (1 << 3) 104 #define HWCAP_PMULL (1 << 4) [all …]
|
| H A D | pte.h | 1 /*- 3 * Copyright (c) 2014-2015 The FreeBSD Foundation 12 * 1. Redistributions of source code must retain the above copyright 45 #define TATTR_AP_TABLE_MASK (3UL << 61) 46 #define TATTR_AP_TABLE_RO (2UL << 61) 47 #define TATTR_AP_TABLE_NO_EL0 (1UL << 61) 48 #define TATTR_UXN_TABLE (1UL << 60) 49 #define TATTR_PXN_TABLE (1UL << 59) 58 #define ATTR_SW_UNUSED1 (1UL << 58) 59 #define ATTR_SW_NO_PROMOTE (1UL << 57) [all …]
|
| /freebsd/sys/arm/ti/ |
| H A D | ti_i2c.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 40 * OMAP4 I2C Registers, Summary 1 43 #define I2C_IE_XDR (1UL << 14) /* Transmit draining interrupt */ 44 #define I2C_IE_RDR (1UL << 13) /* Receive draining interrupt */ 45 #define I2C_IE_AAS (1UL << 9) /* Addressed as Slave interrupt */ 46 #define I2C_IE_BF (1UL << 8) /* Bus Free interrupt */ 47 #define I2C_IE_AERR (1UL << 7) /* Access Error interrupt */ 48 #define I2C_IE_STC (1UL << 6) /* Start Condition interrupt */ [all …]
|
| H A D | ti_sdma.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 64 #define TI_SDMA_STATUS_DROP (1UL << 1) 65 #define TI_SDMA_STATUS_HALF (1UL << 2) 66 #define TI_SDMA_STATUS_FRAME (1UL << 3) 67 #define TI_SDMA_STATUS_LAST (1UL << 4) 68 #define TI_SDMA_STATUS_BLOCK (1UL << 5) 69 #define TI_SDMA_STATUS_SYNC (1UL << 6) 70 #define TI_SDMA_STATUS_PKT (1UL << 7) [all …]
|
| H A D | ti_sdmareg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 11 * 1. Redistributions of source code must retain the above copyright 97 #define DMA4_CCR_PACKET_TRANS (DMA4_CCR_FRAME_SYNC(1) | \ 98 DMA4_CCR_BLOCK_SYNC(1) ) 100 #define DMA4_CSR_DROP (1UL << 1) 101 #define DMA4_CSR_HALF (1UL << 2) 102 #define DMA4_CSR_FRAME (1UL << 3) 103 #define DMA4_CSR_LAST (1UL << 4) 104 #define DMA4_CSR_BLOCK (1UL << 5) [all …]
|
| /freebsd/crypto/krb5/src/lib/crypto/builtin/md5/ |
| H A D | md5.c | 1 /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ 6 * it is identified as the "RSA Data Security, Inc. MD5 Message- 12 * Data Security, Inc. MD5 Message-Digest Algorithm" in all 26 ** md5.c -- the source code for MD5 routines ** 27 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm ** 29 ** Revised: 1/91 SRD,AJ,BSK,JT Reference C ver., 7/10 constant corr. ** 38 #include "rsa-md5.h" 44 ** Message-digest routines: ** 46 ** (1) Initialize a context buffer mdContext using krb5int_MD5Init ** 49 ** The message digest is now in mdContext->digest[0...15] ** [all …]
|
| /freebsd/sys/dev/vnic/ |
| H A D | thunder_bgx.h | 8 * 1. Redistributions of source code must retain the above copyright 44 #define CMR_PKT_TX_EN (1UL << 13) 45 #define CMR_PKT_RX_EN (1UL << 14) 46 #define CMR_EN (1UL << 15) 48 #define CMR_GLOBAL_CFG_FCS_STRIP (1UL << 6) 64 #define RX_DMACX_CAM_EN (1UL << 48) 93 #define SPU_CTL_LOW_POWER (1UL << 11) 94 #define SPU_CTL_LOOPBACK (1UL << 14) 95 #define SPU_CTL_RESET (1UL << 15) 97 #define SPU_STATUS1_RCV_LNK (1UL << 2) [all …]
|
| H A D | nicvf_queues.h | 8 * 1. Redistributions of source code must retain the above copyright 53 #define RBDR_SIZE0 0UL /* 8K entries */ 54 #define RBDR_SIZE1 1UL /* 16K entries */ 55 #define RBDR_SIZE2 2UL /* 32K entries */ 56 #define RBDR_SIZE3 3UL /* 64K entries */ 57 #define RBDR_SIZE4 4UL /* 126K entries */ 58 #define RBDR_SIZE5 5UL /* 256K entries */ 59 #define RBDR_SIZE6 6UL /* 512K entries */ 61 #define SND_QUEUE_SIZE0 0UL /* 1K entries */ 62 #define SND_QUEUE_SIZE1 1UL /* 2K entries */ [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scu_registers.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 79 SCU_GEN_VALUE(name, ((U32)1)) 91 #define SMU_POST_CONTEXT_PORT_CONTEXT_INDEX_SHIFT (0UL) 93 #define SMU_POST_CONTEXT_PORT_LOGICAL_PORT_INDEX_SHIFT (12UL) 95 #define SMU_POST_CONTEXT_PORT_PROTOCOL_ENGINE_SHIFT (16UL) 97 #define SMU_POST_CONTEXT_PORT_COMMAND_CONTEXT_SHIFT (18UL) [all …]
|
| H A D | scu_viit_data.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 71 #define SCU_VIIT_ENTRY_ID_SHIFT (30UL) 74 #define SCU_VIIT_ENTRY_FUNCTION_SHIFT (20UL) 77 #define SCU_VIIT_ENTRY_IPPTMODE_SHIFT (12UL) 80 #define SCU_VIIT_ENTRY_LPVIE_SHIFT (8UL) 83 #define SCU_VIIT_ENTRY_STATUS_SHIFT (0UL) [all …]
|
| /freebsd/sbin/ipf/ipftest/ |
| H A D | md5.c | 6 ** md5.c -- the source code for MD5 routines ** 7 ** RSA Data Security, Inc. MD5 Message-Digest Algorithm ** 9 ** Revised: 1/91 SRD,AJ,BSK,JT Reference C ver., 7/10 constant corr. ** 18 ** it is identified as the "RSA Data Security, Inc. MD5 Message- ** 24 ** Data Security, Inc. MD5 Message-Digest Algorithm" in all ** 47 ** Message-digest routines: ** 49 ** (1) Initialize a context buffer mdContext using MD5Init ** 52 ** The message digest is now in mdContext->digest[0...15] ** 77 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32-(n)))) 79 /* FF, GG, HH, and II transformations for rounds 1, 2, 3, and 4 */ [all …]
|
| /freebsd/sys/arm64/nvidia/tegra210/ |
| H A D | tegra210_cpufreq.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 9 * 1. Redistributions of source code must retain the above copyright 72 {204000000UL, 1007452, -23865, 370}, 73 {306000000UL, 1052709, -24875, 370}, 74 {408000000UL, 1099069, -25895, 370}, 75 {510000000UL, 1146534, -26905, 370}, 76 {612000000UL, 1195102, -27915, 370}, 77 {714000000UL, 1244773, -28925, 370}, 78 {816000000UL, 1295549, -29935, 370}, [all …]
|
| /freebsd/sys/dev/pccbb/ |
| H A D | pccbbreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * 1. Redistributions of source code must retain the above copyright 36 * 1. Redistributions of source code must retain the above copyright 79 #define CBBR_INTRLINE 0x3c /* len=1 */ 80 #define CBBR_INTRPIN 0x3d /* len=1 */ 113 #define CBBR_CBCTRL 0x91 /* len=1 */ 129 #define CBBR_DEVCTRL 0x92 /* len=1 */ 137 #define TOPIC97_ZV_CONTROL 0x9c /* 1 byte */ 141 #define TOPIC_SLOTCTRL 0xa0 /* 1 byte */ [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | syzkaller73.sh | 5 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 8 set -u 51 uintptr_t addr = (uintptr_t)info->si_addr; 52 const uintptr_t prog_start = 1 << 20; 57 valid = 1; 59 _longjmp(segv_env, 1); 76 int ok = 1; \ 77 __atomic_fetch_add(&skip_segv, 1, __ATOMIC_SEQ_CST); \ 82 __atomic_fetch_sub(&skip_segv, 1, __ATOMIC_SEQ_CST); \ 89 while (waitpid(-1, status, 0) != pid) { [all …]
|
| H A D | syzkaller4.sh | 18 [ `uname -p` = "i386" ] && exit 0 48 while (waitpid(-1, status, 0) != pid) { 61 exit(1); 83 exit(1); 94 if (pthread_mutex_init(&ev->mu, 0)) 95 exit(1); 96 if (pthread_cond_init(&ev->cv, 0)) 97 exit(1); 98 ev->state = 0; 103 ev->state = 0; [all …]
|
| H A D | syzkaller54.sh | 15 # --- syscall (0, FreeBSD ELF64, nosys), rip = 0x82317b7da, rsp = 0x826544f48, rbp = 0x826544f70 --- 20 # FreeBSD 14.0-CURRENT #0 main-n255381-cbbce42345c51: Sun May 8 09:55:50 CEST 2022 24 [ `uname -p` != "amd64" ] && exit 0 30 // Reported-by: syzbot+9db4640d67478a0ced08@syzkaller.appspotmail.com 57 while (waitpid(-1, status, 0) != pid) { 70 exit(1); 92 exit(1); 103 if (pthread_mutex_init(&ev->mu, 0)) 104 exit(1); 105 if (pthread_cond_init(&ev->cv, 0)) [all …]
|
| /freebsd/sys/dev/iavf/ |
| H A D | iavf_register.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 8 * 1. Redistributions of source code must retain the above copyright notice, 42 #define IAVF_VF_ARQLEN1_ARQVFE_MASK IAVF_MASK(1UL, IAVF_VF_ARQLEN1_ARQVFE_SHIFT) 44 #define IAVF_VF_ARQLEN1_ARQOVFL_MASK IAVF_MASK(1UL, IAVF_VF_ARQLEN1_ARQOVFL_SHIFT) 46 #define IAVF_VF_ARQLEN1_ARQCRIT_MASK IAVF_MASK(1UL, IAVF_VF_ARQLEN1_ARQCRIT_SHIFT) 48 #define IAVF_VF_ARQLEN1_ARQENABLE_MASK IAVF_MASK(1UL, IAVF_VF_ARQLEN1_ARQENABLE_SHIFT) 55 #define IAVF_VF_ATQLEN1_ATQVFE_MASK IAVF_MASK(1UL, IAVF_VF_ATQLEN1_ATQVFE_SHIFT) 57 #define IAVF_VF_ATQLEN1_ATQOVFL_MASK IAVF_MASK(1UL, IAVF_VF_ATQLEN1_ATQOVFL_SHIFT) 59 #define IAVF_VF_ATQLEN1_ATQCRIT_MASK IAVF_MASK(1UL, IAVF_VF_ATQLEN1_ATQCRIT_SHIFT) 61 #define IAVF_VF_ATQLEN1_ATQENABLE_MASK IAVF_MASK(1UL, IAVF_VF_ATQLEN1_ATQENABLE_SHIFT) [all …]
|
| /freebsd/contrib/expat/tests/ |
| H A D | dummy.h | 9 Copyright (c) 2001-2006 Fred L. Drake, Jr. <fdrake@users.sourceforge.net> 11 Copyright (c) 2005-2007 Steven Solie <steven@solie.ca> 12 Copyright (c) 2005-2012 Karl Waclawek <karl@waclawek.net> 13 Copyright (c) 2016-2022 Sebastian Pipping <sebastian@pipping.org> 14 Copyright (c) 2017-2022 Rhodri James <rhodri@wildebeest.org.uk> 17 Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it> 50 # define DUMMY_START_DOCTYPE_HANDLER_FLAG (1UL << 0) 51 # define DUMMY_END_DOCTYPE_HANDLER_FLAG (1UL << 1) 52 # define DUMMY_ENTITY_DECL_HANDLER_FLAG (1UL << 2) 53 # define DUMMY_NOTATION_DECL_HANDLER_FLAG (1UL << 3) [all …]
|
| /freebsd/sys/dev/enic/ |
| H A D | vnic_nic.h | 1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright 2008-2017 Cisco Systems, Inc. All rights reserved. 14 #define NIC_CFG_RSS_HASH_BITS (7UL << 16) 15 #define NIC_CFG_RSS_HASH_BITS_MASK_FIELD 7UL 17 #define NIC_CFG_RSS_BASE_CPU (7UL << 19) 18 #define NIC_CFG_RSS_BASE_CPU_MASK_FIELD 7UL 20 #define NIC_CFG_RSS_ENABLE (1UL << 22) 21 #define NIC_CFG_RSS_ENABLE_MASK_FIELD 1UL 23 #define NIC_CFG_TSO_IPID_SPLIT_EN (1UL << 23) 24 #define NIC_CFG_TSO_IPID_SPLIT_EN_MASK_FIELD 1UL [all …]
|
| /freebsd/crypto/openssl/test/ |
| H A D | test_test.c | 2 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved. 30 return 1; in test_case() 35 if (!TEST(1, TEST_int_eq(1, 1)) in test_int() 36 || !TEST(0, TEST_int_eq(1, -1)) in test_int() 37 || !TEST(1, TEST_int_ne(1, 2)) in test_int() 39 || !TEST(1, TEST_int_lt(4, 9)) in test_int() 41 || !TEST(1, TEST_int_le(4, 9)) in test_int() 42 || !TEST(1, TEST_int_le(5, 5)) in test_int() 44 || !TEST(1, TEST_int_gt(8, 5)) in test_int() 46 || !TEST(1, TEST_int_ge(8, 5)) in test_int() [all …]
|
| /freebsd/contrib/ntp/sntp/tests/ |
| H A D | packetHandling.c | 121 &testpkt.exten[1], MAX_MDG_LEN); in test_OffsetCalculationPositiveOffset() 124 TEST_ASSERT_EQUAL_MEMORY(expected_mac, (void *)&testpkt.exten[1], in test_OffsetCalculationPositiveOffset() 143 rpkt.precision = -16; /* 0,000015259 */ in test_OffsetCalculationPositiveOffset() 151 /* T1 - Originate timestamp */ in test_OffsetCalculationPositiveOffset() 152 tmp.l_ui = 1000000000UL; in test_OffsetCalculationPositiveOffset() 153 tmp.l_uf = 0UL; in test_OffsetCalculationPositiveOffset() 156 /* T2 - Receive timestamp */ in test_OffsetCalculationPositiveOffset() 157 tmp.l_ui = 1000000001UL; in test_OffsetCalculationPositiveOffset() 158 tmp.l_uf = 2147483648UL; in test_OffsetCalculationPositiveOffset() 161 /* T3 - Transmi [all...] |
| /freebsd/sys/kgssapi/ |
| H A D | gssapi.h | 33 * A cut-down version of the GSS-API for in-kernel use 37 * Now define the three implementation-dependent types. 73 * For now, define a QOP-type as an OM_uint32 80 * Flag bits for context-level services. 82 #define GSS_C_DELEG_FLAG 1 96 #define GSS_C_INITIATE 1 102 #define GSS_C_GSS_CODE 1 106 * The constant definitions for channel-bindings address families 109 #define GSS_C_AF_LOCAL 1 151 * Define the default Quality of Protection for per-message [all …]
|
| /freebsd/contrib/sendmail/libmilter/docs/ |
| H A D | index.html | 6 <!-- 7 $Id: index.html,v 1.14 2013-11-22 20:51:39 ca Exp $ 8 --> 12 <!-- 17 --> 22 Sendmail's Content Management API (milter) provides third-party 25 content and meta-information. Filtering policies implemented by 26 Milter-conformant filters may then be centrally configured and 27 composed in an end-user's MTA configuration file. 32 site-wide filtering concerns in a scalable way. Individual users' mail [all …]
|