/freebsd/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/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/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/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/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/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/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/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/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/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/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/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/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_split.c | 51 static int bt_broot __P((BTREE *, PAGE *, PAGE *, PAGE *)); 52 static PAGE *bt_page 53 __P((BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t)); 55 static PAGE *bt_psplit 56 __P((BTREE *, PAGE *, PAGE *, PAGE *, indx_t *, size_t)); 57 static PAGE *bt_root 58 __P((BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t)); 59 static int bt_rroot __P((BTREE *, PAGE *, PAGE *, PAGE *)); 60 static recno_t rec_total __P((PAGE *)); 71 * sp: page to split [all …]
|
H A D | btree.h | 46 #define DEFMINKEYPAGE (2) /* Minimum keys per page */ 48 #define MINPSIZE (512) /* Minimum page size */ 51 * Page 0 of a btree file contains a copy of the meta-data. This page is also 52 * used as an out-of-band page, i.e. page pointers that point to nowhere point 53 * to page 0. Page 1 is the root of the btree. 55 #define P_INVALID 0 /* Invalid tree page number. */ 56 #define P_META 0 /* Tree metadata page number. */ 57 #define P_ROOT 1 /* Tree root page number. */ 60 * There are five page layouts in the btree: btree internal pages (BINTERNAL), 62 * (RLEAF) and overflow pages. All five page types have a page header (PAGE). [all …]
|
/freebsd/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/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/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/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 page->flags |= PG_FICTITIOUS; in kmap_atomic_prot() 83 pmap_page_set_memattr(page, attr); in kmap_atomic_prot() 85 return (kmap(page)); in kmap_atomic_prot() 89 kmap_atomic(struct page *page) in kmap_atomic() argument [all …]
|
/freebsd/sys/vm/ |
H A D | vm_page.h | 75 * page, indexed by page number. Each structure 84 * and offset to which this page belongs (for pageout), 91 * The queue lock for a page depends on the value of its queue field and is 97 * (B) the page busy lock. 101 * (O) the object that the page belongs to. 102 * (Q) the page's queue lock. 105 * page's contents and identity (i.e., its <object, pindex> tuple) as 107 * the page structure, the busy lock lacks some of the features available 110 * detected, and an attempt to xbusy a busy page or sbusy an xbusy page 112 * vm_page_sleep_if_busy() can be used to sleep until the page's busy [all …]
|
/freebsd/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/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/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/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/sys/compat/linuxkpi/common/src/ |
H A D | linux_page.c | 86 linux_page_address(const 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 == NULL) in linux_alloc_pages() 117 page = vm_page_alloc_noobj_contig(req, npages, 0, pmax, in linux_alloc_pages() 119 if (page == NULL) { in linux_alloc_pages() [all …]
|