Searched refs:round_page (Results 26 - 47 of 47) sorted by relevance

12

/xnu-2782.1.97/osfmk/x86_64/
H A Dpmap.c680 s = round_page(s);
1091 pmap_mark_range(kernel_pmap, sec->addr, round_page(sec->size), FALSE, TRUE);
1093 pmap_mark_range(kernel_pmap, sec->addr, round_page(sec->size), TRUE, FALSE);
/xnu-2782.1.97/osfmk/i386/
H A Dlapic_native.c123 round_page(LAPIC_SIZE), 0,
/xnu-2782.1.97/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c614 foffset = (uint32_t)round_page(header_size); /* offset into file */
/xnu-2782.1.97/iokit/Kernel/
H A DIODMACommand.cpp473 state->fCopyPageCount = atop_64(round_page(state->fPreparedLength));
745 state->fLocalMapperPageCount = atop_64(round_page(
H A DIOPMrootDomain.cpp8719 data[0] = round_page(sizeof(swd_hdr) + hdr->spindump_size);
8889 bytesToRead = (round_page(numBytes) > tmpBufSize) ? tmpBufSize : round_page(numBytes);
8931 bytesToWrite = round_page(sizeof(swd_stackshot_hdr));
9027 rc = vn_rdwr(UIO_READ, vp, (char *)tmpBuf, round_page(sizeof(IOHibernateImageHeader)), 0,
9032 DMSG("sleepWakeDebugDumpFromFile: Failed to read header size %lu(rc=%d)\n", round_page(sizeof(IOHibernateImageHeader)), rc);
9049 DLOG("Reading swd_hdr len 0x%lx offset 0x%lx\n", round_page(sizeof(swd_hdr)), trunc_page(hdrOffset));
9051 rc = vn_rdwr(UIO_READ, vp, (char *)tmpBuf, round_page(sizeof(swd_hdr)), trunc_page(hdrOffset),
9057 round_page(sizeof(swd_hdr)), rc);
H A DIOMemoryDescriptor.cpp915 UInt nb_pages = round_page(chunk) / PAGE_SIZE;
2867 vm_size_t ioplSize = round_page(numBytes);
3377 size = round_page(mapping->fLength);
3595 err = device_pager_populate_object( pager, 0, atop_64(allPhys), round_page(allLen) );
4122 vm_size_t size = round_page(fLength);
H A DIOHibernateIO.cpp2563 count = atop_32(round_page(hibernateEnd) - hibernateBase);
2599 count = round_page(hibernateEnd) - ((uintptr_t) src);
2693 count = atop_32(round_page(KERNEL_IMAGE_TO_PHYS(hibernateEnd))) - page;
3196 vars->videoMapSize = round_page(gIOHibernateGraphicsInfo->height
H A DIODeviceTreeSupport.cpp197 (void *)dtMap[0], (int) round_page(dtMap[1]) );
/xnu-2782.1.97/osfmk/vm/
H A Dvm_object.c596 round_page(512*1024),
597 round_page(12*1024),
626 round_page(512*1024),
627 round_page(12*1024),
7713 cluster_size = round_page(fault_info->cluster_size);
7724 min_ph_size = round_page(preheat_min_bytes);
7725 max_ph_size = round_page(preheat_max_bytes);
7813 pre_heat_size = round_page(pre_heat_size);
H A Dvm_resident.c744 virtual_space_start = round_page(virtual_space_start);
800 virtual_space_start = round_page(virtual_space_start);
817 for (vaddr = round_page(addr);
868 virtual_space_start = round_page(virtual_space_start);
877 tmpaddr = tmpaddr + (addr64_t)(round_page(virtual_space_start) - virtual_space_start); /* Account for any slop */
995 virtual_space_start = round_page(virtual_space_start);
H A Dbsd_vm.c1004 size = round_page(((vm_size_t)(vnode_size - base_offset)));
H A Dvm_map.c692 map_data_size = round_page(10 * sizeof(struct _vm_map));
/xnu-2782.1.97/osfmk/ipc/
H A Dipc_kmsg.c2258 round_page(length) - length);
2266 *paddr += round_page(length);
2267 *space_needed -= round_page(length);
2548 if (space_needed + round_page(size) <= space_needed) {
2555 space_needed += round_page(size);
H A Dipc_voucher.c838 new_size = (iv_index_t)round_page((old_size * sizeof(ivac_entry)))/(sizeof (ivac_entry));
/xnu-2782.1.97/libkern/kxld/
H A Dkxld_object.c1144 data_size += round_page(overflow);
1713 0 : round_page(get_macho_header_size(object));
1749 data_offset = (object->is_final_image) ? header_size : round_page(header_size);
/xnu-2782.1.97/osfmk/kern/
H A Dlocks.c1119 lockgroup_info_size = round_page(lck_grp_cnt * sizeof *lockgroup_info);
/xnu-2782.1.97/bsd/kern/
H A Dubc_subr.c2747 *blob_size_p = round_page(*blob_size_p);
2930 (memory_object_size_t) round_page(size)) {
H A Dmach_loader.c584 size = round_page(mach_header_sz + header->sizeofcmds);
H A Duipc_mbuf.c2723 size = round_page(i * bufsize);
/xnu-2782.1.97/osfmk/console/
H A Dvideo_console.c2754 fbsize = (unsigned int) round_page(boot_vinfo->v_length);
2756 fbsize = (unsigned int) round_page(new_vinfo.v_height * new_vinfo.v_rowbytes); /* Remember size */
/xnu-2782.1.97/osfmk/kdp/
H A Dkdp_udp.c1614 uintptr_t next_page = round_page((uintptr_t)panic_data);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_bio.c2124 bp->nb_validend = round_page(on+n);

Completed in 454 milliseconds

12