Home
last modified time | relevance | path

Searched refs:pwrite (Results 1 – 3 of 3) sorted by relevance

/drivers/media/dvb-core/
Ddvb_ringbuffer.c44 rbuf->pread=rbuf->pwrite=0; in dvb_ringbuffer_init()
58 return (rbuf->pread==rbuf->pwrite); in dvb_ringbuffer_empty()
67 free = rbuf->pread - rbuf->pwrite; in dvb_ringbuffer_free()
79 avail = rbuf->pwrite - rbuf->pread; in dvb_ringbuffer_avail()
89 rbuf->pread = rbuf->pwrite; in dvb_ringbuffer_flush()
96 rbuf->pread = rbuf->pwrite = 0; in dvb_ringbuffer_reset()
155 split = (rbuf->pwrite + len > rbuf->size) ? rbuf->size - rbuf->pwrite : 0; in dvb_ringbuffer_write()
158 memcpy(rbuf->data+rbuf->pwrite, buf, split); in dvb_ringbuffer_write()
161 rbuf->pwrite = 0; in dvb_ringbuffer_write()
163 memcpy(rbuf->data+rbuf->pwrite, buf, todo); in dvb_ringbuffer_write()
[all …]
Ddvb_ringbuffer.h37 ssize_t pwrite; member
127 { (rbuf)->data[(rbuf)->pwrite]=(byte); \
128 (rbuf)->pwrite=((rbuf)->pwrite+1)%(rbuf)->size; }
/drivers/media/pci/ttpci/
Dav7110_av.c277 (unsigned long) buf->pread, (unsigned long) buf->pwrite); in av7110_pes_play()