| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| sec_opts.h | 49 (32 * 1024) < PAGE ? PAGE : (32 * 1024), \
|
| san.h | 7 #define SAN_PAGE_GUARD PAGE 53 assert(size % PAGE == 0); 60 assert(size % PAGE == 0); 66 assert(size % PAGE == 0); 73 assert(size % PAGE == 0); 101 if (n == 1 && (alignment <= PAGE) && 147 * likely-untouched page (default settings w/ 4K pages). However by
|
| pages.h | 4 /* Page size. LG_PAGE is determined by the configure script. */ 8 #define PAGE ((size_t)(1U << LG_PAGE)) 9 #define PAGE_MASK ((size_t)(PAGE - 1)) 10 /* Return the page base address for the page containing address a. */ 20 /* Huge page size. LG_HUGEPAGE is determined by the configure script. */ 25 # define HUGEPAGE_PAGES (HUGEPAGE / PAGE) 37 /* Return the huge page base address for the huge page containing address a. */
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| sec_opts.h | 49 (32 * 1024) < PAGE ? PAGE : (32 * 1024), \
|
| san.h | 7 #define SAN_PAGE_GUARD PAGE 53 assert(size % PAGE == 0); 60 assert(size % PAGE == 0); 66 assert(size % PAGE == 0); 73 assert(size % PAGE == 0); 101 if (n == 1 && (alignment <= PAGE) && 147 * likely-untouched page (default settings w/ 4K pages). However by
|
| pages.h | 4 /* Page size. LG_PAGE is determined by the configure script. */ 8 #define PAGE ((size_t)(1U << LG_PAGE)) 9 #define PAGE_MASK ((size_t)(PAGE - 1)) 10 /* Return the page base address for the page containing address a. */ 20 /* Huge page size. LG_HUGEPAGE is determined by the configure script. */ 25 # define HUGEPAGE_PAGES (HUGEPAGE / PAGE) 37 /* Return the huge page base address for the huge page containing address a. */
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| hpdata.c | 10 /* Allocating a page at a time, we should do first fit. */ 15 void *alloc = hpdata_reserve_alloc(&hpdata, PAGE); 16 expect_ptr_eq((char *)HPDATA_ADDR + i * PAGE, alloc, ""); 27 hpdata_unreserve(&hpdata, (char *)HPDATA_ADDR + 10 * PAGE, 2 * PAGE); 31 hpdata_unreserve(&hpdata, (char *)HPDATA_ADDR + 12 * PAGE, 2 * PAGE); 35 hpdata_unreserve(&hpdata, (char *)HPDATA_ADDR + 8 * PAGE, 2 * PAGE); 40 * Leave page 14 reserved, but free page 15 (this test the case wher [all...] |
| sc.c | 10 size_t pgs_too_big = (tiny_size * BITMAP_MAXBITS + PAGE - 1) / PAGE + 1; 14 sc_data_update_slab_size(&data, 1, 10 * PAGE, 1); 19 if (reg_size <= PAGE) { 20 expect_d_eq(sc->pgs, 1, "Ignored valid page size hint"); 23 "Allowed invalid page size hint");
|
| sec.c | 143 ta->next_ptr = 10 * PAGE; 168 * 11 allocs apiece of 1-PAGE and 2-PAGE objects means that we should be 178 test_sec_init(&sec, &ta.pai, /* nshards */ 1, /* max_alloc */ 2 * PAGE, 179 /* max_bytes */ 2 * (NALLOCS * PAGE + NALLOCS * 2 * PAGE)); 181 one_page[i] = pai_alloc(tsdn, &sec.pai, PAGE, PAGE, 185 two_page[i] = pai_alloc(tsdn, &sec.pai, 2 * PAGE, PAGE, [all...] |
| pages.c | 8 alloc_size = HUGEPAGE * 2 - PAGE; 10 pages = pages_map(NULL, alloc_size, PAGE, &commit);
|
| san_bump.c | 21 size_t alloc_size = PAGE * 16; 42 size_t alloc_size2 = PAGE * 28; 63 expect_zu_ge(between_allocs, PAGE, 64 "Guard page between allocs is missing"); 100 for (unsigned i = 0; i < alloc_size / PAGE; ++i) { 101 *((char *)ptr + PAGE * i) = 1;
|
| san.c | 17 * This test allocates page sized slabs and checks that every two slabs have 18 * at least one page in between them. That page is supposed to be the guard 19 * page. 29 size_t slab_sz = PAGE; 37 if ((uintptr_t)ptr % PAGE == 0) { 39 "Unexpectedly large number of page aligned allocs"); 42 if (((uintptr_t)ptr + (uintptr_t)sz) % PAGE == 0) { 59 expect_zu_ge((size_t)ptr_diff, slab_sz + PAGE, 90 expect_zu_ge((size_t)ptr_diff, large_sz + 2 * PAGE, [all...] |
| sz.c | 5 * Testing page size classes which reside prior to the regular group 6 * with all size classes divisible by page size. 11 for (size_t psz = i * PAGE + 1; psz <= (i + 1) * PAGE; psz++) { 23 * divisible by page size. 40 * increment is PAGE / 3 for the execution speed purpose. 43 for (size_t psz = base_psz; psz <= 64 * 1024 * 1024; psz += PAGE / 3) {
|
| hpa.c | 84 edata = pai_alloc(tsdn, &shard->pai, ALLOC_MAX, PAGE, false, false, 87 edata = pai_alloc(tsdn, &shard->pai, ALLOC_MAX + PAGE, PAGE, false, 188 size_t npages_max = ALLOC_MAX / PAGE; 192 npages * PAGE, PAGE, false, false, false, 243 + i * PAGE; 266 allocs[i] = pai_alloc(tsdn, &shard->pai, PAGE, PAGE, 273 size_t nsuccess = pai_alloc_batch(tsdn, &shard->pai, PAGE, NALLOCS / 2 [all...] |
| psset.c | 116 err = test_psset_alloc_reuse(&psset, &alloc, PAGE); 133 test_psset_alloc_new(&psset, &pageslab, &alloc[0], PAGE); 136 err = test_psset_alloc_reuse(&psset, &alloc[i], PAGE); 137 expect_false(err, "Nonempty psset failed page allocation."); 148 err = test_psset_alloc_reuse(&psset, &extra_alloc, PAGE); 166 test_psset_alloc_new(&psset, &pageslab, &alloc[0], PAGE); 169 err = test_psset_alloc_reuse(&psset, &alloc[i], PAGE); 170 expect_false(err, "Nonempty psset failed page allocation."); 186 err = test_psset_alloc_reuse(&psset, &alloc[i], PAGE); 187 expect_false(err, "Nonempty psset failed page allocation.") [all...] |
| /src/lib/libc/db/btree/ |
| extern.h | 42 int __bt_dleaf(BTREE *, const DBT *, PAGE *, unsigned int); 44 int __bt_free(BTREE *, PAGE *); 46 PAGE *__bt_new(BTREE *, pgno_t *); 51 int __bt_relink(BTREE *, PAGE *); 56 int __bt_split(BTREE *, PAGE *, 65 void __bt_dmpage(PAGE *); 67 void __bt_dpage(PAGE *);
|
| bt_page.c | 50 * Put a page on the freelist. 54 * h: page to free 60 * mpool_put's the page. 63 __bt_free(BTREE *t, PAGE *h) 65 /* Insert the page at the head of the free list. */ 71 /* Make sure the page gets written back. */ 77 * Get a new page, preferably from the freelist. 81 * npg: storage for page number. 84 * Pointer to a page, NULL on error. 86 PAGE * [all...] |
| bt_split.c | 54 static int bt_broot(BTREE *, PAGE *, PAGE *, PAGE *); 55 static PAGE *bt_page(BTREE *, PAGE *, PAGE **, PAGE **, indx_t *, size_t); 57 static PAGE *bt_psplit(BTREE *, PAGE *, PAGE *, PAGE *, indx_t *, size_t) [all...] |
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| pages.c | 8 alloc_size = HUGEPAGE * 2 - PAGE; 10 pages = pages_map(NULL, alloc_size, PAGE, &commit);
|
| /src/external/bsd/jemalloc/dist/src/ |
| extent_mmap.c | 23 assert(alignment == ALIGNMENT_CEILING(alignment, PAGE));
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| extent_mmap.c | 25 PAGE), commit);
|
| /src/external/gpl2/groff/font/devlbp/ |
| Makefile | 18 if test "${PAGE}" = A4; then \
|
| /src/lib/libc/db/recno/ |
| extern.h | 38 int __rec_dleaf(BTREE *, PAGE *, uint32_t);
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| pages.h | 4 /* Page size. LG_PAGE is determined by the configure script. */ 8 #define PAGE ((size_t)(1U << LG_PAGE)) 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. */ 20 /* Return the huge page base address for the huge page containing address a. */
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| pages.h | 4 /* Page size. LG_PAGE is determined by the configure script. */ 8 #define PAGE ((size_t)(1U << LG_PAGE)) 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. */ 20 /* Return the huge page base address for the huge page containing address a. */
|