Lines Matching refs:PAGE
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,
105 expect_u64_eq(pdirty, expected / PAGE,
106 "Unexpected dirty page amount.");
112 expect_u64_eq(pmuzzy, expected / PAGE,
113 "Unexpected muzzy page amount.");
125 size_t sz1 = PAGE, sz2 = PAGE * 2;
171 (sz1 + sz2 + 2 * add_guard_size) / PAGE,