Searched refs:round_page_64 (Results 1 – 16 of 16) sorted by relevance
| /xnu-11215.1.10/osfmk/mach/ |
| H A D | vm_param.h | 164 #define round_page_64(x) (((uint64_t)(x) + PAGE_MASK_64) & ~((uint64_t)PAGE_MASK_64)) macro 191 #undef round_page_64 226 #define round_page_64(x) ((uint64_t)((x) + (uint8_t *)0)) 420 #undef round_page_64 457 round_page_64(mach_vm_offset_t x) in round_page_64() function
|
| /xnu-11215.1.10/osfmk/device/ |
| H A D | iokit_rpc.c | 520 return pmap_map_block(pmap, va, pagenum, (uint32_t) atop_64(round_page_64(length)), prot, 0, 0); in IOMapPages() 528 pmap_remove(pmap, trunc_page_64(va), round_page_64(va + length)); in IOUnmapPages()
|
| /xnu-11215.1.10/bsd/kern/ |
| H A D | kern_resource.c | 1347 size -= round_page_64(rlim.rlim_cur); in dosetrlimit() 1349 addr = (mach_vm_offset_t)(p->user_stack - round_page_64(newrlim->rlim_cur)); in dosetrlimit() 1369 cur_sp > (p->user_stack - round_page_64(rlim.rlim_cur))) { in dosetrlimit() 1371 if (cur_sp <= (p->user_stack - round_page_64(newrlim->rlim_cur))) { in dosetrlimit() 1385 size = round_page_64(rlim.rlim_cur); in dosetrlimit() 1386 size -= round_page_64(rlim.rlim_cur); in dosetrlimit() 1388 addr = (mach_vm_offset_t)(p->user_stack - round_page_64(rlim.rlim_cur)); in dosetrlimit()
|
| H A D | ubc_subr.c | 1326 olastpgend = round_page_64(osize); in ubc_setsize_ex() 1938 end_off = round_page_64(end_off); in ubc_msync_internal() 6234 #define stob(s) (((atop_64(round_page_64(s))) + 07) >> 3)
|
| /xnu-11215.1.10/osfmk/i386/ |
| H A D | i386_init.c | 1168 unsigned long hdescszr = round_page_64(hdescsz); in doublemap_init() 1174 unsigned long thdescszr = round_page_64(thdescsz); in doublemap_init()
|
| H A D | mp_desc.c | 621 …vm_offset_t ldtalloc = 0, ldtallocsz = round_page_64(MAX_CPUS * sizeof(struct real_descriptor) * L… in cpu_data_alloc()
|
| H A D | machine_routines.c | 210 for (vaddr_cur = vaddr; vaddr_cur < round_page_64(vaddr + size);) { in ml_static_mfree()
|
| H A D | i386_vm_init.c | 355 etext = (vm_offset_t) round_page_64(lastsectTEXT->addr + lastsectTEXT->size); in i386_vm_init()
|
| /xnu-11215.1.10/osfmk/x86_64/ |
| H A D | pmap.c | 1344 round_page_64(seg->vmsize), NXbit, robit); in pmap_lowmem_finalize() 1352 (void *)((seg->vmaddr & ~(uint64_t)PAGE_MASK) + round_page_64(seg->vmsize))); in pmap_lowmem_finalize() 1354 round_page_64(seg->vmsize), FALSE, FALSE); in pmap_lowmem_finalize() 1356 pmap_mark_range(kernel_pmap, seg->vmaddr, round_page_64(seg->vmsize), TRUE, FALSE); in pmap_lowmem_finalize()
|
| /xnu-11215.1.10/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 647 endAddr = round_page_64(srcAddr + srcLen); in memoryReferenceCreate() 1025 size = round_page_64(size + pageOffset); in memoryReferenceMap() 3872 page = (ppnum_t) atop_64(round_page_64(pa)); in SetEncryptOp() 3884 page = (ppnum_t) atop_64(round_page_64(pa)); in ClearEncryptOp() 5647 mach_vm_address_t end = round_page_64(fAddress + offset + length); in wireRange()
|
| H A D | IODMACommand.cpp | 555 uint64_t numPages64 = atop_64(round_page_64((address & PAGE_MASK) + length)); in segmentOp()
|
| /xnu-11215.1.10/osfmk/vm/ |
| H A D | memory_object.c | 332 size = round_page_64(size); in memory_object_lock_request()
|
| H A D | vm_object.c | 6718 object_size = round_page_64(object_size); 6863 pre_heat_size = (vm_size_t)(round_page_64(object_size - target_start));
|
| /xnu-11215.1.10/osfmk/kdp/ |
| H A D | kdp_core.c | 410 *pvincr = round_page_64(vincr); in kernel_pmap_present_mapping()
|
| /xnu-11215.1.10/osfmk/console/ |
| H A D | video_console.c | 2905 round_page_64(lastVideoVirt + lastVideoMapSize)); /* Toss mappings */ in initialize_screen()
|
| /xnu-11215.1.10/bsd/vfs/ |
| H A D | vfs_cluster.c | 718 assoc_upl_end = round_page_64(f_offset + size) - assoc_upl_start_f_offset; in cluster_handle_associated_upl() 1938 e_offset = round_page_64(f_offset + 1); in cluster_io()
|