Searched refs:atop_64 (Results 1 - 16 of 16) sorted by relevance
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_external.h | 89 #define stob(s) ((atop_64((s)) + 07) >> 3)
|
H A D | vm_external.c | 250 bit = atop_64(offset); 269 bit = atop_64(offset); 284 bit = atop_64(offset);
|
H A D | memory_object.c | 939 (atop_64(size) > (unsigned)(object->resident_page_count/(8 * MAX_EXTENTS)))) {
|
H A D | vm_resident.c | 757 assert((unsigned int) atop_64(max_mem) == atop_64(max_mem)); 758 vm_page_wire_count = ((unsigned int) atop_64(max_mem)) - vm_page_free_count - vm_lopage_free_count; /* initial value */ 1072 ( (natural_t)((uintptr_t)object * vm_page_bucket_hash) + ((uint32_t)atop_64(offset) ^ vm_page_bucket_hash))\
|
H A D | vm_object.c | 5934 if (atop_64(end - start) < (unsigned)object->resident_page_count/16) { 6102 num_pages = atop_64(size);
|
H A D | vm_pageout.c | 3579 memorystatus_level = (unsigned int) (available_memory / atop_64(max_mem));
|
/xnu-2782.1.97/osfmk/mach/ |
H A D | vm_param.h | 96 #define atop_64(x) ((uint64_t)(x) >> PAGE_SHIFT) macro 167 #undef atop_64 202 #define atop_64(x) ((uint64_t)((x) + (uint8_t *)0))
|
/xnu-2782.1.97/iokit/Kernel/ |
H A D | IOHibernateRestoreKernel.c | 475 lastImagePage = atop_64(headerPhys + gIOHibernateCurrentHeader->image1Size); 476 lastMapPage = atop_64(mapPhys + gIOHibernateCurrentHeader->bitmapSize); 490 for (ppnum = atop_64(headerPhys); ppnum <= lastImagePage; ppnum++) 504 gIOHibernateCurrentHeader->diag[0] = atop_64(headerPhys); 526 lastPageIndexPage = atop_64(imageReadPhys); 603 conflicts = (ppnum >= atop_64(mapPhys)) && (ppnum <= lastMapPage); 605 conflicts |= ((ppnum >= atop_64(imageReadPhys)) && (ppnum <= lastImagePage)); 608 conflicts |= ((ppnum >= atop_64(srcPhys)) && (ppnum <= (handoffPages + handoffPageCount - 1))); 611 conflicts |= ((ppnum >= atop_64(pageIndexPhys)) && (ppnum <= lastPageIndexPage));
|
H A D | IODMACommand.cpp | 370 numPages = atop_64(round_page_64((address & PAGE_MASK) + length)); 385 vm_page_set_offset(lastPage, atop_64(address) + idx); 473 state->fCopyPageCount = atop_64(round_page(state->fPreparedLength)); 745 state->fLocalMapperPageCount = atop_64(round_page( 807 fMapper->iovmFreeDMACommand(this, atop_64(state->fLocalMapperPageAlloc), state->fLocalMapperPageCount); 811 fMapper->iovmFree(atop_64(state->fLocalMapperPageAlloc), state->fLocalMapperPageCount); 1124 ppnum_t addrPage = atop_64(addr);
|
H A D | IOMemoryDescriptor.cpp | 1601 pages += (atop_64(addr + len + PAGE_MASK) - atop_64(addr)); 1608 ppnum_t highPage = atop_64(addr + len - 1); 1665 dataP->fMapper->iovmFree(atop_64(dataP->fMappedBase), _pages); 2629 page = atop_64(round_page_64(pa)); 2630 end = atop_64(trunc_page_64(pa + count)); 2641 page = atop_64(round_page_64(pa)); 2642 end = atop_64(trunc_page_64(pa + count)); 3068 pageCount += atop_64(round_page_64(align + segLen)); 3089 ppnum_t page = atop_64(phy [all...] |
H A D | IOHibernateIO.cpp | 2361 hibernate_set_page_state(vars->page_list, vars->page_list_wired, atop_64(addr), 1, kIOHibernatePageStateFree); 2364 hibernate_page_bitset(vars->page_list_pal, TRUE, atop_64(addr)); 2558 gIOHibernateHandoffPages[atop_32(count) + pagesDone] = atop_64(phys64) + pagesDone; 2623 pageAndCount[0] = atop_64(phys64); 2649 sum1 += hibernate_sum_page(src + page, atop_64(phys64)); 2663 atop_64(phys64), atop_32(segLen), 2673 atop_64(phys64), atop_32(segLen), 2704 atop_64(phys64), atop_32(segLen), 2714 atop_64(phys64), atop_32(segLen),
|
H A D | IOLib.cpp | 411 else if (gIOLastPage && (atop_64(maxPhys) > gIOLastPage))
|
/xnu-2782.1.97/osfmk/device/ |
H A D | iokit_rpc.c | 489 pagenum = (ppnum_t)atop_64(pa); 524 pmap_map_block(pmap, va, pagenum, (uint32_t) atop_64(round_page_64(length)), prot, 0, 0);
|
/xnu-2782.1.97/bsd/kern/ |
H A D | kern_memorystatus.c | 777 memorystatus_delta = delta_percentage * atop_64(max_mem) / 100; 778 memorystatus_available_pages_critical_idle_offset = idle_offset_percentage * atop_64(max_mem) / 100; 2166 memorystatus_level = memorystatus_available_pages * 100 / atop_64(max_mem);
|
H A D | ubc_subr.c | 3630 #define stob(s) ((atop_64((s)) + 07) >> 3) 3691 bit = atop_64( offset );
|
H A D | uipc_mbuf.c | 5611 base_phys = mcl_paddr[atop_64(addr - (char *)mbutl)];
|
Completed in 192 milliseconds