Home
last modified time | relevance | path

Searched +full:page +full:- +full:size (Results 1 – 25 of 1056) sorted by relevance

12345678910>>...43

/freebsd/lib/libc/db/btree/
H A Dbtree.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
36 #define F_SET(p, f) (p)->flags |= (f)
37 #define F_CLR(p, f) (p)->flags &= ~(f)
38 #define F_ISSET(p, f) ((p)->flags & (f))
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.
[all …]
H A Dbt_put.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
48 * __BT_PUT -- Add a btree item to the tree.
66 PAGE *h; in __bt_put()
73 t = dbp->internal; in __bt_put()
75 /* Toss any page pinned across calls. */ in __bt_put()
76 if (t->bt_pinned != NULL) { in __bt_put()
77 mpool_put(t->bt_mp, t->bt_pinned, 0); in __bt_put()
78 t->bt_pinned = NULL; in __bt_put()
81 /* Check for change to a read-only tree. */ in __bt_put()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dmm.h1 /*-
5 * Copyright (c) 2013-2017 Mellanox Technologies, Ltd.
44 #include <linux/page.h>
54 CTASSERT((VM_PROT_ALL & -(1 << 8)) == 0);
134 /* user-space address */
138 struct page *page; member
150 uint64_t totalram; /* Total usable main memory size */
151 uint64_t freeram; /* Available memory size */
152 uint64_t totalhigh; /* Total high memory size */
153 uint64_t freehigh; /* Available high memory size */
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/
H A Dbtree.h1 /*-
40 #define F_SET(p, f) (p)->flags |= (f)
41 #define F_CLR(p, f) (p)->flags &= ~(f)
42 #define F_ISSET(p, f) ((p)->flags & (f))
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. */
[all …]
H A Dbt_put.c1 /*-
48 #include "db-int.h"
54 * __BT_PUT -- Add a btree item to the tree.
76 PAGE *h;
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);
88 t->bt_pinned = NULL;
91 /* Check for change to a read-only tree. */
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dabd_os.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
121 * contiguous multi-page chunks, a single chunk is optimal.
159 * zfs_abd_scatter_min_size is the minimum allocation size to use scatter
163 * Scatter ABD's use at least one page each, so sub-page allocations waste
165 * half of each page). Using linear ABD's for small allocations means that
171 * possible for them to actually waste more memory than scatter (one page per
175 * selinux with the default dnode size and the `xattr=sa` property set.
184 * just a single zero'd page. This allows us to conserve memory by
185 * only using a single zero page for the scatterlist.
[all …]
/freebsd/share/doc/papers/malloc/
H A Dimplementation.ms2 .\" ----------------------------------------------------------------------------
3 .\" "THE BEER-WARE LICENSE" (Revision 42):
6 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
7 .\" ----------------------------------------------------------------------------
20 .I page-directory
23 for each page we have control over.
33 This is a free page.
36 This is the first page in a (multi-)page allocation.
39 This is a subsequent page in a multi-page allocation.
44 A pointer to a structure describing a partitioned page.
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_page.c1 /*-
67 #include <linux/io-mapping.h>
78 si->totalram = physmem; in si_meminfo()
79 si->freeram = vm_free_count(); in si_meminfo()
80 si->totalhigh = 0; in si_meminfo()
81 si->freehigh = 0; in si_meminfo()
82 si->mem_unit = PAGE_SIZE; in si_meminfo()
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()
[all …]
/freebsd/sys/x86/iommu/
H A Dintel_idpgtbl.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 iommu_gaddr_t base, iommu_gaddr_t size, int flags,
77 * The cache of the identity mapping page tables for the DMARs. Using
78 * the cache saves significant amount of memory for page tables by
79 * reusing the page tables, since usually DMARs are identical and have
81 * to match DMAR capabilities and page table format, to correctly
86 iommu_gaddr_t maxaddr; /* Page table covers the guest address
88 int pglvl; /* Total page table levels ignoring
90 int leaf; /* The last materialized page table
[all …]
/freebsd/share/doc/usd/21.troff/
H A Dm51 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
76 The Compatible Time-Sharing System,
85 as page margins and footnotes
89 environment switching, page-position trap, and conditional input mechanisms
90 provide the basis for user-defined implementations.
104 Page Margins
108 to describe the top and bottom page margin areas respectively.
109 A trap is planted at page position 0 for the header, and at
110 \fI\-N\fR (\fIN\fR from the page bottom) for the footer.
120 &wh \-1i fo
[all …]
H A Dm11 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
61 a user-defined \fImacro\fR in place of the control line.
80 or left-parenthesis-introduced, two-character name as in \fB\en(\fIxx\fR.
91 typewriter-like output devices.
104 \fIS\fR is the current type size in points,
128 which is output-device dependent;
131 such as \(mi> (\(->) are often extra wide.
132 The default scaling is ems for the horizontally-oriented requests
145 for the vertically-oriented requests and functions
170 The number, \fIN\fR, may be specified in decimal-fraction form
[all …]
/freebsd/lib/libc/db/hash/
H A Dhash_page.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
39 * Page manipulation for hashing package.
64 #include "un-namespace.h"
69 #include "page.h"
82 ((u_int16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(u_int16_t); \
83 ((u_int16_t *)(P))[2] = hashp->BSIZE; \
87 * This is called AFTER we have verified that there is room on the page for
101 off = OFFSET(bp) - key->size; in putpair()
102 memmove(p + off, key->data, key->size); in putpair()
[all …]
H A Dhash_bigkey.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
66 #include "page.h"
79 *-1 ==> ERROR
90 cp = bufp->page; /* Character pointer of p. */ in __big_insert()
93 key_data = (char *)key->data; in __big_insert()
94 key_size = key->size; in __big_insert()
95 val_data = (char *)val->data; in __big_insert()
96 val_size = val->size; in __big_insert()
99 for (space = FREESPACE(p) - BIGOVERHEAD; key_size; in __big_insert()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/perf/
H A Dmarvell-cn10k-tad.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/perf/marvell-cn10k-tad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Marvell CN10K LLC-TAD performance monitor
10 - Bhaskara Budiredla <bbudiredla@marvell.com>
13 The Tag-and-Data units (TADs) maintain coherence and contain CN10K
14 shared on-chip last level cache (LLC). The tad pmu measures the
15 performance of last-level cache. Each tad pmu supports up to eight
23 const: marvell,cn10k-tad-pmu
[all …]
/freebsd/share/doc/usd/22.trofftut/
H A Dtt094 .\" Copyright (C) Caldera International Inc. 2001-2002. All rights reserved.
49 Suppose you want a title at the top of each page,
63 to get headers and footers automatically on every page.
76 (for `new page') to process
77 titles and the like at the end of one page
87 To make sure we're at the top of a page,
88 we issue a `begin page' command
90 which causes a skip to top-of-page
104 at the bottom of each page,
107 of the bottom of the page,
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/amdzen1/
H A Dmemory.json11 …n": "Counts the number of operations dispatched to the LS unit. Unit Masks ADDed. Load-op-Stores.",
34 …esses, although these are generally rare. Each increment represents an eight-byte access, although…
39 "BriefDescription": "LS MAB allocates by type - DC prefetcher.",
45 "BriefDescription": "LS MAB allocates by type - stores.",
51 "BriefDescription": "LS MAB allocates by type - loads.",
63 "BriefDescription": "L1 DTLB Miss of a page of 1G size.",
69 "BriefDescription": "L1 DTLB Miss of a page of 2M size.",
75 "BriefDescription": "L1 DTLB Miss of a page of 32K size.",
81 "BriefDescription": "L1 DTLB Miss of a page of 4K size.",
87 "BriefDescription": "L1 DTLB Reload of a page of 1G size.",
[all …]
/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dpages.h4 /* Page size. LG_PAGE is determined by the configure script. */
8 #define PAGE ((size_t)(1U << LG_PAGE)) macro
9 #define PAGE_MASK ((size_t)(PAGE - 1))
10 /* Return the page base address for the page containing address a. */
17 /* Huge page size. LG_HUGEPAGE is determined by the configure script. */
19 #define HUGEPAGE_MASK ((size_t)(HUGEPAGE - 1))
20 /* Return the huge page base address for the huge page containing address a. */
34 * The only supported way to hard-purge on Windows is to decommit and then
35 * re-commit, but doing so is racy, and if re-commit fails it's a pain to
75 void *pages_map(void *addr, size_t size, size_t alignment, bool *commit);
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/ivytown/
H A Dvirtual-memory.json3 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
12 "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
21 "BriefDescription": "Page walk for a large page completed for Demand load.",
30 … load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
35 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
40 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
50 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
55 …"PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by dema…
60 "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
70 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/broadwellde/
H A Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …: "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2M/…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
41 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
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 Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …: "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2M/…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
41 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
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 Dvirtual-memory.json3 "BriefDescription": "Load misses in all DTLB levels that cause page walks",
9 …: "This event counts load misses in all DTLB levels that cause page walks of any page size (4K/2M/…
14 …: "Load operations that miss the first DTLB level but hit the second and do not cause page walks.",
41 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
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/crypto/krb5/src/plugins/kdb/db2/libdb2/man/
H A Ddb_mpool.337 db_mpool \- general purpose shared memory buffer pool
92 function is the library interface intended to provide general-purpose,
93 page-oriented buffer management of one or more files.
100 Pages in the pool are replaced in LRU (least-recently-used) order,
101 with each new page replacing the page which has been unused the longest.
113 argument specifies the size of the pool in bytes,
114 and should be the size of the normal working set of the application with
160 argument is the size, in bytes, of the unit of transfer between the
163 Applications not knowing the page size of the source file should
164 retrieve the metadata from the file using a page size that is correct
[all …]
/freebsd/lib/libpmc/pmu-events/arch/x86/ivybridge/
H A Dvirtual-memory.json3 "BriefDescription": "Page walk for a large page completed for Demand load.",
12 … load Miss in all translation lookaside buffer (TLB) levels causes an page walk of any page size.",
17 …"PublicDescription": "Misses in all TLB levels that cause a page walk of any page size from demand…
22 …": "Load operations that miss the first DTLB level but hit the second and do not cause page walks",
32 … all translation lookaside buffer (TLB) levels causes a page walk that completes of any page size.…
37 …"PublicDescription": "Misses in all TLB levels that caused page walk completed of any size by dema…
42 "BriefDescription": "Demand load cycles page miss handler (PMH) is busy with this walk.",
52 "BriefDescription": "Store misses in all DTLB levels that cause page walks",
57 … "PublicDescription": "Miss in all TLB levels causes a page walk of any page size (4K/2M/4M/1G).",
62 …": "Store operations that miss the first TLB level but hit the second and do not cause page walks",
[all …]
/freebsd/lib/libc/db/man/
H A Dbtree.346 this manual page describes only the
62 .Bd -literal
76 .Bl -tag -width indent
81 .Bl -tag -width indent
112 A suggested maximum size (in bytes) of the memory cache.
116 Since every search examines the root page of the tree, caching the most
124 is 0 (no size is specified) a default cache is used.
126 The maximum number of keys which will be stored on any single page.
128 .\" The maximum number of keys which will be stored on any single page.
136 .\" is 0 (no maximum number of keys is specified) the page fill factor is
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DUnwindInfoSection.cpp1 //===- UnwindInfoSection.cpp ----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
26 #include "mach-o/compact_unwind_encoding.h"
42 ((SECOND_LEVEL_PAGE_BYTES - \
46 ((SECOND_LEVEL_PAGE_BYTES - \
61 // Compact Unwind format is a Mach-O evolution of DWARF Unwind that
62 // optimizes space and exception-time lookup. Most DWARF unwind
66 // This comment will address macro-level organization of the pre-link
67 // and post-link compact unwind tables. For micro-level organization
[all …]

12345678910>>...43