Home
last modified time | relevance | path

Searched refs:IOByteCount (Results 1 – 25 of 42) sorted by relevance

12

/xnu-12377.61.12/iokit/IOKit/
H A DIOMemoryDescriptor.h329 IOByteCount _length; /* length of all ranges */
335 virtual IOPhysicalAddress getSourceSegment( IOByteCount offset,
336 IOByteCount * length ) APPLE_KEXT_DEPRECATED;
351 virtual addr64_t getPhysicalSegment64( IOByteCount offset,
352IOByteCount * length ) APPLE_KEXT_DEPRECATED; /* use getPhysicalSe…
391 IOReturn getPageCounts( IOByteCount * residentPageCount,
392 IOByteCount * dirtyPageCount);
404 IOReturn getPageCounts( IOByteCount * residentPageCount,
405 IOByteCount * dirtyPageCount,
406 IOByteCount * swappedPageCount );
[all …]
H A DIOSubMemoryDescriptor.h45 IOByteCount _start;
61 IOByteCount offset,
62 IOByteCount length,
74 IOByteCount offset, IOByteCount length,
81 virtual addr64_t getPhysicalSegment( IOByteCount offset,
82 IOByteCount * length,
108 IOByteCount offset,
109 IOByteCount length ) APPLE_KEXT_OVERRIDE;
120 IOReturn getPageCounts(IOByteCount * residentPageCount,
121 IOByteCount * dirtyPageCount);
[all …]
H A DIOInterleavedMemoryDescriptor.h45 IOByteCount _descriptorCapacity;
48 IOByteCount * _descriptorOffsets;
49 IOByteCount * _descriptorLengths;
63 static OSPtr<IOInterleavedMemoryDescriptor> withCapacity( IOByteCount capacity,
73 virtual bool initWithCapacity( IOByteCount capacity,
92 IOByteCount offset,
93 IOByteCount length );
102 virtual addr64_t getPhysicalSegment( IOByteCount offset,
103 IOByteCount * length,
H A DIOMultiMemoryDescriptor.h95 virtual addr64_t getPhysicalSegment( IOByteCount offset,
96 IOByteCount * length,
126 IOReturn getPageCounts(IOByteCount * residentPageCount,
127 IOByteCount * dirtyPageCount);
136 IOReturn getPageCounts( IOByteCount * residentPageCount,
137 IOByteCount * dirtyPageCount,
138 IOByteCount * swappedPageCount );
148 IOByteCount sourceOffset = 0,
149 IOByteCount length = 0 ) APPLE_KEXT_OVERRIDE;
H A DIODMAEventSource.h47 …r, IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount…
52 …virtual void notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCou…
61 …Command(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount = 0, IOByteCount by…
64 …virtual IOReturn queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitF…
66 virtual IOByteCount getFIFODepth(IODirection direction = kIODirectionNone);
67 virtual IOReturn setFIFODepth(IOByteCount depth);
68 virtual IOByteCount validFIFODepth(IOByteCount depth, IODirection direction);
H A DIODMAController.h53 IOByteCount byteCount = 0, IOByteCount byteOffset = 0) = 0;
56 …nd(IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount…
57 …virtual IOReturn queryDMACommand(UInt32 dmaIndex, IODMACommand **dmaCommand, IOByteCount *transfer…
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;
H A DIONVRAM.h134 virtual IOReturn readXPRAM(IOByteCount offset, uint8_t *buffer,
135 IOByteCount length);
136 virtual IOReturn writeXPRAM(IOByteCount offset, uint8_t *buffer,
137 IOByteCount length);
149 IOByteCount offset, uint8_t *buffer,
150 IOByteCount length);
153 IOByteCount offset, uint8_t *buffer,
154 IOByteCount length);
156 virtual IOByteCount savePanicInfo(uint8_t *buffer, IOByteCount length);
H A DIOMemoryCursor.h148 IOByteCount fromPosition,
152 IOByteCount *transferSize = NULL);
221 IOByteCount fromPosition,
225 IOByteCount *transferSize = NULL)
298 IOByteCount fromPosition,
302 IOByteCount * transferSize = NULL)
373 IOByteCount fromPosition,
377 IOByteCount * transferSize = NULL)
H A DIOPlatformExpert.h307 virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length);
380 /* virtual */ IOReturn readXPRAM(IOByteCount offset, UInt8 * buffer,
381 IOByteCount length);
383 /* virtual */ IOReturn writeXPRAM(IOByteCount offset, UInt8 * buffer,
384 IOByteCount length);
404 IOByteCount offset, UInt8 * buffer,
405 IOByteCount length);
408 IOByteCount offset, UInt8 * buffer,
409 IOByteCount length);
411 virtual IOByteCount savePanicInfo(UInt8 *buffer, IOByteCount length) APPLE_KEXT_OVERRIDE;
H A DIOTypes.h127 typedef IOByteCount64 IOByteCount; typedef
130 typedef IOByteCount32 IOByteCount; typedef
155 IOByteCount length;
160 IOByteCount length;
271 typedef IOByteCount64 IOByteCount; typedef
H A DIOGuardPageMemoryDescriptor.h66 IOByteCount sourceOffset = 0,
67 IOByteCount length = 0 ) APPLE_KEXT_OVERRIDE;
H A DIOUserClient.h81 IOByteCount count0;
82 IOByteCount count1;
89 IOByteCount count0;
90 IOByteCount count1;
H A DIOBufferMemoryDescriptor.h354 virtual void * getVirtualSegment(IOByteCount offset,
355IOByteCount * length) APPLE_KEXT_OVERRIDE APPLE_KEXT_DEPRECATED; /* us…
H A DIOPolledInterface.h218 const uint8_t * bytes, IOByteCount size,
221 uint8_t * bytes, IOByteCount size,
/xnu-12377.61.12/iokit/Kernel/
H A DIOSubMemoryDescriptor.cpp49 IOByteCount offset, in withSubRange()
50 IOByteCount length, in withSubRange()
64 IOByteCount offset, IOByteCount length, in initSubRange()
120 IOSubMemoryDescriptor::getPhysicalSegment(IOByteCount offset, IOByteCount * length, IOOptionBits op… in getPhysicalSegment()
123 IOByteCount actualLength; in getPhysicalSegment()
199 IOByteCount offset, in makeMapping()
200 IOByteCount length ) in makeMapping()
239 IOSubMemoryDescriptor::getPageCounts(IOByteCount * residentPageCount, in getPageCounts()
240 IOByteCount * dirtyPageCount) in getPageCounts()
246 IOSubMemoryDescriptor::getPageCounts(IOByteCount * residentPageCount, in getPageCounts()
[all …]
H A DIOInterleavedMemoryDescriptor.cpp36 IOByteCount capacity, in OSDefineMetaClassAndStructors()
59 IOByteCount capacity, in initWithCapacity()
86 _descriptorOffsets = IONewData(IOByteCount, capacity); in initWithCapacity()
87 _descriptorLengths = IONewData(IOByteCount, capacity); in initWithCapacity()
131 IOByteCount offset, in setMemoryDescriptor()
132 IOByteCount length ) in setMemoryDescriptor()
174 IODeleteData(_descriptorOffsets, IOByteCount, _descriptorCapacity); in free()
178 IODeleteData(_descriptorLengths, IOByteCount, _descriptorCapacity); in free()
258 IOByteCount offset, in getPhysicalSegment()
259 IOByteCount * length, in getPhysicalSegment()
H A DIODMAEventSource.cpp104 …MACommand(IODMACommand *dmaCommand, IODirection direction, IOByteCount byteCount, IOByteCount byte… in startDMACommand()
146 IODMAEventSource::queryDMACommand(IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitF… in queryDMACommand()
156 IOByteCount
168 IODMAEventSource::setFIFODepth(IOByteCount depth) in setFIFODepth()
178 IOByteCount
179 IODMAEventSource::validFIFODepth(IOByteCount depth, IODirection direction) in validFIFODepth()
240 IODMAEventSource::notifyDMACommand(IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByt… in notifyDMACommand()
H A DIOMultiMemoryDescriptor.cpp237 IOMultiMemoryDescriptor::getPhysicalSegment(IOByteCount offset, in getPhysicalSegment()
238 IOByteCount * length, in getPhysicalSegment()
269 IOByteCount __offset, in doMap()
270 IOByteCount __length) in doMap()
416 IOMultiMemoryDescriptor::getPageCounts(IOByteCount * pResidentPageCount, in getPageCounts()
417 IOByteCount * pDirtyPageCount, IOByteCount * pSwappedPageCount) in getPageCounts()
420 IOByteCount totalResidentPageCount, totalDirtyPageCount, totalSwappedPageCount; in getPageCounts()
421 IOByteCount residentPageCount, dirtyPageCount, swappedPageCount; in getPageCounts()
449 IOMultiMemoryDescriptor::getPageCounts(IOByteCount * pResidentPageCount, in getPageCounts()
450 IOByteCount * pDirtyPageCount) in getPageCounts()
H A DIOMemoryDescriptor.cpp513 IOByteCount physLen; in memoryReferenceCreate()
940 IOByteCount physLen; in memoryReferenceMap()
1600 IOByteCount * residentPageCount, in memoryReferenceGetPageCounts()
1601 IOByteCount * dirtyPageCount, in memoryReferenceGetPageCounts()
1602 IOByteCount * swappedPageCount) in memoryReferenceGetPageCounts()
1712 IOByteCount length, in withAddress()
1722 IOByteCount length, in withAddress()
1739 IOByteCount length, in withPhysicalAddress()
1851 IOByteCount offset, in withSubRange()
1852 IOByteCount length, in withSubRange()
[all …]
H A DIOMemoryCursor.cpp113 IOByteCount fromPosition, in genPhysicalSegments()
117 IOByteCount *outTransferSize) in genPhysicalSegments()
140 IOByteCount inDescriptorLength = inDescriptor->getLength(); in genPhysicalSegments()
146 fromPosition, (IOByteCount*)&seg.length); in genPhysicalSegments()
H A DIOGuardPageMemoryDescriptor.cpp103 IOByteCount sourceOffset, in doMap()
104 IOByteCount length) in doMap()
H A DIOPlatformExpert.cpp1590 IOByteCount
1591 IOPlatformExpert::savePanicInfo(UInt8 *buffer, IOByteCount length) in savePanicInfo()
1912 IODTPlatformExpert::readXPRAM(IOByteCount offset, UInt8 * buffer, in readXPRAM()
1913 IOByteCount length) in readXPRAM()
1923 IODTPlatformExpert::writeXPRAM(IOByteCount offset, UInt8 * buffer, in writeXPRAM()
1924 IOByteCount length) in writeXPRAM()
1985 IOByteCount offset, UInt8 * buffer, in readNVRAMPartition()
1986 IOByteCount length) in readNVRAMPartition()
1998 IOByteCount offset, UInt8 * buffer, in writeNVRAMPartition()
1999 IOByteCount length) in writeNVRAMPartition()
[all …]
/xnu-12377.61.12/iokit/IOKit/nvram/
H A DIONVRAMController.h45 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
46 IOByteCount length) = 0;
47 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,
48 IOByteCount length) = 0;
/xnu-12377.61.12/iokit/DriverKit/
H A DIOTypes.h127 typedef IOByteCount64 IOByteCount; typedef
130 typedef IOByteCount32 IOByteCount; typedef
155 IOByteCount length;
160 IOByteCount length;
271 typedef IOByteCount64 IOByteCount; typedef
/xnu-12377.61.12/osfmk/kdp/output_stages/
H A Dout_disk.c118 err = IOPolledFileWrite(gIOPolledCoreFileVars, data, (IOByteCount) chunk, NULL); in disk_stage_write()
193 err = IOPolledFileRead(gIOPolledCoreFileVars, NULL, (IOByteCount) offset_misalignment, NULL); in disk_stage_read()
201 err = IOPolledFileRead(gIOPolledCoreFileVars, (uint8_t *) data, (IOByteCount) length, NULL); in disk_stage_read()
261 err = IOPolledFileWrite(gIOPolledCoreFileVars, data, (IOByteCount) length, NULL); in disk_stage_outproc()

12