Home
last modified time | relevance | path

Searched refs:needed_bytes (Results 1 – 2 of 2) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-queue.c111 struct ivtv_queue *to, int needed_bytes) in ivtv_queue_move() argument
120 if (needed_bytes == 0) { in ivtv_queue_move()
122 needed_bytes = from->length; in ivtv_queue_move()
128 if (bytes_available + bytes_steal < needed_bytes) { in ivtv_queue_move()
132 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()
158 while (to->length - old_length < needed_bytes) { in ivtv_queue_move()
165 while (to->bytesused - old_bytesused < needed_bytes) { in ivtv_queue_move()
Divtv-queue.h63 struct ivtv_queue *to, int needed_bytes);