Lines Matching refs:ctx
1200 struct blkg_conf_ctx ctx; in tg_set_conf() local
1205 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_conf()
1210 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
1215 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1225 blkg_conf_finish(&ctx); in tg_set_conf()
1317 struct blkg_conf_ctx ctx; in tg_set_max() local
1322 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_max()
1326 tg = blkg_to_tg(ctx.blkg); in tg_set_max()
1339 if (sscanf(ctx.body, "%26s%n", tok, &len) != 1) in tg_set_max()
1343 ctx.body += len; in tg_set_max()
1376 blkg_conf_finish(&ctx); in tg_set_max()