Searched refs:real_file_size (Results 1 – 8 of 8) sorted by relevance
/external/fio/ |
D | filesetup.c | 91 (unsigned long long) f->real_file_size); in extend_file() 93 r = posix_fallocate(f->fd, 0, f->real_file_size); in extend_file() 104 (unsigned long long) f->real_file_size); in extend_file() 107 f->real_file_size); in extend_file() 130 (unsigned long long) f->real_file_size); in extend_file() 131 if (ftruncate(f->fd, f->real_file_size) == -1) { in extend_file() 141 left = f->real_file_size; in extend_file() 186 if (f->io_size > f->real_file_size) in extend_file() 187 f->io_size = f->real_file_size; in extend_file() 281 f->real_file_size = st.st_size; in file_size() [all …]
|
D | io_u.c | 65 if (max_size > f->real_file_size) in last_block() 66 max_size = f->real_file_size; in last_block() 258 (unsigned long long) f->real_file_size); in get_next_rand_block() 273 if (f->last_pos[ddir] < f->real_file_size) { in get_next_seq_offset() 277 f->last_pos[ddir] = f->real_file_size; in get_next_seq_offset() 288 if (pos >= f->real_file_size) in get_next_seq_offset() 393 if (io_u->offset >= f->real_file_size) { in __get_next_offset() 396 (unsigned long long) f->real_file_size); in __get_next_offset() 752 if (f->file_offset >= f->real_file_size) in fill_io_u() 753 f->file_offset = f->real_file_size - f->file_offset; in fill_io_u() [all …]
|
D | file.h | 85 uint64_t real_file_size; member
|
D | backend.c | 597 if (io_u->offset == f->real_file_size) in do_verify() 864 if (io_u->offset == f->real_file_size) in do_io()
|
D | init.c | 1173 f->real_file_size = -1ULL; in add_job()
|
/external/fio/engines/ |
D | glusterfs.c | 125 f->real_file_size = buf.st_size; in fio_gf_get_file_size() 166 || sb.st_size < f->real_file_size) { in fio_gf_open_file() 168 f->file_name, sb.st_size, f->real_file_size); in fio_gf_open_file() 169 ret = glfs_ftruncate(g->fd, f->real_file_size); in fio_gf_open_file() 172 f->file_name, f->real_file_size); in fio_gf_open_file() 182 left = f->real_file_size; in fio_gf_open_file() 193 r, f->real_file_size, in fio_gf_open_file() 248 r = glfs_fadvise(g->fd, 0, f->real_file_size, in fio_gf_open_file() 251 r = glfs_fadvise(g->fd, 0, f->real_file_size, in fio_gf_open_file()
|
D | libhdfs.c | 209 f->real_file_size = hd->fscount * hd->fsbs; in fio_hdfsio_setup()
|
D | rbd.c | 477 f->real_file_size = info.size; in fio_rbd_setup()
|