Searched refs:min_bs (Results 1 – 10 of 10) sorted by relevance
454 unsigned int bs = td->o.min_bs[ddir]; in __setup_rate()488 return o->min_bs[DDIR_READ] == o->max_bs[DDIR_READ] && in fixed_block_size()489 o->min_bs[DDIR_WRITE] == o->max_bs[DDIR_WRITE] && in fixed_block_size()490 o->min_bs[DDIR_TRIM] == o->max_bs[DDIR_TRIM] && in fixed_block_size()491 o->min_bs[DDIR_READ] == o->min_bs[DDIR_WRITE] && in fixed_block_size()492 o->min_bs[DDIR_READ] == o->min_bs[DDIR_TRIM]; in fixed_block_size()555 if (!o->min_bs[DDIR_READ]) in fixup_options()556 o->min_bs[DDIR_READ] = o->bs[DDIR_READ]; in fixup_options()559 if (!o->min_bs[DDIR_WRITE]) in fixup_options()560 o->min_bs[DDIR_WRITE] = o->bs[DDIR_WRITE]; in fixup_options()[all …]
602 unsigned int min_bs; in td_min_bs() local604 min_bs = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in td_min_bs()605 return min(td->o.min_bs[DDIR_TRIM], min_bs); in td_min_bs()
38 unsigned int min_bs = td->o.rw_min_bs; in mark_random_map() local43 block = (io_u->offset - f->file_offset) / (uint64_t) min_bs; in mark_random_map()44 nr_blocks = (io_u->buflen + min_bs - 1) / min_bs; in mark_random_map()49 if ((nr_blocks * min_bs) < io_u->buflen) in mark_random_map()50 io_u->buflen = nr_blocks * min_bs; in mark_random_map()71 if (td->o.min_bs[ddir] > td->o.ba[ddir]) in last_block()72 max_size -= td->o.min_bs[ddir] - td->o.ba[ddir]; in last_block()437 minbs = td->o.min_bs[ddir]; in __get_next_buflen()1488 td->o.min_bs[DDIR_WRITE], in get_io_u()
69 unsigned int min_bs[DDIR_RWDIR_CNT]; member298 uint32_t min_bs[DDIR_RWDIR_CNT]; member
97 o->min_bs[i] = le32_to_cpu(top->min_bs[i]); in convert_thread_options_to_cpu()410 top->min_bs[i] = cpu_to_le32(o->min_bs[i]); in convert_thread_options_to_net()
68 unsigned int max_bs, min_bs; in bssplit_ddir() local77 min_bs = -1; in bssplit_ddir()113 if (val < min_bs) in bssplit_ddir()114 min_bs = val; in bssplit_ddir()157 o->min_bs[ddir] = min_bs; in bssplit_ddir()1736 .off1 = td_var_offset(min_bs[DDIR_READ]),1738 .off3 = td_var_offset(min_bs[DDIR_WRITE]),1740 .off5 = td_var_offset(min_bs[DDIR_TRIM]),
990 range_size = min(td->o.min_bs[DDIR_READ], td->o.min_bs[DDIR_WRITE]); in __init_rand_distribution()
611 c1 = fio_uint_to_kmg(o->min_bs[DDIR_READ]);613 c3 = fio_uint_to_kmg(o->min_bs[DDIR_READ]);
1025 min_write = td->o.min_bs[DDIR_WRITE]; in init_io_u()
2236 BLOCK_SIZE *min_bs, BLOCK_SIZE *max_bs) { in set_partition_range() argument2283 *min_bs = min_size; in set_partition_range()