Lines Matching refs:ctx
1463 struct blkg_conf_ctx ctx; in tg_set_conf() local
1468 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_conf()
1473 if (sscanf(ctx.body, "%llu", &v) != 1) in tg_set_conf()
1478 tg = blkg_to_tg(ctx.blkg); in tg_set_conf()
1488 blkg_conf_finish(&ctx); in tg_set_conf()
1652 struct blkg_conf_ctx ctx; in tg_set_limit() local
1660 ret = blkg_conf_prep(blkcg, &blkcg_policy_throtl, buf, &ctx); in tg_set_limit()
1664 tg = blkg_to_tg(ctx.blkg); in tg_set_limit()
1679 if (sscanf(ctx.body, "%26s%n", tok, &len) != 1) in tg_set_limit()
1683 ctx.body += len; in tg_set_limit()
1760 blkg_conf_finish(&ctx); in tg_set_limit()