/freebsd-src/lib/libpmc/pmu-events/arch/x86/tremontx/ |
H A D | virtual-memory.json | 3 …"BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Director… 14 … level TLB misses but second level hits due to loads that did not start a page walk. Account for a… 25 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page… 31 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 36 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 1G pag… 43 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 48 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or … 55 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 60 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K pag… 67 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… [all …]
|
/freebsd-src/contrib/ofed/libmlx5/ |
H A D | dbrec.c | 51 struct mlx5_db_page *page; in __add_page() local 60 page = malloc(sizeof *page + nlong * sizeof(long)); in __add_page() 61 if (!page) in __add_page() 64 if (mlx5_alloc_buf(&page->buf, ps, ps)) { in __add_page() 65 free(page); in __add_page() 69 page->num_db = pp; in __add_page() 70 page->use_cnt = 0; in __add_page() 72 page->free[i] = ~0; in __add_page() 74 page->prev = NULL; in __add_page() 75 page->next = context->db_list; in __add_page() [all …]
|
/freebsd-src/contrib/ofed/libmlx4/ |
H A D | dbrec.c | 57 struct mlx4_db_page *page; in __add_page() local 64 page = malloc(sizeof *page + pp / 8); in __add_page() 65 if (!page) in __add_page() 68 if (mlx4_alloc_buf(&page->buf, ps, ps)) { in __add_page() 69 free(page); in __add_page() 73 page->num_db = pp; in __add_page() 74 page->use_cnt = 0; in __add_page() 76 page->free[i] = ~0; in __add_page() 78 page->prev = NULL; in __add_page() 79 page->next = context->db_list[type]; in __add_page() [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/cascadelakex/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 8 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/… 23 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d… 29 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 34 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 39 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 44 "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 49 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed… 54 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 59 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/skylakex/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 8 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/… 23 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d… 29 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 34 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 39 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 44 "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 49 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed… 54 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 59 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/skylake/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 8 …"PublicDescription": "Counts demand data loads that caused a page walk of any page size (4K/2M/4M/… 23 …efDescription": "Cycles when at least one PMH is busy with a page walk for a load. EPT page walk d… 29 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 34 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 39 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 44 "BriefDescription": "Page walk completed due to a demand data load to a 1G page", 49 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed… 54 "BriefDescription": "Page walk completed due to a demand data load to a 2M/4M page", 59 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… [all …]
|
/freebsd-src/lib/libc/db/btree/ |
H A D | bt_split.c | 45 static int bt_broot(BTREE *, PAGE *, PAGE *, PAGE *); 46 static PAGE *bt_page(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t); 48 static PAGE *bt_psplit(BTREE *, PAGE *, PAGE *, PAGE *, indx_t *, size_t); 49 static PAGE *bt_root(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t); 50 static int bt_rroot(BTREE *, PAGE *, PAGE *, PAGE *); 51 static recno_t rec_total(PAGE *); 62 * sp: page to split 73 __bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags, in __bt_split() 80 PAGE *h, *l, *r, *lchild, *rchild; in __bt_split() 88 * Split the page into two pages, l and r. The split routines return in __bt_split() [all …]
|
H A D | btree.h | 42 #define DEFMINKEYPAGE (2) /* Minimum keys per page */ 44 #define MINPSIZE (512) /* Minimum page size */ 47 * Page 0 of a btree file contains a copy of the meta-data. This page is also 48 * used as an out-of-band page, i.e. page pointers that point to nowhere point 49 * to page 0. Page 1 is the root of the btree. 51 #define P_INVALID 0 /* Invalid tree page number. */ 52 #define P_META 0 /* Tree metadata page number. */ 53 #define P_ROOT 1 /* Tree root page number. */ 56 * There are five page layouts in the btree: btree internal pages (BINTERNAL), 58 * (RLEAF) and overflow pages. All five page types have a page header (PAGE). [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/elkhartlake/ |
H A D | virtual-memory.json | 3 …"BriefDescription": "Counts the number of page walks due to loads that miss the PDE (Page Director… 14 … level TLB misses but second level hits due to loads that did not start a page walk. Account for a… 25 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to any page… 31 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 36 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 2M or … 43 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 48 …"BriefDescription": "Counts the number of page walks completed due to load DTLB misses to a 4K pag… 55 …page walks completed due to loads (including SW prefetches) whose address translations missed in a… 60 …"BriefDescription": "Counts the number of page walks outstanding in the page miss handler (PMH) fo… 67 …scription": "Counts the number of page walks outstanding in the page miss handler (PMH) for loads … [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/sapphirerapids/ |
H A D | virtual-memory.json | 14 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.", 21 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 26 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 32 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 37 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.", 43 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed… 48 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.", 54 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… 59 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.", 65 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/icelakex/ |
H A D | virtual-memory.json | 15 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.", 22 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 28 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 34 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 40 "BriefDescription": "Page walks completed due to a demand data load to a 1G page.", 46 …leted page walks (1G sizes) caused by demand data loads. This implies address translations missed… 52 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.", 58 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… 64 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.", 70 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/goldmontplus/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Page walk completed due to a demand load to a 1GB page", 10 …page walks completed due to demand data loads (including SW prefetches) whose address translations… 15 "BriefDescription": "Page walk completed due to a demand load to a 2M or 4M page", 22 …page walks completed due to demand data loads (including SW prefetches) whose address translations… 27 "BriefDescription": "Page walk completed due to a demand load to a 4K page", 34 …page walks completed due to demand data loads (including SW prefetches) whose address translations… 39 "BriefDescription": "Page walks outstanding due to a demand load every cycle.", 46 …cycle for each page walk occurring due to a load (demand data loads or SW prefetches). Includes cy… 51 "BriefDescription": "Page walk completed due to a demand data store to a 1GB page", 58 …page walks completed due to demand data stores whose address translations missed in the TLB and we… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/tigerlake/ |
H A D | virtual-memory.json | 14 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.", 21 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 26 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 32 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 37 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.", 43 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… 48 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.", 54 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed… 59 … "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.", 65 …"PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Pa… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/icelake/ |
H A D | virtual-memory.json | 15 … "BriefDescription": "Cycles when at least one PMH is busy with a page walk for a demand load.", 22 …ublicDescription": "Counts cycles when at least one PMH (Page Miss Handler) is busy with a page wa… 28 …"BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (All page size… 34 …s completed page walks (all page sizes) caused by demand data loads. This implies it missed in th… 40 "BriefDescription": "Page walks completed due to a demand data load to a 2M/4M page.", 46 …eted page walks (2M/4M sizes) caused by demand data loads. This implies address translations miss… 52 "BriefDescription": "Page walks completed due to a demand data load to a 4K page.", 58 …leted page walks (4K sizes) caused by demand data loads. This implies address translations missed… 64 … "BriefDescription": "Number of page walks outstanding for a demand load in the PMH each cycle.", 70 …"PublicDescription": "Counts the number of page walks outstanding for a demand load in the PMH (Pa… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/haswell/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 8 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.", 23 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks", 28 "PublicDescription": "Number of cache load STLB hits. No page walk.", 38 …vent counts load operations from a 2M page that miss the first DTLB level but hit the second and d… 48 …vent counts load operations from a 4K page that miss the first DTLB level but hit the second and d… 53 …in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page siz… 58 …"PublicDescription": "Completed page walks in any TLB of any page size due to demand load misses.", 63 "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)", 72 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/haswellx/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 8 "PublicDescription": "Misses in all TLB levels that cause a page walk of any page size.", 23 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks", 28 "PublicDescription": "Number of cache load STLB hits. No page walk.", 38 …vent counts load operations from a 2M page that miss the first DTLB level but hit the second and d… 48 …vent counts load operations from a 4K page that miss the first DTLB level but hit the second and d… 53 …in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page siz… 58 …"PublicDescription": "Completed page walks in any TLB of any page size due to demand load misses.", 63 "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)", 72 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/broadwellde/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 9 …n": "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2… 14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 41 …in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page siz… 51 "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)", 57 …unts load misses in all DTLB levels that cause a completed page walk (1G page size). The page wal… 62 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 68 … load misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page … 73 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 79 …unts load misses in all DTLB levels that cause a completed page walk (4K page size). The page walk… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/broadwell/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 9 …n": "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2… 14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 41 …in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page siz… 51 "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)", 57 …unts load misses in all DTLB levels that cause a completed page walk (1G page size). The page wal… 62 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 68 … load misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page … 73 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 79 …unts load misses in all DTLB levels that cause a completed page walk (4K page size). The page walk… [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/broadwellx/ |
H A D | virtual-memory.json | 3 "BriefDescription": "Load misses in all DTLB levels that cause page walks", 9 …n": "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2… 14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.", 41 …in all translation lookaside buffer (TLB) levels causes a page walk that completes of any page siz… 51 "BriefDescription": "Load miss in all TLB levels causes a page walk that completes. (1G)", 57 …unts load misses in all DTLB levels that cause a completed page walk (1G page size). The page wal… 62 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 68 … load misses in all DTLB levels that cause a completed page walk (2M and 4M page sizes). The page … 73 …emand load Miss in all translation lookaside buffer (TLB) levels causes a page walk that completes… 79 …unts load misses in all DTLB levels that cause a completed page walk (4K page size). The page walk… [all …]
|
/freebsd-src/sys/compat/linuxkpi/common/src/ |
H A D | linux_page.c | 86 linux_page_address(struct page *page) in linux_page_address() argument 89 if (page->object != kernel_object) { in linux_page_address() 91 ((void *)(uintptr_t)PHYS_TO_DMAP(page_to_phys(page))) : in linux_page_address() 95 IDX_TO_OFF(page->pindex))); in linux_page_address() 98 struct page * 101 struct page *page; in linux_alloc_pages() local 110 page = vm_page_alloc_noobj(req); in linux_alloc_pages() 111 if (page in linux_alloc_pages() 158 linux_free_pages(struct page * page,unsigned int order) linux_free_pages() argument 203 vm_page_t page; linux_free_kmem() local 302 vm_page_t page; lkpi_vmf_insert_pfn_prot_locked() local 424 vm_page_t page; lkpi_unmap_mapping_range() local 542 vm_page_t page; linuxkpi_page_frag_free() local 549 linuxkpi__page_frag_cache_drain(struct page * page,size_t count __unused) linuxkpi__page_frag_cache_drain() argument [all...] |
/freebsd-src/lib/libc/db/hash/ |
H A D | hash.h | 46 BUFHEAD *ovfl; /* Overflow page buffer header */ 47 u_int32_t addr; /* Address of this page */ 48 char *page; /* Actual page data */ member 65 int32_t bsize; /* Bucket/Page Size */ 72 int32_t last_freed; /* Last overflow page freed */ 84 u_int16_t bitmaps[NCACHED]; /* address of overflow page 99 BUFHEAD *cpage; /* Current page */ 109 u_int32_t *mapp[NCACHED]; /* Pointers to page maps */ 155 * Overflow page numbers are allocated per split point. At each doubling of 156 * the table, we can allocate extra pages. So, an overflow page number has [all …]
|
/freebsd-src/sys/vm/ |
H A D | vm_page.h | 75 * page, indexed by page number. Each structure 88 * and offset to which this page belongs (for pageout), 95 * The queue lock for a page depends on the value of its queue field and is 101 * (B) the page busy lock. 105 * (O) the object that the page belongs to. 106 * (Q) the page's queue lock. 109 * page's contents and identity (i.e., its <object, pindex> tuple) as 111 * the page structure, the busy lock lacks some of the features available 114 * detected, and an attempt to xbusy a busy page o [all...] |
/freebsd-src/lib/libpmc/pmu-events/arch/x86/silvermont/ |
H A D | virtual-memory.json | 13 "BriefDescription": "Total cycles for all the page walks. (I-side and D-side)", 17 …escription": "This event counts every cycle when a data (D) page walk or instruction (I) page walk… 22 "BriefDescription": "Duration of D-side page-walks in core cycles", 26 …(walks due to a load) page walk is in progress. Page walk duration divided by number of page walks… 31 "BriefDescription": "D-side page-walks", 36 …licDescription": "This event counts when a data (D) page walk is completed or started. Since a pa… 41 "BriefDescription": "Duration of I-side page-walks in core cycles", 45 …an instruction fetch) page walk is in progress. Page walk duration divided by number of page walks… 50 "BriefDescription": "I-side page-walks", 55 …iption": "This event counts when an instruction (I) page walk is completed or started. Since a pa… [all …]
|
/freebsd-src/share/man/man9/ |
H A D | vm_page_insert.9 | 33 .Nd "add/remove page from an object" 45 function adds a page to the given object at the given index. 46 The page is added to both the VM page hash table and to the 47 object's list of pages, but the hardware page tables are not updated. 48 In the case of a user page, it will be faulted in when it is 50 If the page is a kernel page, the caller is expected to 51 handle adding the page to the kernel's pmap. 55 is set in the page's flags, 63 function removes the given page from its object, and from the 64 VM page hash table. [all …]
|
/freebsd-src/sys/compat/linuxkpi/common/include/linux/ |
H A D | highmem.h | 47 #include <linux/page.h> 51 static inline struct page * 59 kmap(struct page *page) in kmap() argument 64 return ((void *)PHYS_TO_DMAP(page_to_phys(page))); in kmap() 67 sf = sf_buf_alloc(page, SFB_NOWAIT | SFB_CPUPRIVATE); in kmap() 77 kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument 82 vm_page_lock(page); in kmap_atomic_prot() 83 page->flags |= PG_FICTITIOUS; in kmap_atomic_prot() 84 vm_page_unlock(page); in kmap_atomic_prot() 85 pmap_page_set_memattr(page, attr); in kmap_atomic_prot() [all …]
|