Home
last modified time | relevance | path

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

12

/xnu-8019.80.24/iokit/IOKit/
H A DIOMemoryDescriptor.h313 IOByteCount _length; /* length of all ranges */
319 virtual IOPhysicalAddress getSourceSegment( IOByteCount offset,
320 IOByteCount * length ) APPLE_KEXT_DEPRECATED;
335 virtual addr64_t getPhysicalSegment64( IOByteCount offset,
336IOByteCount * length ) APPLE_KEXT_DEPRECATED; /* use getPhysicalSe…
375 IOReturn getPageCounts( IOByteCount * residentPageCount,
376 IOByteCount * dirtyPageCount);
389 IOByteCount offset, IOByteCount length );
402 virtual addr64_t getPhysicalSegment( IOByteCount offset,
403 IOByteCount * length,
[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);
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 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 DIOMultiMemoryDescriptor.h90 virtual addr64_t getPhysicalSegment( IOByteCount offset,
91 IOByteCount * length,
121 IOReturn getPageCounts(IOByteCount * residentPageCount,
122 IOByteCount * dirtyPageCount);
132 IOByteCount sourceOffset = 0,
133 IOByteCount length = 0 ) APPLE_KEXT_OVERRIDE;
H A DIONVRAM.h179 virtual IOReturn readXPRAM(IOByteCount offset, UInt8 *buffer,
180 IOByteCount length);
181 virtual IOReturn writeXPRAM(IOByteCount offset, UInt8 *buffer,
182 IOByteCount length);
194 IOByteCount offset, UInt8 *buffer,
195 IOByteCount length);
198 IOByteCount offset, UInt8 *buffer,
199 IOByteCount length);
201 virtual IOByteCount savePanicInfo(UInt8 *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.h99 typedef IOByteCount64 IOByteCount; typedef
102 typedef IOByteCount32 IOByteCount; typedef
127 IOByteCount length;
132 IOByteCount length;
243 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.h352 virtual void * getVirtualSegment(IOByteCount offset,
353IOByteCount * length) APPLE_KEXT_OVERRIDE APPLE_KEXT_DEPRECATED; /* us…
H A DIOPolledInterface.h214 const uint8_t * bytes, IOByteCount size,
217 uint8_t * bytes, IOByteCount size,
/xnu-8019.80.24/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()
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()
422 IOMultiMemoryDescriptor::getPageCounts(IOByteCount * pResidentPageCount, in getPageCounts()
423 IOByteCount * pDirtyPageCount) in getPageCounts()
426 IOByteCount totalResidentPageCount, totalDirtyPageCount; in getPageCounts()
427 IOByteCount residentPageCount, dirtyPageCount; in getPageCounts()
H A DIOMemoryDescriptor.cpp506 IOByteCount physLen; in memoryReferenceCreate()
912 IOByteCount physLen; in memoryReferenceMap()
1574 IOByteCount * residentPageCount, in memoryReferenceGetPageCounts()
1575 IOByteCount * dirtyPageCount) in memoryReferenceGetPageCounts()
1681 IOByteCount length, in withAddress()
1691 IOByteCount length, in withAddress()
1708 IOByteCount length, in withPhysicalAddress()
1820 IOByteCount offset, in withSubRange()
1821 IOByteCount length, in withSubRange()
1871 IOByteCount withLength, in initWithAddress()
[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.cpp1529 IOByteCount
1530 IOPlatformExpert::savePanicInfo(UInt8 *buffer, IOByteCount length) in savePanicInfo()
1855 IODTPlatformExpert::readXPRAM(IOByteCount offset, UInt8 * buffer, in readXPRAM()
1856 IOByteCount length) in readXPRAM()
1866 IODTPlatformExpert::writeXPRAM(IOByteCount offset, UInt8 * buffer, in writeXPRAM()
1867 IOByteCount length) in writeXPRAM()
1928 IOByteCount offset, UInt8 * buffer, in readNVRAMPartition()
1929 IOByteCount length) in readNVRAMPartition()
1941 IOByteCount offset, UInt8 * buffer, in writeNVRAMPartition()
1942 IOByteCount length) in writeNVRAMPartition()
[all …]
/xnu-8019.80.24/iokit/IOKit/nvram/
H A DIONVRAMController.h43 virtual IOReturn read(IOByteCount offset, UInt8 *buffer,
44 IOByteCount length) = 0;
45 virtual IOReturn write(IOByteCount offset, UInt8 *buffer,
46 IOByteCount length) = 0;
/xnu-8019.80.24/iokit/DriverKit/
H A DIOTypes.h99 typedef IOByteCount64 IOByteCount; typedef
102 typedef IOByteCount32 IOByteCount; typedef
127 IOByteCount length;
132 IOByteCount length;
243 typedef IOByteCount64 IOByteCount; typedef
/xnu-8019.80.24/osfmk/kdp/output_stages/
H A Dout_disk.c117 err = IOPolledFileWrite(gIOPolledCoreFileVars, data, (IOByteCount) chunk, NULL); in disk_stage_write()
192 err = IOPolledFileRead(gIOPolledCoreFileVars, NULL, (IOByteCount) offset_misalignment, NULL); in disk_stage_read()
200 err = IOPolledFileRead(gIOPolledCoreFileVars, (uint8_t *) data, (IOByteCount) length, NULL); in disk_stage_read()
258 err = IOPolledFileWrite(gIOPolledCoreFileVars, data, (IOByteCount) length, NULL); in disk_stage_outproc()

12