Lines Matching refs:queue

43      * @brief       Create an IODataQueueDispatchSource for a shared memory data queue.
44 * @param queueByteCount The size of the queue in bytes.
45 * @param queue IODispatchQueue the source is attached to. Note that the DataAvailable
46 * and DataServiced handlers are invoked on the queue set for the target method
47 * of the OSAction, not this queue.
54 IODispatchQueue * queue,
58 …e of the data queue entry header independent of the actual size of the data in the entry. This is…
59 * @param dataQueueEntryHeaderSize Out parameter for data queue entry header size
72 * @brief As a consumer, set the handler block to run when the queue becomes non-empty.
75 …* The DataAvailable handler is invoked on the queue set for the target method of the …
83 …* @brief As a producer, set the handler block to run when the queue becomes non-full, after …
87 …* The DataServiced handler is invoked on the queue set for the target method of the O…
117 * @brief As a consumer, check if the data queue is non-empty.
118 * @return True if the queue is non-empty.
124 * @brief As a consumer, get access to the next queue entry without dequeuing it.
125 … * @param callback to invoked if the queue is non-empty with the next entry to be dequeued.
127 * kIOReturnUnderrun if the queue was empty.
128 * kIOReturnError if the queue was corrupt.
134 * @brief As a consumer, dequeue the next queue entry.
135 * @param callback invoked if the queue was non-empty with the entry that was dequeued.
137 * kIOReturnUnderrun if the queue was empty.
138 * kIOReturnError if the queue was corrupt.
144 * @brief As a producer, enqueue a queue entry.
146 * @param callback invoked if the queue has enough space to enqueue the data.
148 * kIOReturnOverrun if the queue was full.
149 * kIOReturnError if the queue was corrupt.
155 …* @brief As a consumer, dequeue the next queue entry, but don't send any DataServiced notifi…
159 * @param callback invoked if the queue was non-empty with the entry that was dequeued.
161 * kIOReturnUnderrun if the queue was empty.
162 * kIOReturnError if the queue was corrupt.
168 …* @brief As a producer, enqueue a queue entry, but don't send any DataAvailable notification.
173 * @param callback invoked if the queue has enough space to enqueue the data.
175 * kIOReturnOverrun if the queue was full.
176 * kIOReturnError if the queue was corrupt.
182 …* @brief As a producer, check if the queue has sufficient free space for a queue entry with …
183 * @param dataSize size of the queue entry to check
184 * @return kIOReturnSuccess if the queue has enough free space
185 * kIOReturnOverrun if the queue is full
186 * kIOReturnError if the queue was corrupt
192 …* @brief As a producer, check if the queue has sufficient free space for queue entries with …
193 * @param dataSize size of the queue entry to check
194 …* @param entryCount number of queue entries to check. Entries are assumed to be the same siz…
195 * @return kIOReturnSuccess if the queue has enough free space
196 * kIOReturnOverrun if the queue is full
197 * kIOReturnError if the queue was corrupt