Lines Matching full:buffer

3  * dvb_ringbuffer.h: ring buffer implementation for the dvb driver
30 * struct dvb_ringbuffer - Describes a ring buffer used at DVB framework
37 * @queue: Wait queue used by ringbuffer clients to indicate when buffer
55 * dvb_ringbuffer_init - initialize ring buffer, lock and queue
58 * @data: pointer to the buffer where the data will be stored
59 * @len: bytes from ring buffer into @buf
65 * dvb_ringbuffer_empty - test whether buffer is empty
72 * dvb_ringbuffer_free - returns the number of free bytes in the buffer
76 * Return: number of free bytes in the buffer
81 * dvb_ringbuffer_avail - returns the number of bytes waiting in the buffer
85 * Return: number of bytes waiting in the buffer
94 * Resets the read and write pointers to zero and flush the buffer.
105 * dvb_ringbuffer_flush - flush buffer
112 * dvb_ringbuffer_flush_spinlock_wakeup- flush buffer protected by spinlock
120 * DVB_RINGBUFFER_PEEK - peek at byte @offs in the buffer
139 * dvb_ringbuffer_read_user - Reads a buffer into a user pointer
142 * @buf: pointer to the buffer where the data will be stored
143 * @len: bytes from ring buffer into @buf
145 * This variant assumes that the buffer is a memory at the userspace. So,
154 * dvb_ringbuffer_read - Reads a buffer into a pointer
157 * @buf: pointer to the buffer where the data will be stored
158 * @len: bytes from ring buffer into @buf
160 * This variant assumes that the buffer is a memory at the Kernel space
172 * DVB_RINGBUFFER_WRITE_BYTE - write single byte to ring buffer
182 * dvb_ringbuffer_write - Writes a buffer into the ringbuffer
185 * @buf: pointer to the buffer where the data will be read
186 * @len: bytes from ring buffer into @buf
188 * This variant assumes that the buffer is a memory at the Kernel space
196 * dvb_ringbuffer_write_user - Writes a buffer received via a user pointer
199 * @buf: pointer to the buffer where the data will be read
200 * @len: bytes from ring buffer into @buf
202 * This variant assumes that the buffer is a memory at the userspace. So,
214 * @buf: Buffer to write.
215 * @len: Length of buffer (currently limited to 65535 bytes max).
228 * @buf: Destination buffer for data.
229 * @len: Size of destination buffer.
252 * @buf: Destination buffer for data.
253 * @len: Size of destination buffer.
261 * dvb_ringbuffer_pkt_dispose - Dispose of a packet in the ring buffer.
263 * @rbuf: Ring buffer concerned.