Searched refs:round_page_64 (Results 1 - 15 of 15) sorted by relevance

/xnu-2782.1.97/osfmk/mach/
H A Dvm_param.h91 * The round_page_64 and trunc_page_64 macros should be used instead.
137 * use on 64 bit types. The round_page_64 and trunc_page_64 macros
147 #define round_page_64(x) (((uint64_t)(x) + PAGE_MASK_64) & ~((uint64_t)PAGE_MASK_64)) macro
169 #undef round_page_64
204 #define round_page_64(x) ((uint64_t)((x) + (uint8_t *)0))
/xnu-2782.1.97/bsd/kern/
H A Dkern_resource.c1015 size = round_page_64(limp->rlim_cur);
1016 size -= round_page_64(alimp->rlim_cur);
1018 addr = p->user_stack - round_page_64(limp->rlim_cur);
1042 round_page_64(alimp->rlim_cur))) {
1045 round_page_64(limp->rlim_cur))) {
1060 size = round_page_64(alimp->rlim_cur);
1061 size -= round_page_64(limp->rlim_cur);
1063 addr = p->user_stack - round_page_64(alimp->rlim_cur);
H A Dmach_loader.c997 seg_size = round_page_64(scp->vmsize);
998 map_size = round_page_64(scp->filesize);
H A Dubc_subr.c1080 olastpgend = round_page_64(osize);
1717 end_off = round_page_64(end_off);
/xnu-2782.1.97/osfmk/device/
H A Diokit_rpc.c524 pmap_map_block(pmap, va, pagenum, (uint32_t) atop_64(round_page_64(length)), prot, 0, 0);
533 pmap_remove(pmap, trunc_page_64(va), round_page_64(va + length));
/xnu-2782.1.97/iokit/Kernel/
H A DIOMemoryDescriptor.cpp564 endAddr = round_page_64(srcAddr + srcLen);
792 size = round_page_64(size + pageOffset);
2629 page = atop_64(round_page_64(pa));
2641 page = atop_64(round_page_64(pa));
3068 pageCount += atop_64(round_page_64(align + segLen));
3090 ppnum_t count = atop_64(round_page_64(phys + segLen)) - page;
3962 mach_vm_address_t end = round_page_64(fAddress + offset + length);
H A DIODMACommand.cpp370 numPages = atop_64(round_page_64((address & PAGE_MASK) + length));
/xnu-2782.1.97/osfmk/i386/
H A Di386_vm_init.c266 etext = (vm_offset_t) round_page_64(lastsectTEXT->addr + lastsectTEXT->size);
H A Dmachine_routines.c144 vaddr_cur < round_page_64(vaddr+size);
/xnu-2782.1.97/osfmk/vm/
H A Dmemory_object.c322 size = round_page_64(size);
H A Dvm_object.c6567 size = round_page_64(size);
7750 object_size = round_page_64(object_size);
7889 pre_heat_size = (vm_size_t)(round_page_64(object_size - target_start));
/xnu-2782.1.97/osfmk/x86_64/
H A Dpmap.c1097 pmap_mark_range(kernel_pmap, seg->vmaddr, round_page_64(seg->vmsize), TRUE, FALSE);
/xnu-2782.1.97/osfmk/console/
H A Dvideo_console.c2798 round_page_64(lastVideoVirt + lastVideoSize)); /* Toss mappings */
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_cluster.c1204 e_offset = round_page_64(f_offset + 1);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_vnops.c7459 pgsize = round_page_64(xsize);

Completed in 285 milliseconds