• Home
  • Raw
  • Download

Lines Matching refs:v

1334 	u64 v = *(u64 *)((void *)tg + off);  in tg_prfill_conf_u64()  local
1336 if (v == U64_MAX) in tg_prfill_conf_u64()
1338 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_u64()
1345 unsigned int v = *(unsigned int *)((void *)tg + off); in tg_prfill_conf_uint() local
1347 if (v == UINT_MAX) in tg_prfill_conf_uint()
1349 return __blkg_prfill_u64(sf, pd, v); in tg_prfill_conf_uint()
1352 static int tg_print_conf_u64(struct seq_file *sf, void *v) in tg_print_conf_u64() argument
1359 static int tg_print_conf_uint(struct seq_file *sf, void *v) in tg_print_conf_uint() argument
1429 u64 v; in tg_set_conf() local
1436 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
1438 if (!v) in tg_set_conf()
1439 v = U64_MAX; in tg_set_conf()
1444 *(u64 *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1446 *(unsigned int *)((void *)tg + of_cft(of)->private) = v; in tg_set_conf()
1578 static int tg_print_limit(struct seq_file *sf, void *v) in tg_print_limit() argument
1591 u64 v[4]; in tg_set_limit() local
1603 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()
1604 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()
1605 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()
1606 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()
1634 v[0] = val; in tg_set_limit()
1636 v[1] = val; in tg_set_limit()
1638 v[2] = min_t(u64, val, UINT_MAX); in tg_set_limit()
1640 v[3] = min_t(u64, val, UINT_MAX); in tg_set_limit()
1649 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()
1650 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()
1651 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()
1652 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()
1655 tg->bps[READ][index] = v[0]; in tg_set_limit()
1656 tg->bps[WRITE][index] = v[1]; in tg_set_limit()
1657 tg->iops[READ][index] = v[2]; in tg_set_limit()
1658 tg->iops[WRITE][index] = v[3]; in tg_set_limit()
2464 unsigned long v; in blk_throtl_sample_time_store() local
2469 if (kstrtoul(page, 10, &v)) in blk_throtl_sample_time_store()
2471 t = msecs_to_jiffies(v); in blk_throtl_sample_time_store()