Home
last modified time | relevance | path

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

/xnu-8796.141.3/bsd/vm/
H A Ddp_backing_file.c219 *pagesize_p = (vm_size_t)PAGE_SIZE_64; in macx_swapinfo()
H A Dvm_compressor_backing_file.c197 upl_size_t io_size = (upl_size_t) (npages * PAGE_SIZE_64); in vm_swapfile_io()
/xnu-8796.141.3/osfmk/vm/
H A Dvm_object.c2019 #define CHUNK_SIZE (PAGES_IN_A_CHUNK * PAGE_SIZE_64) /* Size of a chunk in bytes */
2037 for (p = (len) / PAGE_SIZE_64; p < PAGES_IN_A_CHUNK; p++) \
2159 …NK_NOT_COMPLETE(*chunk_state); p++, size -= PAGE_SIZE_64, offset += PAGE_SIZE_64, pmap_offset += P… in deactivate_pages_in_object()
2613 cur_offset += PAGE_SIZE_64) { in vm_object_reuse_pages()
2742 phys_addr += PAGE_SIZE_64) { in vm_object_pmap_protect_options()
2801 curr < start + PAGE_SIZE_64; in vm_object_pmap_protect_options()
2995 src_offset += PAGE_SIZE_64, in vm_object_copy_slowly()
2996 new_offset += PAGE_SIZE_64, size -= PAGE_SIZE_64 in vm_object_copy_slowly()
4987 hint_offset = (hint_offset > 8 * PAGE_SIZE_64) ? in vm_object_collapse()
4988 (hint_offset - 8 * PAGE_SIZE_64) : 0; in vm_object_collapse()
[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.c381 vm_page_encrypt_counter += (size / PAGE_SIZE_64); in vm_swap_encrypt()
412 vm_page_decrypt_counter += (size / PAGE_SIZE_64); in vm_swap_decrypt()
1666 …>swp_vp, file_offset, (uint64_t)c_seg->c_store.c_buffer, (int)(size / PAGE_SIZE_64), SWAP_READ, NU… in vm_swap_get()
1835 …error = vm_swapfile_io(swf->swp_vp, file_offset, addr, (int) (size / PAGE_SIZE_64), SWAP_WRITE, up… in vm_swap_put()
2252 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_fault.c373 #define ALIGNED(x) (((x) & (PAGE_SIZE_64 - 1)) == 0)
427 if (offset && last_alloc == offset - PAGE_SIZE_64) { in vm_fault_is_sequential()
443 if (last_alloc && last_alloc == offset + PAGE_SIZE_64) { in vm_fault_is_sequential()
460 if (offset && last_alloc == (offset - PAGE_SIZE_64)) { in vm_fault_is_sequential()
470 } else if (last_alloc && last_alloc == (offset + PAGE_SIZE_64)) { in vm_fault_is_sequential()
574 run_offset = 0 - PAGE_SIZE_64; in vm_fault_deactivate_behind()
580 run_offset = PAGE_SIZE_64; in vm_fault_deactivate_behind()
586 { vm_object_offset_t behind = vm_default_behind * PAGE_SIZE_64; in vm_fault_deactivate_behind()
602 pg_offset = PAGE_SIZE_64; in vm_fault_deactivate_behind()
608 pg_offset = 0 - PAGE_SIZE_64; in vm_fault_deactivate_behind()
[all …]
H A Dvm_fourk_pager.c670 if (PAGE_SIZE_64 == FOURK_PAGE_SIZE) { in fourk_pager_create()
1102 (addr64_t) src_vaddr + PAGE_SIZE_64); in fourk_pager_data_request()
H A Dvm_pageout.c1521 (m)->vmp_offset + PAGE_SIZE_64, \
6531 dst_offset += PAGE_SIZE_64; in vm_object_upl_request()
7328 offset += PAGE_SIZE_64; in vm_map_enter_upl_range()
7329 new_offset += PAGE_SIZE_64; in vm_map_enter_upl_range()
7399 kasan_notify_address(addr, PAGE_SIZE_64); in vm_map_enter_upl_range()
7402 offset += PAGE_SIZE_64; in vm_map_enter_upl_range()
8143 target_offset += PAGE_SIZE_64; in upl_commit_range()
8626 target_offset += PAGE_SIZE_64; in upl_abort_range()
9094 *dst_offset += PAGE_SIZE_64; in vm_object_iopl_wire_empty()
9819 dst_offset += PAGE_SIZE_64; in vm_object_iopl_request()
[all …]
H A Dvm_swapfile_pager.c390 (addr64_t) (kernel_mapping + PAGE_SIZE_64)); in swapfile_pager_data_request()
H A Dmemory_object.c530 offset += PAGE_SIZE_64) { in vm_object_update_extent()
593 next_offset = offset + PAGE_SIZE_64; in vm_object_update_extent()
H A Dvm_compressor.c437 return ((uint64_t)AVAILABLE_NON_COMPRESSED_MEMORY) * PAGE_SIZE_64; in vm_available_memory()
469 return c_segment_pages_compressed * PAGE_SIZE_64; in vm_compressor_pages_compressed()
1555 uint64_t uncompressed_bytes = ((c_seg->c_slots_used) * PAGE_SIZE_64); in c_seg_update_task_owner()
2896 total_bytes = compressor_object->resident_page_count * PAGE_SIZE_64; in vm_consider_waking_compactor_swapper()
5174 task_update_frozen_to_swap_acct(c_seg->c_task_owner, PAGE_SIZE_64, DEBIT_FROM_SWAP); in c_decompress_page()
H A Dvm_kern.c1298 pg_offset += PAGE_SIZE_64) { in kernel_memory_populate_object_and_unlock()
1441 pg_offset += PAGE_SIZE_64) { in kernel_memory_depopulate()
1874 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
1919 offset += PAGE_SIZE_64) { in kmem_realloc_guard()
H A Dbsd_vm.c258 offset += PAGE_SIZE_64; in memory_object_control_uiomove()
H A Dvm_map.c2287 offset += PAGE_SIZE_64; in vm_map_pmap_enter()
11545 offset += PAGE_SIZE_64; in vm_map_copyout_internal()
15254 entry_size = (uint32_t) ((entry->vme_end - entry->vme_start) / PAGE_SIZE_64); in vm_map_region_top_walk()
21261 *shared_count = (unsigned int) ((dirty_shared_count * PAGE_SIZE_64) / (1024 * 1024ULL)); in vm_map_freeze()
21263 …_pages_threshold = (memorystatus_freeze_shared_mb_per_process_max * 1024 * 1024ULL) / PAGE_SIZE_64; in vm_map_freeze()
H A Dvm_resident.c4661 mem->vmp_offset + PAGE_SIZE_64, in vm_page_wire()
8250 for (addr = saddr_aligned; addr < eaddr_aligned; addr += PAGE_SIZE_64) { in hibernate_mark_as_unneeded()
/xnu-8796.141.3/bsd/vfs/
H A Dvfs_cluster.c2207 f_offset = (off_t)(r_addr * PAGE_SIZE_64); in cluster_read_ahead()
2211 ubc_range_op(vp, f_offset, f_offset + PAGE_SIZE_64, UPL_ROP_PRESENT, &size_of_prefetch); in cluster_read_ahead()
3229 zero_pg_index = (int)((zero_off - upl_f_offset) / PAGE_SIZE_64); in cluster_zero_range()
3257 cl.b_addr = (daddr64_t)(s_offset / PAGE_SIZE_64); in cluster_update_state()
3258 cl.e_addr = (daddr64_t)(e_offset / PAGE_SIZE_64); in cluster_update_state()
3632 zero_cnt1 = PAGE_SIZE_64 - (zero_off1 & PAGE_MASK_64); in cluster_write_copy()
3674 cl.b_addr = (daddr64_t)(upl_f_offset / PAGE_SIZE_64); in cluster_write_copy()
3707 upl_f_offset += PAGE_SIZE_64; in cluster_write_copy()
3925 cl.e_addr = (daddr64_t)((upl_f_offset + (off_t)upl_size) / PAGE_SIZE_64); in cluster_write_copy()
4146 extent.b_addr = uio->uio_offset / PAGE_SIZE_64; in cluster_read_copy()
[all …]
/xnu-8796.141.3/bsd/kern/
H A Dkern_memorystatus.c872 memorystatus_log_debug("memorystatus_debug_dump ***START*(PAGE_SIZE_64=%llu)**\n", PAGE_SIZE_64); in memorystatus_debug_dump_bucket_locked()
880 (bytes / PAGE_SIZE_64), /* task's footprint converted from bytes to pages */ in memorystatus_debug_dump_bucket_locked()
4736 pages = (get_task_phys_footprint(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
4741 pages = (get_task_phys_footprint_lifetime_max(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
4746 pages = (get_task_purgeable_size(task) / PAGE_SIZE_64); in memorystatus_get_task_page_counts()
4762 *internal_pages = (get_task_internal(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
4766 *internal_compressed_pages = (get_task_internal_compressed(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
4770 *purgeable_nonvolatile_pages = (get_task_purgeable_nonvolatile(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
4774 …le_nonvolatile_compressed_pages = (get_task_purgeable_nonvolatile_compressed(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
4778 *alternate_accounting_pages = (get_task_alternate_accounting(task) / PAGE_SIZE_64); in memorystatus_get_task_phys_footprint_page_counts()
[all …]
H A Duipc_syscalls.c3598 xfsize = PAGE_SIZE_64 - pgoff; in sendfile()
H A Dubc_subr.c1317 lastpg += PAGE_SIZE_64; in ubc_setsize_ex()
/xnu-8796.141.3/osfmk/mach/
H A Dvm_param.h88 #define PAGE_SIZE_64 (unsigned long long)PAGE_SIZE /* pagesize in addr units */ macro
/xnu-8796.141.3/osfmk/kdp/
H A Dkdp_core.c381 uint64_t vincr = PAGE_SIZE_64; in kernel_pmap_present_mapping()
479 vincr = PAGE_SIZE_64; in pmap_traverse_present_mappings()
/xnu-8796.141.3/osfmk/i386/
H A Dpmap_x86_common.c1350 cpte++, vaddr += PAGE_SIZE_64) { in pmap_remove_range_options()
1406 cpte++, vaddr += PAGE_SIZE_64) { in pmap_remove_range_options()
/xnu-8796.141.3/osfmk/kern/
H A Dcoalition.c2282 return bytes / PAGE_SIZE_64; in coalition_get_page_count()
H A Dtask.c2367 task_page_count = (get_task_phys_footprint(task) / PAGE_SIZE_64); in task_partial_reap()
4732 …*dirty_count = (uint32_t) (freezer_context_global.freezer_ctx_swapped_bytes / PAGE_SIZE_64); … in task_freeze()
/xnu-8796.141.3/osfmk/x86_64/
H A Dpmap.c1524 offset += PAGE_SIZE_64) { in pmap_is_empty()