Searched refs:needed_bytes (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 93 /* 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) in ivtv_queue_move() 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() 110 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 [all...] |
H A D | ivtv-queue.h | 63 struct ivtv_queue *to, int needed_bytes);
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 93 /* 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) in ivtv_queue_move() 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() 110 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 [all...] |
H A D | ivtv-queue.h | 64 struct ivtv_queue *to, int needed_bytes);
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | block-rsv.c | 553 u64 needed_bytes; in btrfs_check_trunc_cache_free_space() local 557 needed_bytes = btrfs_calc_insert_metadata_size(fs_info, 1) + in btrfs_check_trunc_cache_free_space() 561 if (rsv->reserved < needed_bytes) in btrfs_check_trunc_cache_free_space()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | free-space-cache.c | 213 u64 needed_bytes; in btrfs_check_trunc_cache_free_space() local 217 needed_bytes = btrfs_calc_insert_metadata_size(fs_info, 1) + in btrfs_check_trunc_cache_free_space() 221 if (rsv->reserved < needed_bytes) in btrfs_check_trunc_cache_free_space()
|
Completed in 8 milliseconds