Searched refs:IOSharedDataQueue (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/iokit/IOKit/
H A DIOSharedDataQueue.h41 * @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 class in inherits: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 instanc
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOSharedDataQueue.cpp29 #include <IOKit/IOSharedDataQueue.h>
40 OSDefineMetaClassAndStructors(IOSharedDataQueue, IODataQueue)
42 IOSharedDataQueue *IOSharedDataQueue::withCapacity(UInt32 size)
44 IOSharedDataQueue *dataQueue = new IOSharedDataQueue;
56 IOSharedDataQueue *IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize)
58 IOSharedDataQueue *dataQueue = new IOSharedDataQueue;
[all...]

Completed in 15 milliseconds