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 D | vm_param.h | 86 #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 D | io_map.c | 70 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 D | machine_routines.c | 277 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 D | Diagnostics.c | 488 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 D | vm_param.h | 46 #define PAGE_MASK (PAGE_SIZE - 1) macro
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | phys.c | 140 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 D | machine_routines.c | 185 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 D | loose_ends.c | 414 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 D | vm_param.h | 100 #define PAGE_MASK (PAGE_SIZE - 1) macro
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/ |
H A D | kdp_vm.c | 146 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 D | vfs_cluster.c | 272 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 D | vfs_init.c | 422 mp->mnt_alignmentmask = PAGE_MASK;
|
/macosx-10.5.8/xnu-1228.15.4/libkern/gen/ |
H A D | OSDebug.cpp | 133 if (((PAGE_SIZE - (stackptr & PAGE_MASK)) < i386_RETURN_OFFSET) &&
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_map.h | 956 #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 D | vm_object.h | 812 #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 D | vm_kern.c | 1024 obj_off_aligned = obj_off & ~PAGE_MASK; 1025 file_off_aligned = file_off & ~PAGE_MASK;
|
/macosx-10.5.8/AppleMacRiscPCI-3.4/ |
H A D | AppleMacRiscPCI.cpp | 1387 (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 D | AppleDART.cpp | 596 UInt offset = addr & PAGE_MASK;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOBufferMemoryDescriptor.cpp | 143 alignment = ((physicalMask ^ PAGE_MASK) & PAGE_MASK) + 1;
|
H A D | IOCopyMapper.cpp | 371 UInt offset = addr & PAGE_MASK;
|
H A D | IOMapper.cpp | 155 kr = kmem_alloc_contig(kernel_map, &address, size, PAGE_MASK, 0, 0);
|
H A D | IODMACommand.cpp | 374 remapAddr += (address & PAGE_MASK); 963 + (curSeg.fIOVMAddr & PAGE_MASK); 972 + (curSeg.fIOVMAddr & PAGE_MASK);
|
H A D | IOMemoryDescriptor.cpp | 866 _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 D | kalloc.c | 642 && (size & ~PAGE_MASK)) { 699 && (size & ~PAGE_MASK)) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_mman.c | 250 pageoff = (file_pos & PAGE_MASK); 270 if (user_addr & PAGE_MASK) 986 pageoff = (addr & PAGE_MASK);
|
Completed in 225 milliseconds
12