/freebsd-src/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-src/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-byt [all...] |
/freebsd-src/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-src/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-src/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-src/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-src/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-src/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-src/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-0 4572 pagezero(void * page) pagezero() argument [all...] |
/freebsd-src/sbin/recoverdisk/ |
H A D | recoverdisk.1 | 54 By default it uses block sizes of roughly 1 MB, 32kB, and the native 60 .Bl -tag -width indent 80 Enables nicer status report using ANSI escapes and UTF-8. 99 .Bl -tag -width remaining 116 .Bd -literal 123 # read an ISO image from a CD-ROM 127 recoverdisk -r worklist -w worklist /dev/cd0 /data/cd.iso 132 # If the disk hangs the system on read-errors try: 133 recoverdisk -b 0 /dev/ada3 /somewhere 138 .Xr ada 4 , [all …]
|
/freebsd-src/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- 1774 vm_paddr_t page; alloc_pt_page() local 1785 vm_paddr_t page; mmu_radix_dmap_range() local [all...] |
/freebsd-src/lib/libpmc/pmu-events/arch/x86/amdzen4/ |
H A D | memory.json | 5 …"BriefDescription": "Store-to-load conflicts (load unable to complete due to a non-forwardable con… 11 "BriefDescription": "Number of memory load operations dispatched to the load-store unit.", 17 "BriefDescription": "Number of memory store operations dispatched to the load-store unit.", 23 "BriefDescription": "Number of memory load-store operations dispatched to the load-store unit.", 29 "BriefDescription": "Store-to-load-forward (STLF) hits." 34 …"BriefDescription": "Non-cacheable store commits cancelled due to the non-cacheable commit buffer … 40 "BriefDescription": "L1 DTLB misses with L2 DTLB hits for 4k pages.", 46 …s with L2 DTLB hits for coalesced pages. A coalesced page is a 16k page created from four adjacent… 64 …"BriefDescription": "L1 DTLB misses with L2 DTLB misses (page-table walks are requested) for 4k pa… 70 …ith L2 DTLB misses (page-table walks are requested) for coalesced pages. A coalesced page is a 16k… [all …]
|
/freebsd-src/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> 151 if ((req->flags & SCTL_MASK32) != 0 && adaptive_machine_arch) in sysctl_hw_machine() 196 "Intel Pentium 4" 219 { "Pentium 4", CPUCLASS_686 }, /* CPU_P4 */ 249 u_int regs[4], i; in printcpuinfo() 310 "DX2 Write-Back Enhanced"); in printcpuinfo() 322 strcat(cpu_model, " A-step"); in printcpuinfo() 340 strcat(cpu_model, "/P55C (quarter-micro in printcpuinfo() [all...] |
/freebsd-src/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-src/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-src/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-src/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-src/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 34 * Copyright(c) 2001-2024, 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-src/sbin/ggate/ggated/ |
H A D | ggated.8 | 55 .Bl -tag -width ".Ar exports\ file" 75 Default is 131072 (128kB). 78 Default is 131072 (128kB). 87 .Bd -literal -offset indent 91 hostname RW,DIRECT /tmp/direct-image 92 hostname RW,NODIRECT /tmp/nodirect-image 99 .Bl -tag -widt [all...] |
/freebsd-src/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-src/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 */ 173 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 174 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 203 #define E1000_RCTL_MO_3 0x00003000 /* multicast offset 15:4 */ 262 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ [all …]
|
/freebsd-src/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | arc_os.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 62 * eviction in response to one page allocation attempt. Note that in 63 * practice, the kernel's shrinker can ask us to evict up to about 4x this 67 * with 4K pages) limits the amount of time spent attempting to reclaim ARC 69 * average compressed block size of ~8KB. 78 * page. Bigger values make ARC more precious and evictions smaller comparing 79 * to other kernel subsystems. Value of 4 means parity with page cache, 98 size = allmem - (1 << 30); 112 return (ptob(zfs_totalram_pages - zfs_totalhigh_page [all...] |
/freebsd-src/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-physica 9163 pmap_map_io_transient(vm_page_t page[],vm_offset_t vaddr[],int count,bool can_fault) pmap_map_io_transient() argument 9205 pmap_unmap_io_transient(vm_page_t page[],vm_offset_t vaddr[],int count,bool can_fault) pmap_unmap_io_transient() argument [all...] |
/freebsd-src/sys/i386/include/ |
H A D | vmparam.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 84 * Create one free page pool. Since the i386 kernel virtual address 94 * Create up to three free page lists: VM_FREELIST_DMA32 is for physical pages 95 * that have physical addresses below 4G but are not accessible by ISA DMA, 107 * Always create DMA32 freelist if there is any memory above 4G. 114 * The largest allocation size is 2MB under PAE and 4MB otherwise. 149 * Virtual addresses of things. Derived from the page directory and 150 * page table indexes from pmap.h for precision. 151 * Because of the page that is both a PD and PT, it looks a little [all …]
|