Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dvideobuf-core.c839 if (count > buf->size - q->read_off) in __videobuf_copy_to_user()
840 count = buf->size - q->read_off; in __videobuf_copy_to_user()
842 if (copy_to_user(data, vaddr + q->read_off, count)) in __videobuf_copy_to_user()
922 q->read_off = 0; in videobuf_read_one()
946 q->read_off += retval; in videobuf_read_one()
947 if (q->read_off == q->read_buf->size) { in videobuf_read_one()
1074 q->read_off = 0; in videobuf_read_stream()
1092 q->read_off += rc; in videobuf_read_stream()
1095 q->read_off = q->read_buf->size; in videobuf_read_stream()
1101 if (q->read_off == q->read_buf->size) { in videobuf_read_stream()
[all …]
/kernel/linux/linux-5.10/include/media/
Dvideobuf-core.h155 unsigned int read_off; member
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttv-driver.c2946 fh->cap.read_off = 0; in bttv_poll()