Searched refs:PAGE_MASK (Results 1 - 25 of 46) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/
H A Dvm_param.h86 #define PAGE_MASK_64 (unsigned long long)PAGE_MASK /* mask for off in page */
116 #define mach_vm_round_page(x) (((mach_vm_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
117 #define mach_vm_trunc_page(x) ((mach_vm_offset_t)(x) & ~((signed)PAGE_MASK))
119 #define memory_object_round_page(x) (((memory_object_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
120 #define memory_object_trunc_page(x) ((memory_object_offset_t)(x) & ~((signed)PAGE_MASK))
127 #define round_page(x) (((vm_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
128 #define trunc_page(x) ((vm_offset_t)(x) & ~((signed)PAGE_MASK))
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dio_map.c70 size = round_page(size + (phys_addr & PAGE_MASK)); /* Make sure we map all of it */
78 return (start + (phys_addr & PAGE_MASK)); /* Pass back the physical address */
130 return (start + (phys_addr & PAGE_MASK));
H A Dmachine_routines.c277 count = PAGE_SIZE - (cur_phys_src & PAGE_MASK);
278 if (count > (PAGE_SIZE - (cur_phys_dst & PAGE_MASK)))
279 count = PAGE_SIZE - (cur_phys_dst & PAGE_MASK);
H A DDiagnostics.c488 PAGE_MASK, 0, 0); /* That which does not make us stronger, kills us... */
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/
H A Dvm_param.h46 #define PAGE_MASK (PAGE_SIZE - 1) macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dphys.c140 assert((((uint32_t)dst & PAGE_MASK) + dst_offset + len) <= PAGE_SIZE);
141 assert((((uint32_t)src & PAGE_MASK) + src_offset + len) <= PAGE_SIZE);
H A Dmachine_routines.c185 count = PAGE_SIZE - (cur_phys_src & PAGE_MASK);
186 if (count > (PAGE_SIZE - (cur_phys_dst & PAGE_MASK)))
187 count = PAGE_SIZE - (cur_phys_dst & PAGE_MASK);
H A Dloose_ends.c414 if ((PAGE_SIZE - (paddr & PAGE_MASK)) < 4)
431 if ((PAGE_SIZE - (paddr64 & PAGE_MASK)) < 4)
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/
H A Dvm_param.h100 #define PAGE_MASK (PAGE_SIZE - 1) macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_vm.c146 cnt = PAGE_SIZE - (cur_phys_src & PAGE_MASK);
147 if (cnt > (PAGE_SIZE - (cur_phys_dst & PAGE_MASK)))
148 cnt = PAGE_SIZE - (cur_phys_dst & PAGE_MASK);
191 cnt_src = ((cur_phys_src + PAGE_SIZE) & (PAGE_MASK)) - cur_phys_src;
192 cnt_dst = ((cur_phys_dst + PAGE_SIZE) & (PAGE_MASK)) - cur_phys_dst;
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_cluster.c272 max_io_size &= ~PAGE_MASK;
572 cluster_zero(upl, zero_offset, PAGE_SIZE - (zero_offset & PAGE_MASK), real_bp);
606 pg_offset = upl_offset & PAGE_MASK;
607 commit_size = (pg_offset + transaction_size + (PAGE_SIZE - 1)) & ~PAGE_MASK;
663 page_offset = upl_offset & PAGE_MASK;
804 pg_offset = upl_offset & PAGE_MASK;
806 size = (((non_rounded_size + pg_offset) + (PAGE_SIZE - 1)) & ~PAGE_MASK) - pg_offset;
846 max_iosize &= ~PAGE_MASK;
897 if ((flags & CL_READ) && ((upl_offset + non_rounded_size) & PAGE_MASK) && (!(flags & CL_NOZERO))) {
1012 cbp->b_bcount &= ~PAGE_MASK;
[all...]
H A Dvfs_init.c422 mp->mnt_alignmentmask = PAGE_MASK;
/macosx-10.5.8/xnu-1228.15.4/libkern/gen/
H A DOSDebug.cpp133 if (((PAGE_SIZE - (stackptr & PAGE_MASK)) < i386_RETURN_OFFSET) &&
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_map.h956 #define vm_map_round_page(x) (((vm_map_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
957 #define vm_map_trunc_page(x) ((vm_map_offset_t)(x) & ~((signed)PAGE_MASK))
H A Dvm_object.h812 #define vm_object_round_page(x) (((vm_object_offset_t)(x) + PAGE_MASK) & ~((signed)PAGE_MASK))
813 #define vm_object_trunc_page(x) ((vm_object_offset_t)(x) & ~((signed)PAGE_MASK))
H A Dvm_kern.c1024 obj_off_aligned = obj_off & ~PAGE_MASK;
1025 file_off_aligned = file_off & ~PAGE_MASK;
/macosx-10.5.8/AppleMacRiscPCI-3.4/
H A DAppleMacRiscPCI.cpp1387 (gartPhys & ~PAGE_MASK) | (agpLength / agpSpacePerPage));
1510 len = (len + PAGE_MASK) & ~PAGE_MASK;
1517 ((phys64 & ~PAGE_MASK) | 1));
1574 length = (length + PAGE_MASK) & ~PAGE_MASK;
H A DAppleDART.cpp596 UInt offset = addr & PAGE_MASK;
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOBufferMemoryDescriptor.cpp143 alignment = ((physicalMask ^ PAGE_MASK) & PAGE_MASK) + 1;
H A DIOCopyMapper.cpp371 UInt offset = addr & PAGE_MASK;
H A DIOMapper.cpp155 kr = kmem_alloc_contig(kernel_map, &address, size, PAGE_MASK, 0, 0);
H A DIODMACommand.cpp374 remapAddr += (address & PAGE_MASK);
963 + (curSeg.fIOVMAddr & PAGE_MASK);
972 + (curSeg.fIOVMAddr & PAGE_MASK);
H A DIOMemoryDescriptor.cpp866 _pages += atop_32(offset + count + PAGE_MASK) - atop_32(offset);
881 offset &= PAGE_MASK;
945 pages += (atop_64(addr + len + PAGE_MASK) - atop_64(addr));
1212 data->fPageAlign = (ioplList[0].fPageOffset & PAGE_MASK) | ~PAGE_MASK;
1342 offset += (ioplInfo.fPageOffset & PAGE_MASK);
1366 offset &= PAGE_MASK;
1859 iopl.fPageOffset = (short) startPage & PAGE_MASK;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dkalloc.c642 && (size & ~PAGE_MASK)) {
699 && (size & ~PAGE_MASK)) {
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_mman.c250 pageoff = (file_pos & PAGE_MASK);
270 if (user_addr & PAGE_MASK)
986 pageoff = (addr & PAGE_MASK);

Completed in 225 milliseconds

12