/freebsd-10-stable/sys/i386/include/ |
H A D | privatespace.h | 40 char __filler0[PAGE_SIZE - sizeof(struct pcpu)]; 43 char idlekstack[KSTACK_PAGES * PAGE_SIZE];
|
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))
|
H A D | proc.h | 68 (total) = td->td_kstack_pages * PAGE_SIZE; \ 70 td->td_kstack_pages * PAGE_SIZE - \
|
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | param.h | 35 #define PAGESIZE PAGE_SIZE
|
/freebsd-10-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))) 144 #define pgtok(x) ((unsigned long)(x) * (PAGE_SIZE / 1024))
|
H A D | proc.h | 65 (total) = td->td_kstack_pages * PAGE_SIZE; \ 67 td->td_kstack_pages * PAGE_SIZE - \
|
/freebsd-10-stable/sys/ia64/include/ |
H A D | param.h | 97 #define PAGE_SIZE (1<<(LOG2_PAGE_SIZE)) macro 98 #define PAGE_MASK (PAGE_SIZE-1) 99 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 122 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-10-stable/contrib/binutils/bfd/hosts/ |
H A D | i386bsd.h | 8 #ifdef PAGE_SIZE 9 #define NBPG PAGE_SIZE
|
/freebsd-10-stable/sys/ofed/include/linux/ |
H A D | page.h | 44 #define clear_page(page) memset((page), 0, PAGE_SIZE) 49 #define PAGE_MASK (~(PAGE_SIZE-1))
|
/freebsd-10-stable/sys/powerpc/include/ |
H A D | proc.h | 63 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \ 65 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 (vm_offset_t)(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-10-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-10-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-10-stable/sys/arm/include/ |
H A D | param.h | 111 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ macro 112 #define PAGE_MASK (PAGE_SIZE - 1) 113 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 134 #define USPACE_SVC_STACK_TOP (KSTACK_PAGES * PAGE_SIZE) 150 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-10-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-10-stable/sys/boot/sparc64/loader/ |
H A D | locore.S | 20 #define PAGE_SIZE 8192 define 23 #define STACK_SIZE (2 * PAGE_SIZE)
|
/freebsd-10-stable/sys/sparc64/include/ |
H A D | proc.h | 63 (total) = td->td_kstack_pages * PAGE_SIZE - sizeof(struct pcb); \ 65 td->td_kstack_pages * PAGE_SIZE - \
|
/freebsd-10-stable/sys/amd64/vmm/amd/ |
H A D | svm_softc.h | 32 #define SVM_IO_BITMAP_SIZE (3 * PAGE_SIZE) 33 #define SVM_MSR_BITMAP_SIZE (2 * PAGE_SIZE) 53 } __aligned(PAGE_SIZE); 59 uint8_t apic_page[VM_MAXCPU][PAGE_SIZE];
|
/freebsd-10-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))) 165 * The kernel stack needs to be aligned on a (PAGE_SIZE * 2) boundary. 179 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-10-stable/usr.sbin/bhyve/ |
H A D | bootrom.c | 76 if (sbuf.st_size > MAX_BOOTROM_SIZE || sbuf.st_size < PAGE_SIZE) { 98 for (i = 0; i < sbuf.st_size / PAGE_SIZE; i++) { 99 rlen = read(fd, ptr + i * PAGE_SIZE, PAGE_SIZE); 100 if (rlen != PAGE_SIZE) {
|
/freebsd-10-stable/sys/arm/cavium/cns11xx/ |
H A D | econa_machdep.c | 91 /* this should be evenly divisable by PAGE_SIZE / L2_TABLE_SIZE_REAL (or 4) */ 193 freemempos += (np * PAGE_SIZE); \ 194 memset((char *)(var), 0, ((np) * PAGE_SIZE)); 197 freemempos += PAGE_SIZE; 198 valloc_pages(kernel_l1pt, L1_TABLE_SIZE / PAGE_SIZE); 200 if (!(loop % (PAGE_SIZE / L2_TABLE_SIZE_REAL))) { 202 L2_TABLE_SIZE / PAGE_SIZE); 205 (loop % (PAGE_SIZE / L2_TABLE_SIZE_REAL)) * 224 valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); 240 (((uint32_t)lastaddr - KERNBASE) + PAGE_SIZE) [all...] |
/freebsd-10-stable/sys/arm/xscale/i8134x/ |
H A D | crb_machdep.c | 106 /* this should be evenly divisable by PAGE_SIZE / L2_TABLE_SIZE_REAL (or 4) */ 190 freemempos -= (np * PAGE_SIZE); \ 192 memset((char *)(var), 0, ((np) * PAGE_SIZE)); 195 freemempos -= PAGE_SIZE; 196 valloc_pages(kernel_l1pt, L1_TABLE_SIZE / PAGE_SIZE); 198 if (!(loop % (PAGE_SIZE / L2_TABLE_SIZE_REAL))) { 200 L2_TABLE_SIZE / PAGE_SIZE); 203 (loop % (PAGE_SIZE / L2_TABLE_SIZE_REAL)) * 219 valloc_pages(dpcpu, DPCPU_SIZE / PAGE_SIZE); 227 valloc_pages(msgbufpv, round_page(msgbufsize) / PAGE_SIZE); [all...] |
/freebsd-10-stable/sys/mips/mips/ |
H A D | minidump_machdep.c | 68 static char tmpbuffer[PAGE_SIZE]; 120 maxdumpsz = PAGE_SIZE; 179 ptesize += PAGE_SIZE; 195 for (pa = 0; pa < phys_avail[0]; pa += PAGE_SIZE) { 210 bit) * PAGE_SIZE; 213 dumpsize += PAGE_SIZE; 220 dumpsize += PAGE_SIZE; 257 error = write_buffer(di, tmpbuffer, PAGE_SIZE); 282 if ((vm_offset_t)pte == (prev_pte + count * PAGE_SIZE)) 286 count * PAGE_SIZE); [all...] |