Lines Matching refs:PAGE_SIZE
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;
2457 bzero((void *)phys_to_virt(page->phys_page << PAGE_SHIFT), PAGE_SIZE);
2535 memset((void *) _COMM_PAGE_BASE_ADDRESS, 0x00, PAGE_SIZE);
2790 uint32_t expansion_size = ((tte_offset(v)) & ~(PAGE_SIZE - 1)) + PAGE_SIZE;
2824 pmap_flush_tlbs(map, v, v + PAGE_SIZE);
2921 pmap_ledger_credit(pmap, task_ledgers.wired_mem, PAGE_SIZE);
2925 pmap_ledger_debit(pmap, task_ledgers.wired_mem, PAGE_SIZE);
2966 pmap_ledger_debit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
3081 pmap_ledger_credit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
3085 pmap_ledger_credit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
3118 pmap_flush_tlbs(pmap, va, va + PAGE_SIZE);
3151 kprintf("pmap_init: %d physical pages in memory, kernel pmap at %p\n", (mem_size / PAGE_SIZE), kernel_pmap);
3157 s = (mem_size / PAGE_SIZE) * sizeof(pv_entry);
3181 s = (vm_size_t) (sizeof(struct pv_rooted_entry) * (mem_size / PAGE_SIZE)
3183 + pv_lock_table_size((mem_size / PAGE_SIZE))
3185 + (mem_size / PAGE_SIZE));
3192 uint32_t npages = (mem_size / PAGE_SIZE);
3247 for (kva = vm_kernel_stext; kva < vm_kernel_etext; kva += PAGE_SIZE) {
3277 for (dva = sdata; dva < edata; dva += PAGE_SIZE) {
3340 vm_size_t our_page_size = (is_sect) ? (_1MB) : PAGE_SIZE;
3426 pmap_ledger_debit(pmap, task_ledgers.phys_mem, num_removed * PAGE_SIZE);
3434 pmap_ledger_debit(pmap, task_ledgers.wired_mem, num_unwired * PAGE_SIZE);
3545 if (NULL == (our_pmap->pm_obj = vm_object_allocate((vm_object_size_t) (4096 * PAGE_SIZE))))
3557 bzero((void *)phys_to_virt(new_l1->phys_page << PAGE_SHIFT), PAGE_SIZE);
3562 our_pmap->pm_l1_size = PAGE_SIZE;
3653 pmap_flush_tlbs(pmap, vaddr, vaddr + PAGE_SIZE);
3659 pmap_ledger_debit(pmap, task_ledgers.phys_mem, PAGE_SIZE);
3687 pmap_flush_tlbs(pmap, vaddr, vaddr + PAGE_SIZE);
3826 PMAP_ZINFO_PFREE(pmap, pmap->pm_obj->resident_page_count * PAGE_SIZE);
4142 assert((((src << PAGE_SHIFT) & PAGE_MASK) + src_offset + len) <= PAGE_SIZE);
4199 *cur_size = PAGE_SIZE * inuse_ptepages_count;
4200 *max_size = PAGE_SIZE * (inuse_ptepages_count + vm_page_inactive_count + vm_page_active_count + vm_page_free_count);
4201 *elem_size = PAGE_SIZE;
4202 *alloc_size = PAGE_SIZE;
4203 *sum_size = alloc_ptepages_count * PAGE_SIZE;