Searched refs:needed_bytes (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 105 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'. 106 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'. 114 When 'from' is q_free, then needed_bytes is compared to the total 115 available buffer length, otherwise needed_bytes is compared to the 123 struct ivtv_queue *to, int needed_bytes) ivtv_queue_move() 132 if (needed_bytes == 0) { ivtv_queue_move() 134 needed_bytes = from->length; ivtv_queue_move() 140 if (bytes_available + bytes_steal < needed_bytes) { ivtv_queue_move() 144 while (bytes_available < needed_bytes) { ivtv_queue_move() 170 while (to->length - old_length < needed_bytes) { ivtv_queue_move() 177 while (to->bytesused - old_bytesused < needed_bytes) { ivtv_queue_move() 122 ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, struct ivtv_queue *to, int needed_bytes) ivtv_queue_move() argument
|
H A D | ivtv-queue.h | 75 struct ivtv_queue *to, int needed_bytes);
|
/linux-4.1.27/fs/btrfs/ |
H A D | free-space-cache.c | 211 u64 needed_bytes; btrfs_check_trunc_cache_free_space() local 215 needed_bytes = btrfs_calc_trunc_metadata_size(root, 1) + btrfs_check_trunc_cache_free_space() 219 if (rsv->reserved < needed_bytes) btrfs_check_trunc_cache_free_space()
|
Completed in 164 milliseconds