Searched refs:phys (Results 1 - 25 of 27) sorted by relevance

12

/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Dhibernate_restore.c62 pal_hib_map(uintptr_t virt, uint64_t phys) argument
80 if (phys < IMAGE2_AREA)
84 return (phys);
87 virt += (uintptr_t)(phys & I386_LPGMASK);
88 phys = ((phys & ~((uint64_t)I386_LPGMASK)) | INTEL_PTE_PS | INTEL_PTE_VALID | INTEL_PTE_WRITE);
89 if (phys == BootPTD[index]) return (virt);
90 BootPTD[index] = phys;
92 BootPTD[index + 1] = (phys + I386_LPGBYTES);
H A Dpmap.h412 ledger_t ledger; /* ledger tracking phys mappings */
548 * Get cache attributes (as pagetable bits) for the specified phys page
567 extern void invalidate_icache(vm_offset_t addr, unsigned cnt, int phys);
568 extern void flush_dcache(vm_offset_t addr, unsigned count, int phys);
H A Dpmap_internal.h88 ppnum_t phys,
428 * (coming in by phys ppn) take a lock on the corresponding pv and then
920 ppnum_t phys,
923 ppnum_t phys,
/macosx-10.10/ruby-106/ruby/sample/
H A Dbiorhythm.rb41 phys = (50.0 * (1.0 + sin((z / 23.0 - (z / 23)) * 360.0 * pi / 180.0))).to_i
44 return phys, emot, geist
95 phys, emot, geist = get_position(dd - bd)
97 printf "Physical: %d%%\n", phys
109 phys, emot, geist = get_position(z)
112 p = (phys / 2.0 + 0.5).to_i
/macosx-10.10/cxxfilt-11/cxxfilt/include/gdb/
H A Dsim-d10v.h60 unsigned long *phys,
67 unsigned long *phys,
74 unsigned long *phys,
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWPhysicalAddressSpace.cpp315 UInt64 phys; local
331 phys = getPhysicalSegment( pos, &lengthOfSegment );
333 if( (address >= phys) && (address < (phys+lengthOfSegment)) )
335 UInt32 union_length = (lengthOfSegment - (address - phys));
346 UInt64 contiguous_address = (phys + lengthOfSegment);
379 *offset = (pos + address - phys);
400 UInt64 phys; local
421 phys = getPhysicalSegment(pos, &lengthOfSegment);
423 // IOLog( "IOFWPhysicalAddressSpace::doWrite - address = 0x%016llx phys
662 UInt64 phys = 0; local
[all...]
H A DIOFireLog.cpp144 IOPhysicalAddress phys = fLogDescriptor->getPhysicalSegment( 0, &lengthOfSegment ); local
147 fLogPhysicalAddress = phys;
/macosx-10.10/ksh-23/ksh/src/lib/libast/path/
H A Dpathcanon.c69 char* phys; local
79 phys = path;
113 if (stat(phys, &st))
142 if (x = pathnext(phys, s - (*s != 0), &visits))
166 dots = pathgetlink(phys, buf, sizeof(buf));
194 if (stat(phys, &st))
/macosx-10.10/xnu-2782.1.97/iokit/IOKit/
H A DIODeviceTreeSupport.h89 IOPhysicalAddress * phys, IOPhysicalLength * len );
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dpmap.h242 ppnum_t phys,
246 ppnum_t phys,
283 ppnum_t phys);
286 ppnum_t phys,
/macosx-10.10/xnu-2782.1.97/osfmk/x86_64/
H A Dloose_ends.c94 extern void invalidate_icache64(addr64_t addr, unsigned cnt, int phys);
95 extern void flush_dcache64(addr64_t addr, unsigned count, int phys);
578 flush_dcache64(addr64_t addr, unsigned count, int phys) argument
580 if (phys) {
598 __unused int phys)
596 invalidate_icache64(__unused addr64_t addr, __unused unsigned count, __unused int phys) argument
H A Dpmap.c1377 * Remove phys addr if mapped in specified map
2045 __unused int phys)
2053 __unused int phys)
2043 invalidate_icache(__unused vm_offset_t addr, __unused unsigned cnt, __unused int phys) argument
2051 flush_dcache(__unused vm_offset_t addr, __unused unsigned count, __unused int phys) argument
/macosx-10.10/xnu-2782.1.97/bsd/dev/
H A Dmemdev.c178 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys);
455 int devid, phys; local
466 phys = 0; /* Assume virtual memory device */
478 if(ba[0] == 'p') phys = 1; /* Set physical memory disk */
496 dev = mdevadd(devid, base >> 12, (unsigned)size >> 12, phys); /* Go add the device */
563 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys) { argument
629 if(phys) mdev[devid].mdFlags |= mdPhys; /* Show that we are in physical memory */
/macosx-10.10/IOHIDFamily-606.1.7/IOHIDSystem/
H A DIOHIDPointingDevice.cpp374 UInt16 phys = 3276700 / _resolution; local
375 convert16to8(-phys, mouse->xyPhyMinNum);
376 convert16to8(phys, mouse->xyPhyMaxNum);
/macosx-10.10/IOFireWireSBP2-425/IOFireWireSBP2/
H A DIOFireWireSBP2ORB.cpp220 FWKLOG( ( "IOFireWireSBP2ORB<%p> : created orb at phys: 0x%04lx.%08lx psuedo: 0x%04lx.%08lx of size %d\n",
1348 UInt64 phys = 0; local
1373 phys = segment.fIOVMAddr;
1379 if( phys == 0 )
1422 entry.segmentBaseAddressHi = OSSwapHostToBigInt16( ((phys >> 32) & 0x000000000000ffffULL) );
1423 entry.segmentBaseAddressLo = OSSwapHostToBigInt32( (phys & 0x00000000ffffffffULL) );
1433 phys += toMap;
H A DIOFireWireSBP2LSIWorkaroundDescriptor.cpp954 IOPhysicalAddress phys = NULL; local
966 (phys = fOriginalDesc->getPhysicalSegment( i, &seg_length )) )
983 range->address = phys;
/macosx-10.10/xnu-2782.1.97/iokit/Kernel/
H A DIODeviceTreeSupport.cpp983 IOPhysicalAddress * phys, IOPhysicalLength * lenOut )
1020 *phys = CellsValue( childAddressCells, cell );
1021 *phys += offset;
1128 IOPhysicalAddress phys; local
1151 if( IODTResolveAddressCell( parentEntry, reg, &phys, &len )) {
1155 phys - parent->getPhysicalSegment(0, 0, kIOMemoryMapperNone), len );
1157 range = IODeviceMemory::withRange( phys, len );
981 IODTResolveAddressCell( IORegistryEntry * regEntry, UInt32 cellsIn[], IOPhysicalAddress * phys, IOPhysicalLength * lenOut ) argument
H A DIOMemoryDescriptor.cpp620 if (-1U == pagerFlags) panic("phys is kIODefaultCache");
2725 ppnum_t phys; local
2736 phys = pmap_find_phys(kernel_pmap, ((addr64_t)offset) + ptoa_64(page));
2737 if (!phys)
2739 page_list[page].phys_addr = phys;
2745 if (phys > highestPage)
2746 highestPage = phys;
3044 addr64_t phys, align, pageOffset; local
3062 phys = walkArgs->fIOVMAddr;
3065 align = (phys
4204 addr64_t phys; local
[all...]
H A DIODMACommand.cpp1052 addr64_t phys = const_cast<IOMemoryDescriptor *>(fMemory)->getPhysicalSegment(checkOffset + offset, &segLen, kIOMemoryMapperNone);
1053 if (fMapper->mapAddr(state->fIOVMAddr + checkOffset) != phys)
1055 panic("%llx != %llx:%llx, %llx phys: %llx %llx\n", offset,
1057 phys, checkOffset);
1059 checkOffset += page_size - (phys & page_mask);
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/edit/
H A Dedit.c1159 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos) argument
1161 register genchar *sp=phys;
1307 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff) argument
1310 register genchar *dp = phys;
1313 genchar *dpmax = phys+MAXLINE;
1320 r = dp - phys;
1344 c = dp-phys;
1359 r = dp - phys;
1366 ep->e_peol = dp-phys;
/macosx-10.10/cxxfilt-11/cxxfilt/include/opcode/
H A Dpyr.h260 {"mnegp", { 2, "", UNKNOWN, 0x00} }, /move-neg phys?*/
261 {"ldp", { 2, "", UNKNOWN, 0x00} }, /*load phys?*/
275 {"cmpp", { 2, "", UNKNOWN, 0x00} }, /* cmp phys?*/
280 {"rphysw", { 2, "", UNKNOWN, 0x00} }, /* read phys word?*/
281 {"wphysw", { 2, "", UNKNOWN, 0x00} }, /* write phys word?*/
287 {"callp", { 2, "", UNKNOWN, 0x00} }, /* call phys?*/
294 {"vtpa", { 2, "", UNKNOWN, 0x00} }, /*virt-to-phys-addr?*/
/macosx-10.10/IOPCIFamily-239.1.2/
H A DIOPCIBridge.cpp2202 IOPhysicalAddress64 phys,
2226 phys, len);
2230 ok = subMem->initSubRange(ioDeviceMemory(), phys, len, (IODirection) kIOMemoryThreadSafe);
2234 range.address = phys;
2254 phys &= 0x00ffffff; // seems bogus
2255 md = IOSubMemoryDescriptor::withSubRange(ioMemory, phys, len, kIOMemoryThreadSafe);
2260 phys + ioMemory->getPhysicalSegment(0, 0, kIOMemoryMapperNone),
2268 phys, len, kIODirectionNone | kIOMemoryMapperNone, NULL);
2290 IOPhysicalAddress64 phys; local
2293 IOPhysicalAddress phys; local
2201 constructRange( IOPCIAddressSpace * flags, IOPhysicalAddress64 phys, IOPhysicalLength64 len, OSArray * array ) argument
[all...]
/macosx-10.10/IOPCIFamily-239.1.2/IOKit/pci/
H A DIOPCIBridge.h154 IOPhysicalAddress64 phys, IOPhysicalLength64 len,
/macosx-10.10/xnu-2782.1.97/iokit/bsddev/
H A DIOKitBSDInit.cpp50 extern dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys);
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_subr.c641 uint64_t phys; local
643 if (panic_phys_range_before(hook->mp, &phys, &range)) {
644 kdb_log("mp = %p, phys = %p, prev (%p: %p-%p)\n",
645 hook->mp, phys, range.type, range.phys_start,
648 kdb_log("mp = %p, phys = %p, prev (!)\n", hook->mp, phys);
651 if (panic_phys_range_before(hook->vp, &phys, &range)) {
652 kdb_log("vp = %p, phys = %p, prev (%p: %p-%p)\n",
653 hook->mp, phys, range.type, range.phys_start,
656 kdb_log("vp = %p, phys
[all...]

Completed in 308 milliseconds

12