Lines Matching refs:buffer

28  * When we write to the ring buffer, check if the host needs to
32 * ring buffer, it will set the interrupt_mask to
37 * the ring buffer before exiting the read loop. Further,
38 * once the ring buffer is empty, it will clear the
72 /* Get the next write location for the specified ring buffer. */
81 /* Set the next write location for the specified ring buffer. */
89 /* Get the size of the ring buffer. */
96 /* Get the read and write indices as u64 of the specified ring buffer. */
104 * Helper routine to copy from source to ring buffer.
130 * for the specified ring buffer
148 /* Get various debug metrics for the specified ring buffer. */
177 /* Initialize a channel's ring buffer info mutex locks */
184 /* Initialize the ring buffer. */
235 /* Initialize buffer that holds copies of incoming packets */
248 /* Cleanup the ring buffer. */
262 * Check if the ring buffer spinlock is available to take or not; used on
274 /* Write to the ring buffer. */
302 * Otherwise, the next time around, we think the ring buffer
319 /* Write to the ring buffer */
333 * ring buffer. Once this request ID is allocated, the completion
350 * the transaction ID from the ring buffer, which is shared with the
389 void *buffer, u32 buflen, u32 *buffer_actual_len,
420 memcpy(buffer, (const char *)desc + offset, packetlen);
432 * Determine number of bytes available in ring buffer after
459 * Get first vmbus packet from ring buffer after read_index
461 * If ring buffer is empty, returns NULL and no other action needed.
499 /* Copy the Hyper-V packet out of the ring buffer */
516 * Get next vmbus packet from ring buffer.
519 * data. If the end of the ring buffer is reached, then return NULL.
552 * Update host ring buffer after iterating over packets. If the host has
553 * stopped queuing new entries because it found the ring buffer full, and
567 * interrupt_mask is used only on the guest->host ring buffer when
569 * guest ring buffer to indicate whether it should be signaled.
588 * ring buffer is full. No signaling is needed or expected.
598 * pending_send_sz, and the ring buffer blocks before we commit the
605 * If the pending_send_sz is zero, then the ring buffer is not
631 * Exactly filling the ring buffer is treated as "not enough
632 * space". The ring buffer always must have at least one byte