Lines Matching refs:iops
126 unsigned int iops[2]; member
345 tg->iops[READ] = -1; in throtl_pd_alloc()
346 tg->iops[WRITE] = -1; in throtl_pd_alloc()
389 (tg->bps[rw] != -1 || tg->iops[rw] != -1); in tg_update_has_rules()
645 io_trim = (tg->iops[rw] * throtl_slice * nr_slices)/HZ; in throtl_trim_slice()
691 tmp = (u64)tg->iops[rw] * jiffy_elapsed_rnd; in tg_with_in_iops_limit()
706 jiffy_wait = ((tg->io_disp[rw] + 1) * HZ)/tg->iops[rw] + 1; in tg_with_in_iops_limit()
780 if (tg->bps[rw] == -1 && tg->iops[rw] == -1) { in tg_may_dispatch()
1156 tg->iops[READ], tg->iops[WRITE]); in tg_conf_updated()
1245 .private = offsetof(struct throtl_grp, iops[READ]),
1251 .private = offsetof(struct throtl_grp, iops[WRITE]),
1278 tg->iops[READ] == -1 && tg->iops[WRITE] == -1) in tg_prfill_max()
1285 if (tg->iops[READ] != -1) in tg_prfill_max()
1286 snprintf(bufs[2], sizeof(bufs[2]), "%u", tg->iops[READ]); in tg_prfill_max()
1287 if (tg->iops[WRITE] != -1) in tg_prfill_max()
1288 snprintf(bufs[3], sizeof(bufs[3]), "%u", tg->iops[WRITE]); in tg_prfill_max()
1319 v[2] = tg->iops[READ]; in tg_set_max()
1320 v[3] = tg->iops[WRITE]; in tg_set_max()
1359 tg->iops[READ] = v[2]; in tg_set_max()
1360 tg->iops[WRITE] = v[3]; in tg_set_max()
1459 tg->io_disp[rw], tg->iops[rw], in blk_throtl_bio()