Searched refs:needed_bytes (Results 1 - 3 of 3) sorted by relevance

/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.c93 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'.
94 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'.
102 When 'from' is q_free, then needed_bytes is compared to the total
103 available buffer length, otherwise needed_bytes is compared to the
111 struct ivtv_queue *to, int needed_bytes)
120 if (needed_bytes == 0) {
122 needed_bytes = from->length;
128 if (bytes_available + bytes_steal < needed_bytes) {
132 while (steal && bytes_available < needed_bytes) {
158 while (to->length - old_length < needed_bytes) {
110 ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, struct ivtv_queue *to, int needed_bytes) argument
[all...]
H A Divtv-queue.h64 struct ivtv_queue *to, int needed_bytes);
/linux-master/fs/btrfs/
H A Dblock-rsv.c560 u64 needed_bytes; local
564 needed_bytes = btrfs_calc_insert_metadata_size(fs_info, 1) +
568 if (rsv->reserved < needed_bytes)

Completed in 265 milliseconds