Home
last modified time | relevance | path

Searched refs:dst64 (Results 1 – 3 of 3) sorted by relevance

/xnu-10002.41.9/osfmk/i386/
H A Dphys.c204 ml_copy_phys(addr64_t src64, addr64_t dst64, vm_size_t bytes) in ml_copy_phys() argument
215 assert(physmap_enclosed(src64) || physmap_enclosed(dst64)); in ml_copy_phys()
219 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
221 } else if (physmap_enclosed(dst64) == FALSE) { in ml_copy_phys()
223 dst = (void *)(debugger_window_kva | (dst64 & INTEL_OFFMASK)); in ml_copy_phys()
224 debug_pa = dst64 & PG_FRAME; in ml_copy_phys()
227 dst = PHYSMAP_PTOV(dst64); in ml_copy_phys()
246 …if (((((uint32_t)src64 & (I386_PGBYTES - 1)) + bytes) > I386_PGBYTES) || ((((uint32_t)dst64 & (I38… in ml_copy_phys()
247 panic("ml_copy_phys spans pages, src: 0x%llx, dst: 0x%llx", src64, dst64); in ml_copy_phys()
/xnu-10002.41.9/osfmk/x86_64/
H A Dloose_ends.c239 addr64_t dst64, in bcopy_phys() argument
244 ((((uint32_t)dst64 & (NBPG - 1)) + bytes) > NBPG)) { in bcopy_phys()
247 bcopy(PHYSMAP_PTOV(src64), PHYSMAP_PTOV(dst64), bytes); in bcopy_phys()
256 addr64_t dst64, in apply_func_phys() argument
262 if (((((uint32_t)dst64 & (NBPG - 1)) + bytes) > NBPG)) { in apply_func_phys()
266 return func(PHYSMAP_PTOV(dst64), bytes, arg); in apply_func_phys()
/xnu-10002.41.9/osfmk/arm64/
H A Dloose_ends.c907 addr64_t dst64, in apply_func_phys() argument
913 if (!pmap_valid_address(dst64)) { in apply_func_phys()
915 __FUNCTION__, dst64); in apply_func_phys()
919 if (((((uint32_t)dst64 & (ARM_PGBYTES - 1)) + bytes) > ARM_PGBYTES)) { in apply_func_phys()
921 __FUNCTION__, dst64, bytes); in apply_func_phys()
924 return func((void*)phystokv(dst64), bytes, arg); in apply_func_phys()