Searched refs:VM_PAGE_PACK_PTR (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/osfmk/vm/
H A Dvm_page.h176 #define VM_PAGE_PACK_PTR(m) (!(m) ? (vm_page_packed_t)0 : ((vm_page_packed_t)((uintptr_t)(((uintptr_t)(m) - (uintptr_t) VM_MIN_KERNEL_AND_KEXT_ADDRESS)) >> 6))) macro
187 #define VM_PAGE_PACK_PTR(m) ((vm_page_packed_t)(m)) macro
H A Dvm_resident.c533 m->next_m = VM_PAGE_PACK_PTR(VM_PAGE_NULL);
720 bucket->page_list = VM_PAGE_PACK_PTR(VM_PAGE_NULL);
858 * struct vm_page must be of size 64 due to VM_PAGE_PACK_PTR use
864 * for VM_PAGE_PACK_PTR (it clips off the low-order
900 if (VM_PAGE_UNPACK_PTR(VM_PAGE_PACK_PTR(&vm_pages[0])) != &vm_pages[0])
901 panic("VM_PAGE_PACK_PTR failed on &vm_pages[0] - %p", (void *)&vm_pages[0]);
903 if (VM_PAGE_UNPACK_PTR(VM_PAGE_PACK_PTR(&vm_pages[vm_pages_count-1])) != &vm_pages[vm_pages_count-1])
904 panic("VM_PAGE_PACK_PTR failed on &vm_pages[vm_pages_count-1] - %p", (void *)&vm_pages[vm_pages_count-1]);
1162 bucket->page_list = VM_PAGE_PACK_PTR(mem);
1363 mem->next_m = VM_PAGE_PACK_PTR(VM_PAGE_NUL
[all...]
/xnu-2782.1.97/osfmk/kern/
H A Dzalloc.c2203 if (VM_PAGE_UNPACK_PTR(VM_PAGE_PACK_PTR(zone_map_min_address)) != (vm_page_t)zone_map_min_address)
2204 panic("VM_PAGE_PACK_PTR failed on zone_map_min_address - %p", (void *)zone_map_min_address);
2206 if (VM_PAGE_UNPACK_PTR(VM_PAGE_PACK_PTR(zone_map_max_address)) != (vm_page_t)zone_map_max_address)
2207 panic("VM_PAGE_PACK_PTR failed on zone_map_max_address - %p", (void *)zone_map_max_address);

Completed in 41 milliseconds