/darwin-on-arm/xnu/libkern/kxld/tests/ |
H A D | kxld_array_test.c | 39 #define kNumStorageTestItems (u_int) (4 * PAGE_SIZE / sizeof(u_int)) 60 titems = PAGE_SIZE / sizeof(u_int); 86 titems = 2 * PAGE_SIZE / sizeof(u_int) + 100;
|
/darwin-on-arm/xnu/osfmk/mach/i386/ |
H A D | vm_param.h | 98 #define PAGE_SIZE I386_PGBYTES macro 100 #define PAGE_MASK (PAGE_SIZE - 1) 292 ((addr) < (VM_MAX_USER_PAGE_ADDRESS + PAGE_SIZE))
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | machine_routines.c | 356 assert((vaddr & (PAGE_SIZE-1)) == 0); /* must be page aligned */ 361 vaddr_cur += PAGE_SIZE) { 370 pmap_remove(kernel_pmap, vaddr_cur, vaddr_cur+PAGE_SIZE); 415 count = (uint32_t) (PAGE_SIZE - (cur_phys_src & PAGE_MASK)); 416 if (count > (PAGE_SIZE - (cur_phys_dst & PAGE_MASK))) 417 count = (uint32_t) (PAGE_SIZE - (cur_phys_dst & PAGE_MASK));
|
H A D | pmap.c | 1357 pmap_flush_tlbs(pmap, vaddr, vaddr + PAGE_SIZE); 1455 pmap_ledger_credit(map, task_ledgers.wired_mem, PAGE_SIZE); 1465 pmap_ledger_debit(map, task_ledgers.wired_mem, PAGE_SIZE); 1628 ps = PAGE_SIZE; 1662 bzero((void *)phys_to_virt(p << PAGE_SHIFT), PAGE_SIZE); 1723 first_avail += PAGE_SIZE; 1929 ovbcopy((void *)phys_to_virt(src << PAGE_SHIFT), (void *)phys_to_virt(dst << PAGE_SHIFT), PAGE_SIZE); 1939 assert((((dst << PAGE_SHIFT) & PAGE_MASK) + dst_offset + len) <= PAGE_SIZE); 1940 assert((((src << PAGE_SHIFT) & PAGE_MASK) + src_offset + len) <= PAGE_SIZE); 2233 va += PAGE_SIZE; [all...] |
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | pmap.c | 271 ps = PAGE_SIZE; 593 vaddr += PAGE_SIZE; 594 vsize -= PAGE_SIZE; 604 pmap_anchor_zone = zinit(PAGE_SIZE, task_max, PAGE_SIZE, "pagetable anchors"); 629 vaddr += PAGE_SIZE; 733 PMAP_ZINFO_PALLOC(kernel_pmap, bootstrap_wired_pages * PAGE_SIZE); 787 pmap_remove(kernel_pmap, LOWGLOBAL_ALIAS + PAGE_SIZE, vm_kernel_base); 819 for (myva = stext; myva < etext; myva += PAGE_SIZE) { 877 (void *) vm_ptep, PAGE_SIZE); [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | pmap.h | 131 #define NPTEPG (PAGE_SIZE/(sizeof (pt_entry_t))) 132 #define NPTDPG (PAGE_SIZE/(sizeof (pd_entry_t))) 136 #define NPDEPG (PAGE_SIZE/(sizeof (pd_entry_t))) 144 #define NPML4PG (PAGE_SIZE/(sizeof (pml4_entry_t))) 152 #define NPDPTPG (PAGE_SIZE/(sizeof (pdpt_entry_t))) 160 #define NPDPG (PAGE_SIZE/(sizeof (pd_entry_t))) 168 #define NPTPG (PAGE_SIZE/(sizeof (pt_entry_t))) 237 #define NPML4PGS (1ULL * (PAGE_SIZE/(sizeof (pml4_entry_t)))) 238 #define NPDPTPGS (NPML4PGS * (PAGE_SIZE/(sizeof (pdpt_entry_t)))) 239 #define NPDEPGS (NPDPTPGS * (PAGE_SIZE/(sizeo [all...] |
H A D | start.s | 202 mov $EXT(mp_slave_stack)+PAGE_SIZE, %esp; 289 add $(PAGE_SIZE), %ecx 292 add $(PAGE_SIZE), %ecx 295 add $(PAGE_SIZE), %ecx
|
H A D | machine_routines.c | 127 assert((vaddr & (PAGE_SIZE-1)) == 0); /* must be page aligned */ 131 vaddr_cur += PAGE_SIZE) { 140 pmap_remove(kernel_pmap, vaddr_cur, vaddr_cur+PAGE_SIZE); 186 count = (uint32_t)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); 187 if (count > (PAGE_SIZE - (cur_phys_dst & PAGE_MASK))) 188 count = (uint32_t)(PAGE_SIZE - (cur_phys_dst & PAGE_MASK));
|
H A D | pmap.c | 494 ps = PAGE_SIZE; 550 va+= PAGE_SIZE; 948 vaddr += PAGE_SIZE; 949 vsize -= PAGE_SIZE; 982 vaddr += PAGE_SIZE; 1059 PMAP_ZINFO_PALLOC(kernel_pmap, bootstrap_wired_pages * PAGE_SIZE); 1118 for (myva = stext; myva < etext; myva += PAGE_SIZE) { 1176 (void *) vm_ptep, PAGE_SIZE); 1177 ml_static_mfree(vm_ptep, PAGE_SIZE); 1384 if (KERN_SUCCESS != kmem_alloc_kobject(kernel_map, (vm_offset_t *)(&p->pm_hold), PAGE_SIZE)) 1609 kmem_free(kernel_map, (vm_offset_t)p->pm_hold, PAGE_SIZE); local [all...] |
H A D | i386_vm_init.c | 651 max_valid_low_ppnum = (2 * GB) / PAGE_SIZE; 658 if ((max_valid_dma_address / PAGE_SIZE) < max_valid_low_ppnum) 659 max_valid_low_ppnum = (ppnum_t)(max_valid_dma_address / PAGE_SIZE); 666 maxloreserve = (MAXLORESERVE / PAGE_SIZE) * 4; 668 maxloreserve = (MAXLORESERVE / PAGE_SIZE) * 2; 670 maxloreserve = MAXLORESERVE / PAGE_SIZE; 672 mbuf_reserve = bsd_mbuf_cluster_reserve(&mbuf_override) / PAGE_SIZE; 674 maxloreserve = (maxloreserve * (1024 * 1024)) / PAGE_SIZE;
|
H A D | mp_desc.h | 97 uint8_t dfstk[PAGE_SIZE] __attribute__ ((aligned (16)));
|
H A D | acpi_wakeup.s | 207 add $(PAGE_SIZE), %ecx 210 add $(PAGE_SIZE), %ecx 213 add $(PAGE_SIZE), %ecx
|
H A D | i386_init.c | 145 bzero(physfree, npages * PAGE_SIZE); 146 physfree += npages * PAGE_SIZE; 159 src += PAGE_SIZE; 382 physfree = (void *)(uintptr_t)((lphysfree + PAGE_SIZE - 1) &~ (PAGE_SIZE - 1));
|
/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | sysctl.c | 38 uint32_t pmap_kernel_text_ps = PAGE_SIZE;
|
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | pmap.c | 218 first_avail += PAGE_SIZE; 318 ps = PAGE_SIZE; 475 bzero(phys_to_virt(p), PAGE_SIZE); local 512 memcpy((void *)phystokv(dst), (void *)phystokv(src), PAGE_SIZE);
|
/darwin-on-arm/xnu/pexpert/arm/ |
H A D | pe_omap335x.c | 408 gOmapSerialUartBase = ml_io_map(OMAP3_UART_BASE, PAGE_SIZE); 409 gOmapTimerBase = ml_io_map(OMAP335X_SCH_TIMER_BASE, PAGE_SIZE); 410 gOmapInterruptControllerBase = ml_io_map(OMAP3_GIC_BASE, PAGE_SIZE); 411 // gOmapDisplayControllerBase = ml_io_map(OMAP3_DSS_BASE - 0x40, PAGE_SIZE); // doesn't apply for omap335x yet 413 gOmapPrcmBase = ml_io_map(0x44E00000, PAGE_SIZE); // 0x48004000 (L4 Core / Clock Manager)
|
H A D | pe_s5l8900x.c | 150 gS5L8900XVic0Base = ml_io_map(VIC0, PAGE_SIZE); 151 gS5L8900XVic1Base = ml_io_map(VIC1, PAGE_SIZE); 152 gS5L8900XEdgeICBase = ml_io_map(EDGEIC, PAGE_SIZE); 153 gS5L8900XTimerBase = ml_io_map(TIMER_BASE, PAGE_SIZE);
|
H A D | pe_sun4i.c | 86 gSun4iUartBase = ml_io_map(UART_BASE, PAGE_SIZE);
|
H A D | pe_omap3430.c | 146 gOmapTimerBase = ml_io_map(OMAP3_TIMER0_BASE, PAGE_SIZE); 147 gOmapInterruptControllerBase = ml_io_map(OMAP3_GIC_BASE, PAGE_SIZE); 148 gOmapDisplayControllerBase = ml_io_map(OMAP3_DSS_BASE - 0x40, PAGE_SIZE); 153 gOmapPrcmBase = ml_io_map(0x48004000, PAGE_SIZE); 156 gOmapSerialUartBase = ml_io_map(OMAP3_UART_BASE, PAGE_SIZE);
|
H A D | pe_apq8060.c | 128 gTouchPadqGICDistributerBase = ml_io_map(MSM_GIC_DIST_BASE, PAGE_SIZE); 129 gTouchpadqGICCPUBase = ml_io_map(MSM_GIC_CPU_BASE, PAGE_SIZE); 131 gTouchPadTimerBase = ml_io_map(MSM_TMR_BASE, PAGE_SIZE);
|
H A D | pe_omap3530.c | 134 gOmapTimerBase = ml_io_map(OMAP3_TIMER0_BASE, PAGE_SIZE); 135 gOmapInterruptControllerBase = ml_io_map(OMAP3_GIC_BASE, PAGE_SIZE); 136 gOmapDisplayControllerBase = ml_io_map(OMAP3_DSS_BASE - 0x40, PAGE_SIZE); 141 gOmapPrcmBase = ml_io_map(0x48004000, PAGE_SIZE); 144 gOmapSerialUartBase = ml_io_map(OMAP3_UART_BASE, PAGE_SIZE);
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | stack.c | 78 unsigned int kernel_stack_pages = KERNEL_STACK_SIZE / PAGE_SIZE; 164 kernel_stack_size = kernel_stack_pages * PAGE_SIZE; 171 (void *) kernel_stack_size, PAGE_SIZE); 218 kernel_stack_size + (2*PAGE_SIZE), 229 stack += PAGE_SIZE; 390 stack -= PAGE_SIZE; 394 stack + kernel_stack_size+(2*PAGE_SIZE),
|
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/ |
H A D | kdp_x86_common.c | 134 cnt_src = PAGE_SIZE - (cur_phys_src & PAGE_MASK); 135 cnt_dst = PAGE_SIZE - (cur_phys_dst & PAGE_MASK); 184 cnt_src = PAGE_SIZE - (cur_phys_src & PAGE_MASK); 185 cnt_dst = PAGE_SIZE - (cur_phys_dst & PAGE_MASK); 232 cnt_src = (unsigned)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); 233 cnt_dst = (unsigned)(PAGE_SIZE - (cur_phys_dst & PAGE_MASK)); 284 cnt_src = (unsigned)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); 285 cnt_dst = (unsigned)(PAGE_SIZE - (cur_phys_dst & PAGE_MASK)); 691 PAGE_SIZE, 0,
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_pageout.c | 790 memory_object_data_initialize(pager, paging_offset, PAGE_SIZE); 2754 if (kmem_alloc(kernel_map, &addr, PAGE_SIZE * pg_count) == KERN_SUCCESS) { 2755 kmem_free(kernel_map, addr, PAGE_SIZE * pg_count); 2881 PAGE_SIZE, 3327 size = PAGE_SIZE; 3333 page_field_size = ((size/PAGE_SIZE) + 7) >> 3; 3342 (sizeof(struct upl_page_info) * (size/PAGE_SIZE)) 3459 if ((size / PAGE_SIZE) > MAX_UPL_SIZE) 3460 size = MAX_UPL_SIZE * PAGE_SIZE; 3473 ((size/PAGE_SIZE) * sizeo [all...] |
/darwin-on-arm/xnu/bsd/vm/ |
H A D | dp_backing_file.c | 323 dp_cluster_size = 1 * PAGE_SIZE; 331 dp_cluster_size = 2 * PAGE_SIZE; 357 * NOTE: we are able to supply PAGE_SIZE here instead of 365 PAGE_SIZE, (int)(file_size/PAGE_SIZE));
|