Searched refs:needed_bytes (Results 1 – 3 of 3) sorted by relevance
123 struct ivtv_queue *to, int needed_bytes) in ivtv_queue_move() argument132 if (needed_bytes == 0) { in ivtv_queue_move()134 needed_bytes = from->length; in ivtv_queue_move()140 if (bytes_available + bytes_steal < needed_bytes) { in ivtv_queue_move()144 while (steal && bytes_available < needed_bytes) { in ivtv_queue_move()170 while (to->length - old_length < needed_bytes) { in ivtv_queue_move()177 while (to->bytesused - old_bytesused < needed_bytes) { in ivtv_queue_move()
75 struct ivtv_queue *to, int needed_bytes);
198 u64 needed_bytes; in btrfs_check_trunc_cache_free_space() local202 needed_bytes = btrfs_calc_trunc_metadata_size(fs_info, 1) + in btrfs_check_trunc_cache_free_space()206 if (rsv->reserved < needed_bytes) in btrfs_check_trunc_cache_free_space()