Lines Matching refs:ivtv_buffer
13 int ivtv_buf_copy_from_user(struct ivtv_stream *s, struct ivtv_buffer *buf, const char __user *src,… in ivtv_buf_copy_from_user()
24 void ivtv_buf_swap(struct ivtv_buffer *buf) in ivtv_buf_swap()
40 void ivtv_enqueue(struct ivtv_stream *s, struct ivtv_buffer *buf, struct ivtv_queue *q) in ivtv_enqueue()
59 struct ivtv_buffer *ivtv_dequeue(struct ivtv_stream *s, struct ivtv_queue *q) in ivtv_dequeue()
61 struct ivtv_buffer *buf = NULL; in ivtv_dequeue()
66 buf = list_entry(q->list.next, struct ivtv_buffer, list); in ivtv_dequeue()
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); in ivtv_queue_move_buf()
133 struct ivtv_buffer *buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
152 buf = list_entry(steal->list.prev, struct ivtv_buffer, list); in ivtv_queue_move()
229 struct ivtv_buffer *buf = kzalloc(sizeof(struct ivtv_buffer), in ivtv_stream_alloc()
256 struct ivtv_buffer *buf; in ivtv_stream_free()