#include <IOKit/IOMultiMemoryDescriptor.h>

IOKit/IOMultiMemoryDescriptor.h Kernel.framework

@class IOMultiMemoryDescriptor : public IOMemoryDescriptor @abstract The IOMultiMemoryDescriptor object describes a memory area made up of several other IOMemoryDescriptors. @discussion The IOMultiMemoryDescriptor object represents multiple ranges of memory, specified as an ordered list of IOMemoryDescriptors. The descriptors are chained end-to-end to make up a single contiguous buffer.
1 class · 1 macro

classIOMultiMemoryDescriptor

IOMemoryDescriptor **_descriptors
UInt32_descriptorsCount
bool_descriptorsIsAllocated
APPLE_KEXT_OVERRIDE
virtual void free()
virtual protected
static OSPtr<IOMultiMemoryDescriptor> withDescriptors(
	IOMemoryDescriptor ** descriptors,
	UInt32 withCount,
	IODirection withDirection,
	bool asReference = false
)
static
virtual bool initWithDescriptors(
	IOMemoryDescriptor ** descriptors,
	UInt32 withCount,
	IODirection withDirection,
	bool asReference = false
)
virtual
APPLE_KEXT_OVERRIDE
virtual addr64_t getPhysicalSegment(
	IOByteCount offset,
	IOByteCount * length,
	IOOptionBits options = 0
)
virtual
APPLE_KEXT_OVERRIDE
virtual IOReturn prepare(IODirection forDirection = kIODirectionNone)
virtual
APPLE_KEXT_OVERRIDE
virtual IOReturn complete(IODirection forDirection = kIODirectionNone)
virtual
APPLE_KEXT_OVERRIDE
virtual IOReturn setPurgeable(IOOptionBits newState, IOOptionBits * oldState)
virtual
IOReturn setOwnership(task_t newOwner, int newLedgerTag, IOOptionBits newOptions)
IOReturn getPageCounts(IOByteCount * residentPageCount, IOByteCount * dirtyPageCount)
IOReturn getPageCounts(
	IOByteCount * residentPageCount,
	IOByteCount * dirtyPageCount,
	IOByteCount * swappedPageCount
)
APPLE_KEXT_OVERRIDE
virtual uint64_t getPreparationID(void)
virtual

macroIOMULTIMEMORYDESCRIPTOR_SUPPORTS_GETPAGECOUNTS

#define IOMULTIMEMORYDESCRIPTOR_SUPPORTS_GETPAGECOUNTS 1