Lines Matching refs:ctx
1469 struct blkg_conf_ctx ctx; in tg_set_conf() local
1474 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_conf()
1479 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
1484 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1494 blkg_conf_finish(&ctx); in tg_set_conf()
1658 struct blkg_conf_ctx ctx; in tg_set_limit() local
1666 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_limit()
1670 tg = blkg_to_tg(ctx.blkg); in tg_set_limit()
1685 if (sscanf(ctx.body, "%26s%n", tok, &len) != 1) in tg_set_limit()
1689 ctx.body += len; in tg_set_limit()
1766 blkg_conf_finish(&ctx); in tg_set_limit()