| /xnu-11215/libkern/libkern/ |
| H A D | OSAtomic.h | 439 UInt32 mask, 459 UInt32 mask, 477 UInt32 mask, 495 UInt32 mask, 515 UInt32 mask, 533 UInt32 mask, 551 UInt32 mask, 571 UInt32 mask, 589 UInt32 mask, 607 UInt32 bit, [all …]
|
| H A D | OSTypes.h | 46 typedef unsigned int UInt32; typedef 48 typedef unsigned long UInt32; typedef 53 UInt32 hi; 54 UInt32 lo; 58 UInt32 lo; 59 UInt32 hi; 81 typedef UInt32 OptionBits __attribute__((deprecated));
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOSharedDataQueue.cpp | 52 IOSharedDataQueue::withCapacity(UInt32 size) in OSDefineMetaClassAndStructors() 66 IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) in withEntries() 173 UInt32 headOffset; in peek() 174 UInt32 tailOffset; in peek() 187 UInt32 headSize = 0; in peek() 221 UInt32 head; in enqueue() 222 UInt32 tail; in enqueue() 223 UInt32 newTail; in enqueue() 318 UInt32 entrySize = 0; in dequeue() 334 UInt32 headSize = 0; in dequeue() [all …]
|
| H A D | IODeviceTreeSupport.cpp | 44 typedef UInt32 dtptr_t; 539 UInt32 * value ) in GetUInt32() 607 UInt32 * iCellCount, UInt32 * aCellCount) in IODTGetICellCounts() 617 static UInt32 925 UInt32 nlen; in CompareKey() 1139 DefaultCompare( UInt32 cellCount, UInt32 left[], UInt32 right[] ) in DefaultCompare() 1155 DefaultCompare( UInt32 cellCount, UInt32 left[], UInt32 right[] ) in DefaultCompare() 1165 AddLengthToCells( UInt32 numCells, UInt32 *cells, UInt64 offset) in AddLengthToCells() 1187 CellsValue( UInt32 numCells, UInt32 *cells) in CellsValue() 1202 UInt32 * sizeCount, UInt32 * addressCount) in IODTGetCellCounts() [all …]
|
| H A D | IODataQueue.cpp | 46 UInt32 queueSize; 62 IODataQueue::withCapacity(UInt32 size) in OSDefineMetaClassAndStructors() 76 IODataQueue::withEntries(UInt32 numEntries, UInt32 entrySize) in withEntries() 90 IODataQueue::initWithCapacity(UInt32 size) in initWithCapacity() 127 IODataQueue::initWithEntries(UInt32 numEntries, UInt32 entrySize) in initWithEntries() 163 IODataQueue::enqueue(void * data, UInt32 dataSize) in enqueue() 165 UInt32 head; in enqueue() 166 UInt32 tail; in enqueue() 167 UInt32 newTail; in enqueue() 169 UInt32 queueSize; in enqueue() [all …]
|
| H A D | IODMAController.cpp | 39 IODMAController::createControllerName(UInt32 phandle) in createControllerName() 50 IODMAController::getController(IOService *provider, UInt32 dmaIndex) in getController() 63 if (dmaParentData->getLength() == sizeof(UInt32)) { in getController() 64 dmaParentName = createControllerName(*(UInt32 *)dmaParentData->getBytesNoCopy()); in getController() 66 if (dmaIndex >= dmaParentData->getLength() / sizeof(UInt32)) { in getController() 69 …aParentName = createControllerName(*(UInt32 *)dmaParentData->getBytesNoCopy(dmaIndex * sizeof(UInt… in getController() 105 _dmaControllerName = createControllerName(*(UInt32 *)phandleData->getBytesNoCopy()); in registerDMAController()
|
| H A D | IORangeAllocator.cpp | 70 UInt32 _capacity, in init() 101 UInt32 capacity, in withRange() 126 UInt32 132 UInt32 147 IORangeAllocator::allocElement( UInt32 index ) in allocElement() 149 UInt32 newCapacity; in allocElement() 202 UInt32 index; in allocate() 264 UInt32 index; in allocateRange() 317 UInt32 index; in deallocate() 359 UInt32 index; in serialize() [all …]
|
| H A D | IOLocks.cpp | 84 IOLockSleep( IOLock * lock, void *event, UInt32 interType) in IOLockSleep() 91 AbsoluteTime deadline, UInt32 interType) in IOLockSleepDeadline() 98 IOLockSleepWithInheritor( IOLock *lock, UInt32 lck_sleep_action, in IOLockSleepWithInheritor() 99 void *event, thread_t inheritor, UInt32 interType, uint64_t deadline) in IOLockSleepWithInheritor() 125 AbsoluteTime deadline, UInt32 interType) __asm("_IOLockSleepDeadline"); 129 IOLockSleep_legacy_x86_64( IOLock * lock, void *event, UInt32 interType) in IOLockSleep_legacy_x86_64() 140 AbsoluteTime deadline, UInt32 interType) in IOLockSleepDeadline_legacy_x86_64() 165 UInt32 count; 273 UInt32 count = lock->count; in IORecursiveLockSleep() 293 AbsoluteTime deadline, UInt32 interType) in IORecursiveLockSleepDeadline() [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IODMAController.h | 51 …rn initDMAChannel(IOService *provider, IODMAEventSource *dmaES, UInt32 *dmaIndex, UInt32 reqIndex)… 52 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction, 54 …virtual IOReturn stopDMACommand(UInt32 dmaIndex, bool flush = false, uint64_t timeout = UINT64_MAX… 58 virtual IOByteCount getFIFODepth(UInt32 dmaIndex, IODirection direction) = 0; 59 virtual IOReturn setFIFODepth(UInt32 dmaIndex, IOByteCount depth) = 0; 60 virtual IOByteCount validFIFODepth(UInt32 dmaIndex, IOByteCount depth, IODirection direction) = 0; 61 virtual IOReturn setFrameSize(UInt32 dmaIndex, UInt8 byteCount) = 0; 62 virtual IOReturn setDMAConfig(UInt32 dmaIndex, IOService *provider, UInt32 reqIndex) = 0; 63 virtual bool validDMAConfig(UInt32 dmaIndex, IOService *provider, UInt32 reqIndex) = 0; 66 static OSPtr<const OSSymbol> createControllerName(UInt32 phandle); [all …]
|
| H A D | IODMACommand.h | 77 UInt32 fIOVMAddr, fLength; 136 UInt32 segmentIndex); 372 UInt32 *numSegments); 425 UInt32 *numSegmentsP); 447 UInt32 *numSegmentsP); 573 UInt32 fAlignMaskLength; 589 UInt32 fAlignMask; 593 UInt32 fNumAddressBits; 597 UInt32 fNumSegments; 605 UInt32 fActive; [all …]
|
| H A D | IOMemoryCursor.h | 84 UInt32 segmentIndex); 146 virtual UInt32 genPhysicalSegments( 150 UInt32 maxSegments, 176 UInt32 segmentIndex); 219 virtual UInt32 223 UInt32 maxSegments, 252 UInt32 segmentIndex); 296 virtual UInt32 300 UInt32 maxSegments, 329 UInt32 segmentIndex); [all …]
|
| H A D | IOSharedDataQueue.h | 57 UInt32 queueSize; 72 UInt32 getQueueSize(); 81 Boolean setQueueSize(UInt32 size); 91 static OSPtr<IOSharedDataQueue> withCapacity(UInt32 size __xnu_data_size); 101 static OSPtr<IOSharedDataQueue> withEntries(UInt32 numEntries, UInt32 entrySize __xnu_data_size); 110 virtual Boolean initWithCapacity(UInt32 size) APPLE_KEXT_OVERRIDE; 136 virtual Boolean dequeue(void *data, UInt32 *dataSize); 146 virtual Boolean enqueue(void *data, UInt32 dataSize) APPLE_KEXT_OVERRIDE; 151 enqueue_tail(void *data, UInt32 dataSize) in enqueue_tail()
|
| H A D | IORangeAllocator.h | 55 UInt32 numElements; 56 UInt32 capacity; 57 UInt32 capacityIncrement; 64 virtual bool allocElement( UInt32 index ); 66 virtual void deallocElement( UInt32 index ); 84 UInt32 capacity, 98 UInt32 capacity = 0, 110 virtual UInt32 getFragmentCount( void ); 118 virtual UInt32 getFragmentCapacity( void ); 126 virtual void setFragmentCapacityIncrement( UInt32 count );
|
| H A D | IODeviceTreeSupport.h | 85 (UInt32 cellCount, UInt32 left[], UInt32 right[]); 88 (UInt32 cellCount, UInt32 left[], UInt32 right[]); 100 UInt32 * sizeCount, UInt32 * addressCount); 103 UInt32 cellsIn[], 125 IODTFindSlotName( IORegistryEntry * regEntry, UInt32 deviceNumber );
|
| H A D | IODataQueue.h | 100 static OSPtr<IODataQueue> withCapacity(UInt32 size __xnu_data_size); 110 static OSPtr<IODataQueue> withEntries(UInt32 numEntries, UInt32 entrySize __xnu_data_size); 119 virtual Boolean initWithCapacity(UInt32 size); 129 virtual Boolean initWithEntries(UInt32 numEntries, UInt32 entrySize); 139 virtual Boolean enqueue(void *data, UInt32 dataSize);
|
| H A D | IOTimerEventSource.h | 217 virtual IOReturn setTimeoutTicks(UInt32 ticks); 223 virtual IOReturn setTimeoutMS(UInt32 ms); 229 virtual IOReturn setTimeoutUS(UInt32 us); 236 virtual IOReturn setTimeout(UInt32 interval, 237 UInt32 scale_factor = kNanosecondScale); 254 virtual IOReturn wakeAtTimeTicks(UInt32 ticks); 260 virtual IOReturn wakeAtTimeMS(UInt32 ms); 266 virtual IOReturn wakeAtTimeUS(UInt32 us); 273 virtual IOReturn wakeAtTime(UInt32 abstime, 274 UInt32 scale_factor = kNanosecondScale);
|
| H A D | IOUserClient.h | 326 IOReturn result, void *args[], UInt32 numArgs); 389 task_t owningTask, void * securityToken, UInt32 type, 393 task_t owningTask, void * securityToken, UInt32 type); 403 mach_port_t port, UInt32 type, UInt32 refCon ); 411 virtual IOReturn clientMemoryForType( UInt32 type, 415 IOReturn clientMemoryForType( UInt32 type, 495 getExternalMethodForIndex( UInt32 index ) 498 getExternalAsyncMethodForIndex( UInt32 index ) 510 OSSharedPtr<IOService>& targetP, UInt32 index ); 513 OSSharedPtr<IOService>& targetP, UInt32 index ); [all …]
|
| H A D | IODataQueueShared.h | 44 UInt32 size; 58 UInt32 queueSize; 59 volatile UInt32 head; 60 volatile UInt32 tail; 72 UInt32 version;
|
| H A D | IOTypes.h | 106 typedef UInt32 IOOptionBits; 108 typedef UInt32 IOVersion; 109 typedef UInt32 IOItemCount; 110 typedef UInt32 IOCacheMode; 112 typedef UInt32 IOByteCount32; 115 typedef UInt32 IOPhysicalAddress32; 117 typedef UInt32 IOPhysicalLength32;
|
| H A D | IOCPU.h | 62 UInt32 _cpuNumber; 63 UInt32 _cpuState; 73 virtual void setCPUNumber(UInt32 cpuNumber); 74 virtual void setCPUState(UInt32 cpuState); 94 virtual UInt32 getCPUNumber(void); 95 virtual UInt32 getCPUState(void); 97 virtual UInt32 getCPUGroupSize(void);
|
| H A D | IODMAEventSource.h | 59 UInt32 dmaIndex = 0); 72 virtual IOReturn setDMAConfig(UInt32 dmaIndex); 73 virtual bool validDMAConfig(UInt32 dmaIndex); 78 UInt32 dmaIndex; 89 UInt32 dmaIndex = 0);
|
| H A D | IOMessage.h | 42 typedef UInt32 IOMessage; 44 #define iokit_common_msg(message) (UInt32)(sys_iokit|sub_iokit_common|message) 45 #define iokit_family_msg(sub, message) (UInt32)(sys_iokit|sub|message) 53 #define iokit_vendor_specific_msg(message) (UInt32)(sys_iokit|sub_iokit_vendor_specific|message)
|
| /xnu-11215/libkern/gen/ |
| H A D | OSAtomicOperations.c | 70 OSCompareAndSwap(UInt32 oldValue, UInt32 newValue, volatile UInt32 *address) in OSCompareAndSwap() 72 ALIGN_TEST(address, UInt32); in OSCompareAndSwap() 114 ALIGN_TEST(address, UInt32); in OSAddAtomic() 150 UInt32 151 OSBitAndAtomic(UInt32 mask, volatile UInt32 * value) in OSBitAndAtomic() 157 UInt32 158 OSBitOrAtomic(UInt32 mask, volatile UInt32 * value) in OSBitOrAtomic() 164 UInt32 165 OSBitXorAtomic(UInt32 mask, volatile UInt32 * value) in OSBitXorAtomic() 219 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * value) in OSBitAndAtomic8() [all …]
|
| /xnu-11215/libkern/c++/ |
| H A D | OSObject.cpp | 110 volatile UInt32 *countP = (volatile UInt32 *) &retainCount; in taggedTryRetain() 111 UInt32 inc = 1; in taggedTryRetain() 112 UInt32 origCount; in taggedTryRetain() 113 UInt32 newCount; in taggedTryRetain() 146 } while (!OSCompareAndSwap(origCount, newCount, const_cast<UInt32 *>(countP))); in taggedTryRetain() 168 volatile UInt32 *countP = (volatile UInt32 *) &retainCount; in taggedRelease() 169 UInt32 dec = 1; in taggedRelease() 170 UInt32 origCount; in taggedRelease() 171 UInt32 newCount; in taggedRelease() 172 UInt32 actualCount; in taggedRelease() [all …]
|
| /xnu-11215/iokit/DriverKit/ |
| H A D | IOTypes.h | 106 typedef UInt32 IOOptionBits; 108 typedef UInt32 IOVersion; 109 typedef UInt32 IOItemCount; 110 typedef UInt32 IOCacheMode; 112 typedef UInt32 IOByteCount32; 115 typedef UInt32 IOPhysicalAddress32; 117 typedef UInt32 IOPhysicalLength32;
|