Home
last modified time | relevance | path

Searched refs:data_buffer_size (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Dmain.c153 unsigned long data_buffer_size; in init_data() local
197 data_buffer_size = ((test->args->htrsiz * BLK_SIZE) * 2); in init_data()
199 (unsigned char *)ALLOC(data_buffer_size + ALIGNSIZE)) == NULL) { in init_data()
223 memset(test->env->data_buffer, 0, data_buffer_size); in init_data()
256 fill_buffer(test->env->data_buffer, data_buffer_size, in init_data()
261 fill_buffer(test->env->data_buffer, data_buffer_size, NULL, 0, in init_data()
265 fill_buffer(test->env->data_buffer, data_buffer_size, 0, 0, in init_data()
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c2172 void initialise_threads(int fragment_buffer_size, int data_buffer_size) in initialise_threads() argument
2299 if(add_overflow(data_buffer_size, max_files) || in initialise_threads()
2300 add_overflow(data_buffer_size, max_files * 2)) in initialise_threads()
2303 to_reader = queue_init(max_files + data_buffer_size); in initialise_threads()
2304 to_inflate = queue_init(max_files + data_buffer_size); in initialise_threads()
2305 to_writer = queue_init(max_files * 2 + data_buffer_size); in initialise_threads()
2309 if(add_overflow(fragment_buffer_size, data_buffer_size)) in initialise_threads()
2313 all_buffers_size = fragment_buffer_size + data_buffer_size; in initialise_threads()
2327 data_cache = cache_init(block_size, data_buffer_size); in initialise_threads()
2512 int data_buffer_size = DATA_BUFFER_DEFAULT; in main() local
[all …]