• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/

Lines Matching defs:IOSharedDataQueue

41  * @class IOSharedDataQueue : public IODataQueue
43 * @discussion The IOSharedDataQueue class is designed to also allow a user process to queue data to kernel code. IOSharedDataQueue objects are designed to be used in a single producer / single consumer situation. As such, there are no locks on the data itself. Because the kernel enqueue and user-space dequeue methods follow a strict set of guidelines, no locks are necessary to maintain the integrity of the data struct.
51 class IOSharedDataQueue : public IODataQueue
53 OSDeclareDefaultStructors(IOSharedDataQueue)
67 * @abstract Static method that creates a new IOSharedDataQueue instance with the capacity specified in the size parameter.
70 * @result Returns the newly allocated IOSharedDataQueue instance. Zero is returned on failure.
72 static IOSharedDataQueue *withCapacity(UInt32 size);
76 * @abstract Static method that creates a new IOSharedDataQueue instance with the specified number of entries of the given size.
77 * @discussion This method will create a new IOSharedDataQueue instance with enough capacity for numEntries of entrySize. It does account for the IODataQueueEntry overhead for each entry. Note that the numEntries and entrySize are simply used to determine the data region size. They do not actually restrict the size of number of entries that can be added to the queue.<br> This method allocates a new IODataQueue instance and then calls initWithEntries() with the given numEntries and entrySize parameters. If the initWithEntries() fails, the new instance is released and zero is returned.
80 * @result Reeturns the newly allocated IOSharedDataQueue instance. Zero is returned on failure.
82 static IOSharedDataQueue *withEntries(UInt32 numEntries, UInt32 entrySize);
86 * @abstract Initializes an IOSharedDataQueue instance with the capacity specified in the size parameter.
119 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 0);
120 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 1);
121 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 2);
122 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 3);
123 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 4);
124 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 5);
125 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 6);
126 OSMetaClassDeclareReservedUnused(IOSharedDataQueue, 7);