Searched refs:max_file_size (Results 1 – 2 of 2) sorted by relevance
| /xnu-10002.41.9/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 55 test_file_read_setup(char* path, int num_threads, long long length, long long max_file_size) in test_file_read_setup() argument 63 if (max_file_size == 0) { in test_file_read_setup() 64 max_file_size = MAXFILESIZE; in test_file_read_setup() 67 left = MIN(length, max_file_size / num_threads); in test_file_read_setup() 87 …st_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size) in test_file_read() argument 98 if (max_file_size == 0) { in test_file_read() 99 max_file_size = MAXFILESIZE; in test_file_read() 101 filesize = MIN(length, max_file_size / num_threads); in test_file_read() 166 …t_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size) in test_file_write() argument 174 if (max_file_size == 0) { in test_file_write() [all …]
|
| H A D | test_file_helper.h | 9 int test_file_read_setup(char* path, int num_threads, long long length, long long max_file_size); 10 …t_file_read(char* path, int thread_id, int num_threads, long long length, long long max_file_size); 13 …_file_write(char* path, int thread_id, int num_threads, long long length, long long max_file_size);
|