Lines Matching refs:ctx
63 static int apply_file(struct kmod_ctx *ctx, const char *path, bool ignore_enoent) { in apply_file() argument
68 assert(ctx); in apply_file()
97 k = module_load_and_warn(ctx, l, true); in apply_file()
162 _cleanup_(kmod_unrefp) struct kmod_ctx *ctx = NULL; in run() local
177 ctx = kmod_new(NULL, NULL); in run()
178 if (!ctx) { in run()
183 kmod_load_resources(ctx); in run()
184 kmod_set_log_fn(ctx, systemd_kmod_log, NULL); in run()
190 k = apply_file(ctx, argv[i], false); in run()
199 k = module_load_and_warn(ctx, *i, true); in run()
215 k = apply_file(ctx, *fn, true); in run()