/external/fio/engines/ |
H A D | binject.c | 123 ret = poll(bd->pfds, td->o.nr_files, -1); 132 if (pollin_events(bd->pfds, td->o.nr_files)) 403 bd->pfds = malloc(sizeof(struct pollfd) * td->o.nr_files); 404 memset(bd->pfds, 0, sizeof(struct pollfd) * td->o.nr_files); 406 bd->fd_flags = malloc(sizeof(int) * td->o.nr_files); 407 memset(bd->fd_flags, 0, sizeof(int) * td->o.nr_files);
|
H A D | cpu.c | 89 o->nr_files = o->open_files = 1;
|
H A D | sg.c | 135 ret = poll(sd->pfds, td->o.nr_files, -1); 144 if (pollin_events(sd->pfds, td->o.nr_files)) 485 sd->pfds = malloc(sizeof(struct pollfd) * td->o.nr_files); 486 memset(sd->pfds, 0, sizeof(struct pollfd) * td->o.nr_files); 487 sd->fd_flags = malloc(sizeof(int) * td->o.nr_files); 488 memset(sd->fd_flags, 0, sizeof(int) * td->o.nr_files);
|
H A D | mmap.c | 217 mmap_map_size = MMAP_TOTAL_SZ / o->nr_files;
|
H A D | rbd.c | 615 td->o.nr_files = td->o.nr_files ? : 1;
|
H A D | libhdfs.c | 330 file_size = floor(td->o.size / td->o.nr_files);
|
H A D | net.c | 1369 td->o.nr_files = td->o.nr_files ?: 1;
|
H A D | rdma.c | 1331 td->o.nr_files = td->o.nr_files ?: 1;
|
/external/ltp/testcases/kernel/fs/mongo/ |
H A D | reiser_fract_tree.c | 410 /* We have already determined that nr_files can fit in bytes_to_consume space. 417 long nr_files) 422 long remaining_files = nr_files; 429 sizes_index = sizes_start = malloc(nr_files * sizeof(long)); 433 // we alloc space for nr_files, so we should avoid 447 /* don't decrement below sizes_start if nr_files is 0 */ 414 make_fractal_tree(long median_file_size, long maximum_file_size, long median_dir_nr_files, long max_dir_nr_files, long median_dir_branching, long max_dir_branching, long nr_files) argument
|
/external/fio/t/ |
H A D | btrace2fio.c | 79 int nr_files; member in struct:btrace_pid 292 for (i = 0; i < p->nr_files; i++) { 309 p->files = realloc(p->files, (p->nr_files + 1) * sizeof(*f)); 310 f = &p->files[p->nr_files]; 314 p->nr_files++; 641 for (i = 0; i < p->nr_files; i++) 660 if (!p->nr_files) { 708 for (i = 0; i < p->nr_files; i++) { 779 p->nr_files++; 840 for (i = 0; i < p->nr_files; [all...] |
/external/fio/ |
H A D | client.h | 76 unsigned int nr_files; member in struct:fio_client
|
H A D | filesetup.c | 751 f->real_file_size = td->o.size / td->o.nr_files; 901 !(o->nr_files && (o->file_size_low || o->file_size_high))) { 911 if (!o->file_size_low && o->nr_files) { 914 fs = o->size / o->nr_files; 915 all_fs = fs * o->nr_files; 924 * is given, ->io_size is size / nr_files. 1010 assert(td->o.nr_files == 1); /* checked in fixup_options */ 1315 td->o.nr_files = 0; 1474 unsigned int new_size = td->o.nr_files + 1; 1529 td->o.nr_files [all...] |
H A D | thread_options.h | 91 unsigned int nr_files; member in struct:thread_options 364 uint32_t nr_files; member in struct:thread_options_pack
|
H A D | init.c | 701 if (o->nr_files > td->files_index) 702 o->nr_files = td->files_index; 704 if (o->open_files > o->nr_files || !o->open_files) 705 o->open_files = o->nr_files; 866 if (td->o.block_error_hist && td->o.nr_files != 1) { 869 "provided\n", td->o.nr_files); 892 unsigned long nranges = td->o.nr_files << FIO_FSERVICE_SHIFT; 1319 if (o->nr_files == 1 && exists_and_not_regfile(jobname)) 1322 for (i = 0; i < o->nr_files; i++)
|
H A D | io_u.c | 1095 return (unsigned int) ((double) td->o.nr_files 1169 if (td->next_file >= td->o.nr_files) 1213 assert(td->o.nr_files <= td->files_index); 1215 if (td->nr_done_files >= td->o.nr_files) { 1217 " nr_files=%d\n", td->nr_open_files, 1219 td->o.nr_files); 1286 td->nr_done_files, td->o.nr_files);
|
H A D | cconv.c | 145 o->nr_files = le32_to_cpu(top->nr_files); 353 top->nr_files = cpu_to_le32(o->nr_files);
|
H A D | client.c | 190 while (client->nr_files) { 191 struct client_file *cf = &client->files[--client->nr_files]; 362 new_size = (client->nr_files + 1) * sizeof(struct client_file); 368 cf = &client->files[client->nr_files]; 371 client->nr_files++; 823 if (client->nr_files) { 826 for (i = 0; i < client->nr_files; i++) {
|
H A D | ioengines.c | 422 td->o.nr_files);
|
H A D | fio.h | 670 (i) < (td)->o.nr_files && ((f) = (td)->files[i]) != NULL; \
|
H A D | verify.c | 1594 depth += (td->o.iodepth * td->o.nr_files); 1621 s->nofiles = cpu_to_le64((uint64_t) td->o.nr_files);
|
H A D | options.c | 1240 td->o.nr_files = 0; 1291 td->o.nr_files = 0; 2207 .alias = "nr_files", 2209 .off1 = offsetof(struct thread_options, nr_files),
|
/external/kernel-headers/original/uapi/linux/ |
H A D | fs.h | 90 unsigned long nr_files; /* read only */ member in struct:files_stat_struct
|