/freebsd-10.1-release/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))) 158 #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.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | param.h | 35 #define PAGESIZE PAGE_SIZE
|
H A D | systm.h | 39 #define PAGESIZE PAGE_SIZE
|
/freebsd-10.1-release/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.1-release/tools/regression/lib/libc/string/ |
H A D | test-wcsnlen.c | 42 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; 47 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 48 return (buf + alloc_size - PAGE_SIZE - len); 50 assert(munmap(buf, PAGE_SIZE) == 0); 51 return (buf + PAGE_SIZE);
|
H A D | test-stpncpy.c | 41 size_t alloc_size = roundup2(len, PAGE_SIZE) + PAGE_SIZE; 46 assert(munmap(buf + alloc_size - PAGE_SIZE, PAGE_SIZE) == 0); 47 return (buf + alloc_size - PAGE_SIZE - len); 49 assert(munmap(buf, PAGE_SIZE) == 0); 50 return (buf + PAGE_SIZE);
|
/freebsd-10.1-release/tools/regression/mmap/ |
H A D | mmap.c | 43 { (void *)(PAGE_SIZE - 1), { 0, 0 } }, 44 { (void *)PAGE_SIZE, { 1, 1 } }, 46 { (void *)(-PAGE_SIZE), { 0, 0 } }, 47 { (void *)(-1 - PAGE_SIZE), { 0, 0 } }, 48 { (void *)(-1 - PAGE_SIZE - 1), { 0, 0 } }, 49 { (void *)(0x1000 * PAGE_SIZE), { 1, 1 } }, 74 p = mmap((void *)tests[i].addr, PAGE_SIZE,
|
/freebsd-10.1-release/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.1-release/contrib/binutils/bfd/hosts/ |
H A D | i386bsd.h | 8 #ifdef PAGE_SIZE 9 #define NBPG PAGE_SIZE
|
/freebsd-10.1-release/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))
|
H A D | gfp.h | 69 return kmem_malloc(kmem_arena, PAGE_SIZE, mask); 82 kmem_free(kmem_arena, page, PAGE_SIZE); 92 kmem_free(kmem_arena, (vm_offset_t)page_address(m), PAGE_SIZE); 102 size = PAGE_SIZE << order; 117 size = PAGE_SIZE << order;
|
/freebsd-10.1-release/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.1-release/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), 106 int nr_pages = size / PAGE_SIZE + 1; 119 (char *)user_data + idx * PAGE_SIZE, 120 min(PAGE_SIZE, size - idx * PAGE_SIZE))) { 140 int nr_pages = buf->size / PAGE_SIZE + 1; 168 if (idx + objsize <= PAGE_SIZE) { 172 int beginsz = PAGE_SIZE [all...] |
/freebsd-10.1-release/sys/arm/include/ |
H A D | param.h | 110 #define PAGE_SIZE (1 << PAGE_SHIFT) /* Page size */ macro 111 #define PAGE_MASK (PAGE_SIZE - 1) 112 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 133 #define USPACE_SVC_STACK_TOP (KSTACK_PAGES * PAGE_SIZE) 149 #define pgtok(x) ((x) * (PAGE_SIZE / 1024))
|
/freebsd-10.1-release/sys/boot/sparc64/loader/ |
H A D | locore.S | 20 #define PAGE_SIZE 8192 define 23 #define STACK_SIZE (2 * PAGE_SIZE)
|
/freebsd-10.1-release/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.1-release/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.1-release/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.1-release/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.1-release/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...] |