Searched refs:cur_phys_src (Results 1 – 5 of 5) sorted by relevance
| /xnu-8019.80.24/osfmk/kdp/ml/i386/ |
| H A D | kdp_x86_common.c | 93 addr64_t cur_phys_dst, cur_phys_src; in kdp_machine_vm_read() local 121 if (!(cur_phys_src = kdp_vtophys(src_pmap, in kdp_machine_vm_read() 133 if (!pmap_valid_page(i386_btop(cur_phys_dst)) || !pmap_valid_page(i386_btop(cur_phys_src))) { in kdp_machine_vm_read() 139 cnt_src = PAGE_SIZE - (cur_phys_src & PAGE_MASK); in kdp_machine_vm_read() 151 if (EFAULT == ml_copy_phys(cur_phys_src, in kdp_machine_vm_read() 172 addr64_t cur_phys_dst, cur_phys_src; in kdp_machine_phys_read() local 186 cur_phys_src = (addr64_t)src; in kdp_machine_phys_read() 194 cnt_src = PAGE_SIZE - (cur_phys_src & PAGE_MASK); in kdp_machine_phys_read() 208 if (EFAULT == ml_copy_phys(cur_phys_src, in kdp_machine_phys_read() 213 cur_phys_src += cnt; in kdp_machine_phys_read() [all …]
|
| /xnu-8019.80.24/osfmk/kdp/ml/arm/ |
| H A D | kdp_vm.c | 93 addr64_t cur_phys_src, cur_phys_dst; in kdp_machine_vm_read() local 129 if ((cur_phys_src = kdp_vtophys(pmap, cur_virt_src)) == 0) { in kdp_machine_vm_read() 134 …if (!kdp_read_io && ((!pmap_valid_address(cur_phys_dst)) || (!pmap_valid_address(cur_phys_src)))) { in kdp_machine_vm_read() 150 pmap, cur_virt_src, cur_phys_src); in kdp_machine_vm_read() 152 bcopy_phys(cur_phys_src, cur_phys_dst, cnt); in kdp_machine_vm_read() 173 addr64_t cur_phys_src, cur_phys_dst; in kdp_machine_phys_read() local 182 cur_phys_src = (addr64_t) src; in kdp_machine_phys_read() 191 cnt_src = ARM_PGBYTES - (cur_phys_src & PAGE_MASK); in kdp_machine_phys_read() 202 bcopy_phys(cur_phys_src, cur_phys_dst, cnt); /* Copy stuff over */ in kdp_machine_phys_read() 203 cur_phys_src += cnt; in kdp_machine_phys_read() [all …]
|
| /xnu-8019.80.24/osfmk/i386/ |
| H A D | machine_routines.c | 286 addr64_t cur_phys_dst, cur_phys_src; in ml_nofault_copy() local 290 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_nofault_copy() 296 if (!pmap_valid_page(i386_btop(cur_phys_dst)) || !pmap_valid_page(i386_btop(cur_phys_src))) { in ml_nofault_copy() 299 count = (uint32_t)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); in ml_nofault_copy() 307 bcopy_phys(cur_phys_src, cur_phys_dst, count); in ml_nofault_copy() 332 addr64_t cur_phys_src; in ml_validate_nofault() local 336 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_validate_nofault() 339 if (!pmap_valid_page(i386_btop(cur_phys_src))) { in ml_validate_nofault() 342 count = (uint32_t)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); in ml_validate_nofault()
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | machine_routines.c | 951 addr64_t cur_phys_dst, cur_phys_src; in ml_nofault_copy() local 955 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_nofault_copy() 962 !pmap_valid_address(trunc_page_64(cur_phys_src))) { in ml_nofault_copy() 965 count = PAGE_SIZE - (cur_phys_src & PAGE_MASK); in ml_nofault_copy() 973 bcopy_phys(cur_phys_src, cur_phys_dst, count); in ml_nofault_copy() 998 addr64_t cur_phys_src; in ml_validate_nofault() local 1002 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_validate_nofault() 1005 if (!pmap_valid_address(trunc_page_64(cur_phys_src))) { in ml_validate_nofault() 1008 count = (uint32_t)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); in ml_validate_nofault()
|
| /xnu-8019.80.24/osfmk/arm64/ |
| H A D | machine_routines.c | 1741 addr64_t cur_phys_dst, cur_phys_src; in ml_nofault_copy() local 1745 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_nofault_copy() 1752 !pmap_valid_address(trunc_page_64(cur_phys_src))) { in ml_nofault_copy() 1755 count = PAGE_SIZE - (cur_phys_src & PAGE_MASK); in ml_nofault_copy() 1763 bcopy_phys(cur_phys_src, cur_phys_dst, count); in ml_nofault_copy() 1788 addr64_t cur_phys_src; in ml_validate_nofault() local 1792 if (!(cur_phys_src = kvtophys(virtsrc))) { in ml_validate_nofault() 1795 if (!pmap_valid_address(trunc_page_64(cur_phys_src))) { in ml_validate_nofault() 1798 count = (uint32_t)(PAGE_SIZE - (cur_phys_src & PAGE_MASK)); in ml_validate_nofault()
|