Home
last modified time | relevance | path

Searched refs:min_bs (Results 1 – 11 of 11) sorted by relevance

/external/fio/
Dinit.c510 unsigned int bs = td->o.min_bs[ddir]; in __setup_rate()
546 return o->min_bs[DDIR_READ] == o->max_bs[DDIR_READ] && in fixed_block_size()
547 o->min_bs[DDIR_WRITE] == o->max_bs[DDIR_WRITE] && in fixed_block_size()
548 o->min_bs[DDIR_TRIM] == o->max_bs[DDIR_TRIM] && in fixed_block_size()
549 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] && in fixed_block_size()
550 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size()
626 if (!o->min_bs[DDIR_READ]) in fixup_options()
627 o->min_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options()
630 if (!o->min_bs[DDIR_WRITE]) in fixup_options()
631 o->min_bs[DDIR_WRITE] = o->bs[DDIR_WRITE]; in fixup_options()
[all …]
Dfio.h729 unsigned int min_bs; in td_min_bs() local
731 min_bs = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in td_min_bs()
732 return min(td->o.min_bs[DDIR_TRIM], min_bs); in td_min_bs()
Dio_u.c40 unsigned int min_bs = td->o.rw_min_bs; in mark_random_map() local
45 block = (io_u->offset - f->file_offset) / (uint64_t) min_bs; in mark_random_map()
46 nr_blocks = (io_u->buflen + min_bs - 1) / min_bs; in mark_random_map()
51 if ((nr_blocks * min_bs) < io_u->buflen) in mark_random_map()
52 io_u->buflen = nr_blocks * min_bs; in mark_random_map()
74 if (td->o.min_bs[ddir] > td->o.ba[ddir]) in last_block()
75 max_size -= td->o.min_bs[ddir] - td->o.ba[ddir]; in last_block()
355 uint64_t io_size = f->io_size + (f->io_size % o->min_bs[ddir]); in get_next_seq_offset()
543 minbs = td->o.min_bs[ddir]; in __get_next_buflen()
1648 td->o.min_bs[DDIR_WRITE], in get_io_u()
Dthread_options.h82 unsigned int min_bs[DDIR_RWDIR_CNT]; member
355 uint32_t min_bs[DDIR_RWDIR_CNT]; member
Dcconv.c111 o->min_bs[i] = le32_to_cpu(top->min_bs[i]); in convert_thread_options_to_cpu()
483 top->min_bs[i] = cpu_to_le32(o->min_bs[i]); in convert_thread_options_to_net()
Doptions.c110 unsigned int max_bs, min_bs; in bssplit_ddir() local
121 min_bs = -1; in bssplit_ddir()
127 if (split.val1[i] < min_bs) in bssplit_ddir()
128 min_bs = split.val1[i]; in bssplit_ddir()
169 o->min_bs[ddir] = min_bs; in bssplit_ddir()
2009 .off1 = offsetof(struct thread_options, min_bs[DDIR_READ]),
2011 .off3 = offsetof(struct thread_options, min_bs[DDIR_WRITE]),
2013 .off5 = offsetof(struct thread_options, min_bs[DDIR_TRIM]),
Dfilesetup.c1138 range_size = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in __init_rand_distribution()
Dgclient.c590 c1 = num2str(o->min_bs[DDIR_READ], 4, 1, i2p, N2S_BYTE); in gfio_add_job_op()
592 c3 = num2str(o->min_bs[DDIR_WRITE], 4, 1, i2p, N2S_BYTE); in gfio_add_job_op()
Dstat.c2471 if (td->o.min_bs[ddir] == td->o.max_bs[ddir]) in __add_samples()
2472 bs = td->o.min_bs[ddir]; in __add_samples()
Dbackend.c1155 min_write = td->o.min_bs[DDIR_WRITE]; in init_io_u()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c2914 BLOCK_SIZE *min_bs, BLOCK_SIZE *max_bs) { in set_partition_range() argument
2961 *min_bs = min_size; in set_partition_range()