Lines Matching refs:IOBufferMemoryDescriptor

41     // shared IOMemoryDescriptor options for IOBufferMemoryDescriptor:
54 @class IOBufferMemoryDescriptor
58 class IOBufferMemoryDescriptor : public IOGeneralMemoryDescriptor
60 OSDeclareDefaultStructors(IOBufferMemoryDescriptor);
101 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 0);
102 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 1);
104 OSMetaClassDeclareReservedUsed(IOBufferMemoryDescriptor, 0);
105 OSMetaClassDeclareReservedUsed(IOBufferMemoryDescriptor, 1);
107 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 2);
108 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 3);
109 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 4);
110 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 5);
111 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 6);
112 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 7);
113 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 8);
114 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 9);
115 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 10);
116 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 11);
117 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 12);
118 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 13);
119 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 14);
120 OSMetaClassDeclareReservedUnused(IOBufferMemoryDescriptor, 15);
130 * Returns a new IOBufferMemoryDescriptor with a buffer large enough to
140 static IOBufferMemoryDescriptor * withOptions( IOOptionBits options,
146 @discussion Added in Mac OS X 10.2, this method allocates a memory buffer with a given size and alignment in the task's address space specified, and returns a memory descriptor instance representing the memory. It is recommended that memory allocated for I/O or sharing via mapping be created via IOBufferMemoryDescriptor. Options passed with the request specify the kind of memory to be allocated - pageablity and sharing are specified with option bits. This function may block and so should not be called from interrupt level or while a simple lock is held.
160 @result Returns an instance of class IOBufferMemoryDescriptor to be released by the caller, which will free the memory desriptor and associated buffer. */
162 static IOBufferMemoryDescriptor * inTaskWithOptions(
170 @discussion Added in Mac OS X 10.5, this method allocates a memory buffer with a given size and alignment in the task's address space specified, and returns a memory descriptor instance representing the memory. It is recommended that memory allocated for I/O or sharing via mapping be created via IOBufferMemoryDescriptor. Options passed with the request specify the kind of memory to be allocated - pageablity and sharing are specified with option bits. This function may block and so should not be called from interrupt level or while a simple lock is held.
182 @result Returns an instance of class IOBufferMemoryDescriptor to be released by the caller, which will free the memory desriptor and associated buffer. */
184 static IOBufferMemoryDescriptor * inTaskWithPhysicalMask(
193 * Returns a new IOBufferMemoryDescriptor with a buffer large enough to
197 static IOBufferMemoryDescriptor * withCapacity(
211 * Returns a new IOBufferMemoryDescriptor preloaded with bytes (copied).
214 static IOBufferMemoryDescriptor * withBytes(