/freebsd/sys/contrib/edk2/Include/Library/ |
H A D | MemoryAllocationLib.h | 5 …allows code to be written in a phase-independent manner because the allocation of memory in PEI, D… 9 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> 10 SPDX-License-Identifier: BSD-2-Clause-Patent 18 Allocates one or more 4KB pages of type EfiBootServicesData. 20 Allocates the number of 4KB pages of type EfiBootServicesData and returns a pointer to the 21 allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL 25 @param Pages The number of 4 KB pages to allocate. 37 Allocates one or more 4KB pages of type EfiRuntimeServicesData. 39 Allocates the number of 4KB pages of type EfiRuntimeServicesData and returns a pointer to the 40 allocated buffer. The buffer returned is aligned on a 4KB boundary. If Pages is 0, then NULL [all …]
|
/freebsd/sys/arm64/include/ |
H A D | vmparam.h | 1 /*- 76 * Create three free page pools: VM_FREEPOOL_DEFAULT is the default pool from 78 * which physical pages for page tables and small UMA objects are allocated. 79 * VM_FREEPOOL_LAZYINIT is a special-purpose pool that is populated only during 80 * boot and is used to implement deferred initialization of page structures. 88 * Create two free page lists: VM_FREELIST_DMA32 is for physical pages that have 89 * physical addresses below 4G, and VM_FREELIST_DEFAULT is for all other 97 * When PAGE_SIZE is 4KB, an allocation size of 16MB is supported in order 98 * to optimize the use of the direct map by UMA. Specifically, a 64-byte 102 * both 2MB page TLB misses and cache misses during the page table walk when [all …]
|
/freebsd/share/doc/papers/kernmalloc/ |
H A D | appendix.ms | 9 'ds - \(mi 10 'ds / \\h'\\w' 'u-\\w'/'u'/ 11 'ds /* \\h'\\w' 'u-\\w'/'u'/* 23 \f2\s12\h'\\n(.lu-\w'\\*(=f'u'\\*(=f\fP\s0\h'|0u' 31 'ie o 'tl '\f2\\*(=M''Page % of \\*(=G\fP' 45 'ds -K 47 'de -C 51 'ds -K \fP 54 '-C 59 \f2\s14\h'\\n(.lu-\w'\\$1'u'\\$1\fP\s0\h'|0u'\c [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | fsl,fman-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/fsl,fman-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 21 - fsl,fman-v2-port-oh 22 - fsl,fman-v2-port-rx 23 - fsl,fman-v2-port-tx 24 - fsl,fman-v3-port-oh 25 - fsl,fman-v3-port-rx [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | iwarp_common.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 42 #define IWARP_SHARED_QUEUE_PAGE_SIZE (0x8000) //32KB page for Shared Queue Page 43 #define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_OFFSET (0x4000) //First 12KB of Shared Queue Page is reserv… 44 #define IWARP_SHARED_QUEUE_PAGE_RQ_PBL_MAX_SIZE (0x1000) //Max RQ PBL Size is 4KB 46 #define IWARP_SHARED_QUEUE_PAGE_SQ_PBL_MAX_SIZE (0x3000) //Max SQ PBL Size is 12KB
|
H A D | nvm_map.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 60 u32 crc; /* 32-bit CRC */ 128 {"TIM1", "-tim1", NVM_TYPE_TIM1}, 129 {"TIM2", "-tim2", NVM_TYPE_TIM2}, 130 {"MIM1", "-mim1", NVM_TYPE_MIM1}, 131 {"MIM2", "-mim2", NVM_TYPE_MIM2}, 132 {"MBA", "-mba", NVM_TYPE_MBA}, 133 {"OPT_MODULES", "-optm", NVM_TYPE_MODULES_PN}, 134 {"VPD", "-vpd", NVM_TYPE_VPD}, 135 {"MFW_TRACE1", "-mfwt1", NVM_TYPE_MFW_TRACE1}, [all …]
|
/freebsd/sys/dev/qat/qat_api/qat_direct/include/ |
H A D | icp_adf_debug.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 17 * prints less than page size (4kB) and seq type for files 18 * where read function needs to print more that page size. 46 * Function is called only once and can print up to 4kB (size) 55 * point for next step. In one go function can print up to 4kB (size). 81 void *page; member
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_alloc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 43 iavf_mem_atq_ring = 4, /* ATQ descriptor ring */ 44 iavf_mem_pd = 5, /* Page Descriptor */ 45 iavf_mem_bp = 6, /* Backing Page - 4KB */ 46 iavf_mem_bp_jumbo = 7, /* Backing Page - > 4KB */
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_alloc.h | 3 Copyright (c) 2013-2018, Intel Corporation 45 i40e_mem_atq_ring = 4, /* ATQ descriptor ring */ 46 i40e_mem_pd = 5, /* Page Descriptor */ 47 i40e_mem_bp = 6, /* Backing Page - 4KB */ 48 i40e_mem_bp_jumbo = 7, /* Backing Page - > 4KB */
|
/freebsd/sys/contrib/dev/iwlwifi/fw/ |
H A D | img.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 11 #include "api/dbg-tlv.h" 14 #include "error-dum [all...] |
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_put.c | 1 /*- 20 * 4. Neither the name of the University nor the names of its contributors 48 #include "db-int.h" 54 * __BT_PUT -- Add a btree item to the tree. 76 PAGE *h; 81 char *dest, db[NOVFLSIZE], kb[NOVFLSIZE]; local 83 t = dbp->internal; 85 /* Toss any page pinned across calls. */ 86 if (t->bt_pinned != NULL) { 87 mpool_put(t->bt_mp, t->bt_pinned, 0); [all …]
|
/freebsd/sys/i386/i386/ |
H A D | pmap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 10 * Copyright (c) 2005-2010 Alan L. Cox <alc@cs.rice.edu> 29 * 4. Neither the name of the University nor the names of its contributors 45 /*- 54 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 89 * this module may throw away valid virtual-to-physical 91 * of virtual-to-physical mappings must be done as 95 * make virtual-to-physical map invalidates expensive, 171 * Within PTmap, the page directory can be found (third indirection). [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 88 #include <powerpc/pseries/phyp-hvcall.h> 94 #define PPC_BITLSHIFT(bit) (sizeof(long)*NBBY - 1 - (bit)) 115 #define NLS_MASK ((1UL<<5)-1) 117 #define RPTE_MASK (RPTE_ENTRIES-1) 120 #define NLB_MASK (((1UL<<52)-1) << 8) 166 #define TLBIEL_INVAL_PAGE 0x000 /* invalidate a single page */ 185 #define TLBIE_RIC_INVALIDATE_SEQ 0x3 /* HPT - only: 367 return (&pmap->pm_pml1[pmap_pml1e_index(va)]); in pmap_pml1e() [all …]
|
/freebsd/sys/x86/x86/ |
H A D | identcpu.c | 1 /*- 22 * 4. Neither the name of the University nor the names of its contributors 71 #include <xen/xen-os.h> 154 if ((req->flags & SCTL_MASK32) != 0 && adaptive_machine_arch) in sysctl_hw_machine() 199 "Intel Pentium 4" 222 { "Pentium 4", CPUCLASS_686 }, /* CPU_P4 */ 252 u_int regs[4], i; in printcpuinfo() 313 "DX2 Write-Back Enhanced"); in printcpuinfo() 325 strcat(cpu_model, " A-step"); in printcpuinfo() 343 strcat(cpu_model, "/P55C (quarter-micro in printcpuinfo() [all...] |
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2025, Broadcom. All rights reserved. The 71 * * 0x0-0xFFF8 - The function ID 72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors 73 * * 0xFFFD - Reserved for user-space HWRM interface 74 * * 0xFFFF - HWRM 122 /* Engine CKV - The Alias key EC curve and ECC public key information. */ 124 /* Engine CKV - Initialization vector. */ 126 /* Engine CKV - Authentication tag. */ 128 /* Engine CKV - The encrypted data. */ [all …]
|
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen2/ |
H A D | branch.json | 16 … "PublicDescription": "Indirect Branch Prediction for potential multi-target branch (speculative)." 32 …": "The number of instruction fetches that hit in the L1 ITLB. Instruction fetches to a 1GB page.", 38 …": "The number of instruction fetches that hit in the L1 ITLB. Instruction fetches to a 2MB page.", 44 …": "The number of instruction fetches that hit in the L1 ITLB. Instruction fetches to a 4KB page.",
|
/freebsd/tools/tools/ioat/ |
H A D | ioatcontrol.8 | 31 .Xr ioat 4 46 .Ar [ chain-len 61 .Xr ioat 4 64 .Bl -tag -width Ds 71 Test non-contiguous 8k copy. 94 .Bl -tag -width Ds 136 The default is 256 KB. 137 In raw mode, the default is 4 KB. 140 .Ar chain-len 163 .Xr ioat 4 . [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | pte.h | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 19 * 4. The name of TooLs GmbH may not be used to endorse or promote products 42 * Page Table Entries 46 /* 32-bit PTE */ 56 /* 64-bit (long) PTE */ 82 /* 32-bit PTE definitions */ 100 #define PTE_SW 0x00000001 /* Super. Write-Only (U: RO, S: RW) */ 106 #define PTE_EXEC 0x00000200 /* pseudo bit in attrs; page is exec */ 108 /* 64-bit PTE definitions */ [all …]
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_defines.h | 2 SPDX-License-Identifier: BSD-3-Clause 4 Copyright (c) 2001-2020, Intel Corporation 69 #define E1000_CTRL_EXT_SDP4_DATA 0x00000010 /* SW Definable Pin 4 data */ 72 /* SDP 4/5 (bits 8,9) are reserved in >= 82575 */ 94 #define E1000_CTRL_EXT_IAME 0x08000000 /* Int ACK Auto-mask */ 122 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */ 172 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 173 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 202 #define E1000_RCTL_MO_3 0x00003000 /* multicast offset 15:4 */ 261 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwm_fw.h | 1 /*- 2 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 15 * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 16 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 38 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 42 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 43 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 81 #define IWM_PAGE_2_EXP_SIZE 12 /* 4K == 2^12 */ 82 #define IWM_FW_PAGING_SIZE (1 << IWM_PAGE_2_EXP_SIZE) /* page size is 4KB */ 86 /* don't change, support only 32KB size */ [all …]
|
/freebsd/lib/libkvm/ |
H A D | kvm_minidump_powerpc64_hpt.c | 1 /*- 49 * b = 12 (SLB base page size: 4 KB) 50 * b = 24 (SLB base page size: 16 MB) 51 * p = 12 (page size: 4 KB) 52 * p = 24 (page size: 16 MB) 56 /* Large (huge) page params */ 67 /* Virtual real-mode VSID in LPARs */ 70 #define SLBV_L 0x0000000000000100ULL /* Large page selector */ 89 #define LPTEH_BIG 0x0000000000000004ULL /* 4KB/16MB page */ 111 * AVA[PAGE] = AVA[50:54] = PTEH[52:56] [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 1 /*- 10 * Copyright (c) 2005-2010 Alan L. Cox <alc@cs.rice.edu> 14 * Copyright (c) 2014-2016 The FreeBSD Foundation 36 * 4. Neither the name of the University nor the names of its contributors 52 /*- 59 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 90 * this module may throw away valid virtual-to-physical 92 * of virtual-to-physical mappings must be done as 96 * make virtual-to-physical map invalidates expensive, 160 #define PMAP_ASSERT_STAGE1(pmap) MPASS((pmap)->pm_stage == PM_STAGE1) [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | pmap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 12 * Copyright (c) 2005-2010 Alan L. Cox <alc@cs.rice.edu> 31 * 4. Neither the name of the University nor the names of its contributors 47 /*- 49 * Copyright (c) 2014-2020 The FreeBSD Foundation 55 * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 92 * this module may throw away valid virtual-to-physical 94 * of virtual-to-physical mappings must be done as 98 * make virtual-to-physical map invalidates expensive, [all …]
|
/freebsd/share/man/man4/ |
H A D | fdc.4 | 54 either FM (single-density) or MFM (double or high-density) recording 73 using the per-controller flags value of 80 For historical reasons, device nodes that use a trailing UFS-style 89 of the available medium for multi-density devices. 91 possible to use either a 720 KB medium or a 1440 KB medium in a 92 high-density 3.5 inch standard floppy drive. 101 this can be overridden using the per-drive device flags value of 107 When trying to use a floppy device with special-density media, other 124 (like 1200 KB for 5.25 inch HD drives or 1440 KB for 3.5 inch HD 130 Drive types are configured using the lower four bits of the per-drive [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_platform_mac.cpp | 1 //===-- tsan_platform_mac.cpp ---------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 // Mac-specific code. 12 //===----------------------------------------------------------------------===// 54 // We rely on the following documented, but Darwin-specific behavior to keep the 56 // pthread_key_create man page: 57 // If, after all the destructors have been called for all non-NULL values with 58 // associated destructors, there are still some non-NULL values with 61 // outstanding non-NULL values, there are still some non-NULL values with [all …]
|