Searched refs:page_size (Results 1 - 21 of 21) sorted by relevance

/darwin-on-arm/xnu/osfmk/chud/
H A Dchud_memory.c56 return (uint64_t)vm_page_free_count * (uint64_t)page_size;
66 return (uint64_t)vm_page_inactive_count * (uint64_t)page_size;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOBufferMemoryDescriptor.cpp110 page_size, 0, options);
113 bzero((void *) vmaddr, page_size);
114 pa = (typeof(pa)) (vmaddr + page_size - kIOPageAllocChunkBytes);
125 kmem_free( kernel_map, trunc_page((uintptr_t) pa), page_size);
240 pa = (typeof(pa)) (addr | (page_size - kIOPageAllocChunkBytes));
339 if (alignment < page_size)
340 alignment = page_size;
343 if ((options & (kIOMemorySharingTypeMask | kIOMapCacheMask | kIOMemoryClearEncrypt)) && (alignment < page_size))
344 alignment = page_size;
346 if (alignment >= page_size)
[all...]
H A DIOLib.cpp243 else if (adjustedSize >= page_size) {
254 if (adjustedSize >= page_size) {
300 if (adjustedSize >= page_size) {
310 if (adjustedSize >= page_size)
337 if (adjustedSize >= page_size) {
374 contiguous = (contiguous && (adjustedSize > page_size))
375 || (alignment > page_size);
383 contiguous = (contiguous && (adjustedSize > page_size))
384 || (alignment > page_size);
634 if (alignment > page_size)
[all...]
H A DIOHibernateIO.cpp1180 4 * page_size, page_size);
1182 2 * kDefaultIOSize, page_size);
1185 ptoa_64(gIOHibernateHandoffPageCount), page_size);
2225 src += page_size;
2290 for (page = 0; page < count; page += page_size)
2442 err = IOMemoryDescriptorWriteFromPhysical(vars->srcBuffer, 0, ptoa_64(page), page_size);
2457 pageCompressedSize = WKdm_compress ((WK_word*) src, (WK_word*) (src + page_size), PAGE_SIZE_IN_WORDS);
2462 compBytes += page_size;
2467 if (pageCompressedSize > page_size)
[all...]
H A DIOMemoryDescriptor.cpp1210 remap |= (dataP->fDMAMapAlignment > page_size);
1600 length = page_size - (address & (page_size - 1));
1603 length += page_size;
1688 length = page_size - (phys64 & (page_size - 1));
1691 length += page_size;
3251 page += page_size)
3254 (ppnum_t)(atop_64(physAddr + page)), page_size);
3255 pagerOffset += page_size;
[all...]
H A DIODMACommand.cpp917 copyLen = min(copyLen, page_size - (ioAddr & (page_size - 1)));
1059 checkOffset += page_size - (phys & page_mask);
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-md.c355 size_t page_size = pv->page_size;
362 size_t callback_size = page_size;
430 if (!pv->page_size) {
431 pv->page_size = 4096;
460 misc_size = page_size;
477 extra_arc_size = 4*page_size;
478 extra_func_size = 2*page_size;
484 arc_size = ROUNDUP(PROFILE_NUM_ARCS * sizeof(struct hasharc), page_size);
485 func_size = ROUNDUP(PROFILE_NUM_FUNCS * sizeof(struct gfuncs), page_size);
352 size_t page_size = pv->page_size; local
[all...]
H A Dprofile-asm.s477 LCL(page_size) = LCL(fwrite_func)+4 /* page size in bytes */
478 LCL(str_bytes) = LCL(page_size)+4 /* # bytes in string table */
658 #define V_page_size LCL(page_size)
792 decl %edx /* page_size - 1 */
828 decl %edx /* page_size - 1 */
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleMacIO/
H A DAppleMacIO.cpp186 buffer = IOBufferMemoryDescriptor::withCapacity(page_size, kIODirectionOutIn, true);
192 if ( (UInt32)dmaDescriptors & (page_size - 1) ) {
197 bzero( dmaDescriptors, page_size );
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dmem.c249 base += page_size;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dmem.c250 base += page_size;
/darwin-on-arm/xnu/osfmk/mach/
H A Dvm_param.h275 extern vm_size_t page_size;
/darwin-on-arm/xnu/osfmk/profiling/
H A Dprofile-internal.h271 size_t page_size; /* machine pagesize */ member in struct:profile_vars
H A Dprofile-mk.c117 pv->page_size = PAGE_SIZE;
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_mib.c285 int usermem = mem_size - vm_page_wire_count * page_size;
323 long long l = page_size;
391 SYSCTL_COMPAT_INT (_hw, HW_PAGESIZE, pagesize_compat, CTLFLAG_RD | CTLFLAG_MASKED | CTLFLAG_LOCKED, &page_size, 0, "");
H A Dpthread_synch.c245 page_size-1,
1071 page_size-1,
H A Duipc_mbuf.c2720 bzero((void *)(uintptr_t) page, page_size);
/darwin-on-arm/xnu/osfmk/i386/
H A Dloose_ends.c601 offset = (uint32_t)(addr & ((addr64_t) (page_size - 1)));
602 chunk = (uint32_t)page_size - offset;
614 chunk = (uint32_t) page_size;
/darwin-on-arm/xnu/osfmk/device/
H A Diokit_rpc.c572 for (off = 0; off < length; off += page_size)
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_resident.c218 vm_size_t page_size = PAGE_SIZE; variable
375 * Sets page_shift and page_mask from page_size.
380 page_mask = page_size - 1;
382 if ((page_mask & page_size) != 0)
386 if ((1U << page_shift) == page_size)
H A Dvm_pageout.c5951 ((page_list_count != NULL) && (*page_list_count != 0) && *page_list_count < (size/page_size)))

Completed in 298 milliseconds