Searched refs:bytes_available (Results 1 – 3 of 3) sorted by relevance
129 int bytes_available, bytes_steal; in ivtv_queue_move() local137 bytes_available = from_free ? from->length : from->bytesused; in ivtv_queue_move()140 if (bytes_available + bytes_steal < needed_bytes) { in ivtv_queue_move()144 while (bytes_available < needed_bytes) { in ivtv_queue_move()161 bytes_available += s->buf_size; in ivtv_queue_move()
1705 static int dgnc_maxcps_room(struct tty_struct *tty, int bytes_available) in dgnc_maxcps_room() argument1711 return bytes_available; in dgnc_maxcps_room()1715 return bytes_available; in dgnc_maxcps_room()1719 return bytes_available; in dgnc_maxcps_room()1726 return bytes_available; in dgnc_maxcps_room()1746 bytes_available = min(cps_limit, bytes_available); in dgnc_maxcps_room()1749 return bytes_available; in dgnc_maxcps_room()
2467 int bytes_available) in dgap_maxcps_room() argument2474 return bytes_available; in dgap_maxcps_room()2496 bytes_available = min(cps_limit, bytes_available); in dgap_maxcps_room()2499 return bytes_available; in dgap_maxcps_room()