/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_pagelist.h | 37 #ifndef PAGE_SIZE 38 #define PAGE_SIZE 4096 macro
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | pfn.h | 38 #define PFN_ALIGN(x) (((unsigned long)(x) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) 39 #define PFN_UP(x) (((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
|
H A D | page.h | 76 #define clear_page(page) memset(page, 0, PAGE_SIZE) 83 #define PAGE_MASK (~(PAGE_SIZE-1)) 90 #define btoc(x) (((vm_offset_t)(x) + PAGE_SIZE - 1) >> PAGE_SHIFT) 92 #define round_page(x) ((((uintptr_t)(x)) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) 94 #define trunc_page(x) ((uintptr_t)(x) & ~(PAGE_SIZE - 1))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/ |
H A D | chkstk.S | 20 #define PAGE_SIZE 4096 define 27 sub x17, x17, #PAGE_SIZE 28 subs x16, x16, #PAGE_SIZE
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/arm/ |
H A D | chkstk.S | 19 #define PAGE_SIZE 4096 define 28 sub r12, r12, #PAGE_SIZE 29 subs r5, r5, #PAGE_SIZE
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | param.h | 35 #define PAGESIZE PAGE_SIZE
|
/freebsd-11-stable/contrib/binutils/bfd/hosts/ |
H A D | i386bsd.h | 8 #ifdef PAGE_SIZE 9 #define NBPG PAGE_SIZE
|
/freebsd-11-stable/sys/amd64/include/ |
H A D | param.h | 96 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 98 #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */ 99 #define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */ macro 100 #define PAGE_MASK (PAGE_SIZE-1) 102 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 108 #define NPDPEPG (PAGE_SIZE/(sizeof (pdp_entry_t))) 114 #define NPML4EPG (PAGE_SIZE/(sizeof (pml4_entry_t))) 128 #define IOPERM_BITMAP_SIZE (IOPAGES * PAGE_SIZE + 1) 150 #define pgtok(x) ((unsigned long)(x) * (PAGE_SIZE / 1024))
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | proc.h | 62 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \ 64 td->td_kstack_pages * PAGE_SIZE - \
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | proc.h | 70 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \ 72 td->td_kstack_pages * PAGE_SIZE - \
|
H A D | param.h | 100 #define PAGE_SIZE (1L << PAGE_SHIFT) /* Page size */ macro 101 #define PAGE_MASK (PAGE_SIZE - 1) 102 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 114 #define USPACE (kstack_pages * PAGE_SIZE) /* total size of pcb */ 128 #define pgtok(x) ((x) * (PAGE_SIZE / 1024UL))
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_buffer.h | 55 return buf->iterator / PAGE_SIZE; 62 return buf->iterator & (PAGE_SIZE - 1); 124 * multiples of dword and PAGE_SIZE is multiple dword. 134 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)]; 148 return &buffer->data[iter / PAGE_SIZE][iter & (PAGE_SIZE - 1)];
|
H A D | drm_buffer.c | 48 int nr_pages = size / PAGE_SIZE + 1; 68 malloc(min(PAGE_SIZE, size - idx * PAGE_SIZE), 107 int nr_pages = size / PAGE_SIZE + 1; 120 (char *)user_data + idx * PAGE_SIZE, 121 min(PAGE_SIZE, size - idx * PAGE_SIZE))) { 142 int nr_pages = buf->size / PAGE_SIZE + 1; 171 if (idx + objsize <= PAGE_SIZE) { 175 int beginsz = PAGE_SIZE [all...] |
/freebsd-11-stable/lib/libc/tests/string/ |
H A D | stpncpy_test.c | 43 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; 48 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 49 return (buf + alloc_size - PAGE_SIZE - len); 51 assert(munmap(buf, PAGE_SIZE) == 0); 52 return (buf + PAGE_SIZE);
|
H A D | wcsnlen_test.c | 44 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; 49 ATF_CHECK(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 50 return (buf + alloc_size - PAGE_SIZE - len); 52 ATF_CHECK(munmap(buf, PAGE_SIZE) == 0); 53 return (buf + PAGE_SIZE);
|
/freebsd-11-stable/sys/compat/cloudabi/ |
H A D | cloudabi_vdso.c | 53 pages = howmany(vdso_length, PAGE_SIZE); 54 pages_length = pages * PAGE_SIZE; 59 addr = kva_alloc(PAGE_SIZE); 67 memcpy((void *)addr, begin + i * PAGE_SIZE, 68 MIN(vdso_length - i * PAGE_SIZE, PAGE_SIZE)); 71 kva_free(addr, PAGE_SIZE);
|
/freebsd-11-stable/sys/i386/include/ |
H A D | param.h | 88 #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */ 89 #define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */ macro 90 #define PAGE_MASK (PAGE_SIZE-1) 91 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 105 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 163 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-11-stable/sys/riscv/include/ |
H A D | param.h | 82 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ macro 83 #define PAGE_MASK (PAGE_SIZE - 1) 106 #define pgtok(x) ((unsigned long)(x) * (PAGE_SIZE / 1024))
|
/freebsd-11-stable/contrib/netbsd-tests/modules/ |
H A D | t_abi_uvm.sh | 28 atf_test_case PAGE_SIZE cleanup 30 atf_set "descr" "Ensures that modules have access to PAGE_SIZE" 57 echo "Kernel PAGE_SIZE: ${kernel_pagesize}" 58 echo "Module PAGE_SIZE: ${module_pagesize}" 69 atf_add_test_case PAGE_SIZE
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | proc.h | 70 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \ 72 td->td_kstack_pages * PAGE_SIZE - \
|
/freebsd-11-stable/stand/sparc64/loader/ |
H A D | locore.S | 20 #define PAGE_SIZE 8192 define 23 #define STACK_SIZE (2 * PAGE_SIZE)
|
/freebsd-11-stable/sys/arm/include/ |
H A D | param.h | 112 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ macro 113 #define PAGE_MASK (PAGE_SIZE - 1) 134 #define USPACE_SVC_STACK_TOP (kstack_pages * PAGE_SIZE) 150 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-11-stable/sys/amd64/vmm/amd/ |
H A D | svm_softc.h | 34 #define SVM_IO_BITMAP_SIZE (3 * PAGE_SIZE) 35 #define SVM_MSR_BITMAP_SIZE (2 * PAGE_SIZE) 55 } __aligned(PAGE_SIZE); 61 uint8_t apic_page[VM_MAXCPU][PAGE_SIZE];
|
/freebsd-11-stable/sys/mips/include/ |
H A D | param.h | 131 #define PAGE_SHIFT 12 /* LOG2(PAGE_SIZE) */ 132 #define PAGE_SIZE (1<<PAGE_SHIFT) /* bytes/page */ macro 133 #define PAGE_MASK (PAGE_SIZE-1) 135 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 136 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 167 * The kernel stack needs to be aligned on a (PAGE_SIZE * 2) boundary. 181 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | bootrom.c | 78 if (sbuf.st_size > MAX_BOOTROM_SIZE || sbuf.st_size < PAGE_SIZE) { 100 for (i = 0; i < sbuf.st_size / PAGE_SIZE; i++) { 101 rlen = read(fd, ptr + i * PAGE_SIZE, PAGE_SIZE); 102 if (rlen != PAGE_SIZE) {
|