Lines Matching defs:buffer

26  * When we write to the ring buffer, check if the host needs to
30 * ring buffer, it will set the interrupt_mask to
35 * the ring buffer before exiting the read loop. Further,
36 * once the ring buffer is empty, it will clear the
70 /* Get the next write location for the specified ring buffer. */
79 /* Set the next write location for the specified ring buffer. */
87 /* Set the next read location for the specified ring buffer. */
96 /* Get the size of the ring buffer. */
103 /* Get the read and write indices as u64 of the specified ring buffer. */
111 * Helper routine to copy from source to ring buffer.
137 * for the specified ring buffer
155 /* Get various debug metrics for the specified ring buffer. */
184 /* Initialize a channel's ring buffer info mutex locks */
191 /* Initialize the ring buffer. */
240 /* Cleanup the ring buffer. */
250 * Check if the ring buffer spinlock is available to take or not; used on
262 /* Write to the ring buffer. */
287 * Otherwise, the next time around, we think the ring buffer
304 /* Write to the ring buffer */
342 void *buffer, u32 buflen, u32 *buffer_actual_len,
373 memcpy(buffer, (const char *)desc + offset, packetlen);
385 * Determine number of bytes available in ring buffer after
412 * Get first vmbus packet from ring buffer after read_index
414 * If ring buffer is empty, returns NULL and no other action needed.
434 * Get next vmbus packet from ring buffer.
437 * data. If the end of the ring buffer is reached, then return NULL.
470 * Update host ring buffer after iterating over packets. If the host has
471 * stopped queuing new entries because it found the ring buffer full, and
485 * interrupt_mask is used only on the guest->host ring buffer when
487 * guest ring buffer to indicate whether it should be signaled.
506 * ring buffer is full. No signaling is needed or expected.
516 * pending_send_sz, and the ring buffer blocks before we commit the
523 * If the pending_send_sz is zero, then the ring buffer is not
549 * Exactly filling the ring buffer is treated as "not enough
550 * space". The ring buffer always must have at least one byte