Home
last modified time | relevance | path

Searched refs:PAGE_SIZE_64 (Results 1 – 25 of 27) sorted by relevance

12

/xnu-12377.61.12/osfmk/kdp/ !
H A Dsk_core.c420 for (vm_map_address_t vaddr = physmap_base; vaddr < physmap_end; vaddr += PAGE_SIZE_64) { in papt_walk()
431 seg_end = paddr + PAGE_SIZE_64; in papt_walk()
437 if (paddr == last_paddr + PAGE_SIZE_64) { in papt_walk()
438 seg_end = paddr + PAGE_SIZE_64; in papt_walk()
452 seg_end = paddr + PAGE_SIZE_64; in papt_walk()
H A Dkdp_core.c440 uint64_t vincr = PAGE_SIZE_64; in kernel_pmap_present_mapping()
537 vincr = PAGE_SIZE_64; in pmap_traverse_present_mappings()
/xnu-12377.61.12/bsd/vm/ !
H A Ddp_backing_file.c218 *pagesize_p = (vm_size_t)PAGE_SIZE_64; in macx_swapinfo()
H A Dvm_compressor_backing_file.c192 upl_size_t io_size = (upl_size_t) (npages * PAGE_SIZE_64); in vm_swapfile_io()
/xnu-12377.61.12/osfmk/vm/ !
H A Dvm_object.c2288 #define CHUNK_SIZE (PAGES_IN_A_CHUNK * PAGE_SIZE_64) /* Size of a chunk in bytes */
2306 for (p = (len) / PAGE_SIZE_64; p < PAGES_IN_A_CHUNK; p++) \
2431 …NK_NOT_COMPLETE(*chunk_state); p++, size -= PAGE_SIZE_64, offset += PAGE_SIZE_64, pmap_offset += P…
2920 cur_offset += PAGE_SIZE_64) {
3056 *cur_offset_p += PAGE_SIZE_64;
3169 phys_addr += PAGE_SIZE_64) {
3230 curr < start + PAGE_SIZE_64;
3456 src_offset += PAGE_SIZE_64,
3457 new_offset += PAGE_SIZE_64, size -= PAGE_SIZE_64
5438 hint_offset = (hint_offset > 8 * PAGE_SIZE_64) ?
[all …]
H A Dvm_map_store.c449 start = map->highest_entry_end + PAGE_SIZE_64; in vm_map_store_find_space_forward()
451 start = entry->vme_end + PAGE_SIZE_64; in vm_map_store_find_space_forward()
H A Dvm_compressor_backing_store.c387 vm_page_encrypt_counter += (size / PAGE_SIZE_64); in vm_swap_encrypt()
428 vm_page_decrypt_counter += (size / PAGE_SIZE_64); in vm_swap_decrypt()
1690 …>swp_vp, file_offset, (uint64_t)c_seg->c_store.c_buffer, (int)(size / PAGE_SIZE_64), SWAP_READ, NU… in vm_swap_get()
1858 …error = vm_swapfile_io(swf->swp_vp, file_offset, addr, (int) (size / PAGE_SIZE_64), SWAP_WRITE, up… in vm_swap_put()
2274 if (vm_swapfile_io(swf->swp_vp, f_offset, addr, (int)(c_size / PAGE_SIZE_64), SWAP_READ, NULL)) { in vm_swap_reclaim()
H A Dvm_compressor.c493 uint64_t bytes_total = VM_PAGE_COMPRESSOR_COUNT * PAGE_SIZE_64; in vm_compressor_needs_to_minor_compact()
504 return ((uint64_t)AVAILABLE_NON_COMPRESSED_MEMORY) * PAGE_SIZE_64; in vm_available_memory()
1671 uint64_t uncompressed_bytes = ((c_seg->c_slots_used) * PAGE_SIZE_64); in c_seg_update_task_owner()
5652 task_update_frozen_to_swap_acct(c_seg->c_task_owner, PAGE_SIZE_64, DEBIT_FROM_SWAP); in c_decompress_page()
6621 uint64_t pgidx = free_offset / PAGE_SIZE_64; in vm_uncompressed_return_space_to_swap()
6638 uint64_t pgidx = free_offset / PAGE_SIZE_64; in vm_uncompressed_return_space_to_swap()
6678 uncompressed_file0_free_offset = ((chunkidx * 64) + chunkoffset) * PAGE_SIZE_64; in vm_uncompressed_reserve_space_in_swap()
6696 uncompressed_file1_free_offset = ((chunkidx * 64) + chunkoffset) * PAGE_SIZE_64; in vm_uncompressed_reserve_space_in_swap()
6734 …kmem_alloc(kernel_map, (vm_offset_t*)&uncompressor_io_req[i].addr, PAGE_SIZE_64, KMA_NOFAIL | KMA_… in vm_uncompressed_put()
6783 memcpy((void*)uncompressor_io_req[i].addr, addr, PAGE_SIZE_64); in vm_uncompressed_put()
[all …]
H A Dvm_fault.c438 #define ALIGNED(x) (((x) & (PAGE_SIZE_64 - 1)) == 0)
493 if (offset && last_alloc == offset - PAGE_SIZE_64) { in vm_fault_is_sequential()
509 if (last_alloc && last_alloc == offset + PAGE_SIZE_64) { in vm_fault_is_sequential()
526 if (offset && last_alloc == (offset - PAGE_SIZE_64)) { in vm_fault_is_sequential()
536 } else if (last_alloc && last_alloc == (offset + PAGE_SIZE_64)) { in vm_fault_is_sequential()
653 run_offset = 0 - PAGE_SIZE_64; in vm_fault_deactivate_behind()
659 run_offset = PAGE_SIZE_64; in vm_fault_deactivate_behind()
665 { vm_object_offset_t behind = vm_default_behind * PAGE_SIZE_64; in vm_fault_deactivate_behind()
681 pg_offset = PAGE_SIZE_64; in vm_fault_deactivate_behind()
687 pg_offset = 0 - PAGE_SIZE_64; in vm_fault_deactivate_behind()
[all …]
H A Dvm_pageout.c1611 (m)->vmp_offset + PAGE_SIZE_64, \
6921 dst_offset += PAGE_SIZE_64;
7751 offset += PAGE_SIZE_64;
7752 new_offset += PAGE_SIZE_64;
7826 kasan_notify_address(addr, PAGE_SIZE_64);
7829 offset += PAGE_SIZE_64;
8340 *dst_offset += PAGE_SIZE_64;
9125 dst_offset += PAGE_SIZE_64;
9656 map_size -= PAGE_SIZE_64, page_map_offset += PAGE_SIZE_64) {
9683 vm_paging_pages_mapped_slow += (unsigned long) (map_size / PAGE_SIZE_64);
[all …]
H A Dvm_swapfile_pager.c392 (addr64_t) (kernel_mapping + PAGE_SIZE_64)); in swapfile_pager_data_request()
H A Dvm_upl.c477 target_offset += PAGE_SIZE_64; in upl_abort_range()
1215 target_offset += PAGE_SIZE_64; in upl_commit_range()
H A Dmemory_object.c533 offset += PAGE_SIZE_64) { in vm_object_update_extent()
596 next_offset = offset + PAGE_SIZE_64; in vm_object_update_extent()
H A Dvm_kern.c1500 pg_offset += PAGE_SIZE_64) { in kernel_memory_populate_object_and_unlock()
1653 pg_offset += PAGE_SIZE_64) { in kernel_memory_depopulate()
2150 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
2205 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
2231 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
2318 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
H A Dbsd_vm.c290 offset += PAGE_SIZE_64; in memory_object_control_uiomove()
H A Dvm_map.c2853 offset += PAGE_SIZE_64; in vm_map_pmap_enter()
12638 offset += PAGE_SIZE_64; in vm_map_copyout_internal()
16836 entry_size = (uint32_t) ((entry->vme_end - entry->vme_start) / PAGE_SIZE_64); in vm_map_region_top_walk()
23961 *shared_count = (unsigned int) ((dirty_shared_count * PAGE_SIZE_64) / (1024 * 1024ULL)); in vm_map_freeze()
23964 …_pages_threshold = (memorystatus_freeze_shared_mb_per_process_max * 1024 * 1024ULL) / PAGE_SIZE_64; in vm_map_freeze()
/xnu-12377.61.12/bsd/vfs/ !
H A Dvfs_cluster.c2611 f_offset = (off_t)(r_addr * PAGE_SIZE_64); in cluster_read_ahead()
2615 ubc_range_op(vp, f_offset, f_offset + PAGE_SIZE_64, UPL_ROP_PRESENT, &size_of_prefetch); in cluster_read_ahead()
3859 zero_pg_index = (int)((zero_off - upl_f_offset) / PAGE_SIZE_64); in cluster_zero_range()
3887 cl.b_addr = (daddr64_t)(s_offset / PAGE_SIZE_64); in cluster_update_state()
3888 cl.e_addr = (daddr64_t)(e_offset / PAGE_SIZE_64); in cluster_update_state()
4262 zero_cnt1 = PAGE_SIZE_64 - (zero_off1 & PAGE_MASK_64); in cluster_write_copy()
4304 cl.b_addr = (daddr64_t)(upl_f_offset / PAGE_SIZE_64); in cluster_write_copy()
4337 upl_f_offset += PAGE_SIZE_64; in cluster_write_copy()
4555 cl.e_addr = (daddr64_t)((upl_f_offset + (off_t)upl_size) / PAGE_SIZE_64); in cluster_write_copy()
4799 extent.b_addr = uio->uio_offset / PAGE_SIZE_64; in cluster_read_copy()
[all …]
/xnu-12377.61.12/bsd/kern/ !
H A Dkern_memorystatus.c1218 memorystatus_log_debug("memorystatus_debug_dump ***START*(PAGE_SIZE_64=%llu)**\n", PAGE_SIZE_64); in memorystatus_debug_dump_bucket_locked()
1226 (bytes / PAGE_SIZE_64), /* task's footprint converted from bytes to pages */ in memorystatus_debug_dump_bucket_locked()
5673 pages = (get_task_phys_footprint(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
5678 pages = (get_task_phys_footprint_lifetime_max(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
5683 pages = (get_task_purgeable_size(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
5700 *internal_pages = (get_task_internal(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
5704 *internal_compressed_pages = (get_task_internal_compressed(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
5708 *purgeable_nonvolatile_pages = (get_task_purgeable_nonvolatile(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
5712 …le_nonvolatile_compressed_pages = (get_task_purgeable_nonvolatile_compressed(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
5716 *alternate_accounting_pages = (get_task_alternate_accounting(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
[all …]
H A Duipc_syscalls.c3912 xfsize = PAGE_SIZE_64 - pgoff; in sendfile()
H A Dubc_subr.c1317 lastpg += PAGE_SIZE_64; in ubc_setsize_ex()
/xnu-12377.61.12/osfmk/mach/ !
H A Dvm_param.h88 #define PAGE_SIZE_64 (unsigned long long)PAGE_SIZE /* pagesize in addr units */ macro
/xnu-12377.61.12/osfmk/i386/ !
H A Dpmap_x86_common.c1371 cpte++, vaddr += PAGE_SIZE_64) { in pmap_remove_range_options()
1427 cpte++, vaddr += PAGE_SIZE_64) { in pmap_remove_range_options()
/xnu-12377.61.12/osfmk/x86_64/ !
H A Dpmap.c1555 offset += PAGE_SIZE_64) { in pmap_is_empty()
/xnu-12377.61.12/osfmk/kern/ !
H A Dcoalition.c2574 return bytes / PAGE_SIZE_64; in coalition_get_page_count()
H A Dtask.c2613 task_page_count = (get_task_phys_footprint(task) / PAGE_SIZE_64); in task_partial_reap()
5257 …*dirty_count = (uint32_t) (freezer_context_global.freezer_ctx_swapped_bytes / PAGE_SIZE_64); … in task_freeze()

12