Home | History | Annotate | Download | only in libkmod

Lines Matching refs:kmod_ctx

71  * kmod_ctx:
75 struct kmod_ctx {
90 void kmod_log(const struct kmod_ctx *ctx,
157 KMOD_EXPORT const char *kmod_get_dirname(const struct kmod_ctx *ctx)
171 KMOD_EXPORT void *kmod_get_userdata(const struct kmod_ctx *ctx)
185 KMOD_EXPORT void kmod_set_userdata(struct kmod_ctx *ctx, const void *userdata)
249 KMOD_EXPORT struct kmod_ctx *kmod_new(const char *dirname,
253 struct kmod_ctx *ctx;
256 ctx = calloc(1, sizeof(struct kmod_ctx));
306 KMOD_EXPORT struct kmod_ctx *kmod_ref(struct kmod_ctx *ctx)
323 KMOD_EXPORT struct kmod_ctx *kmod_unref(struct kmod_ctx *ctx)
353 KMOD_EXPORT void kmod_set_log_fn(struct kmod_ctx *ctx,
373 KMOD_EXPORT int kmod_get_log_priority(const struct kmod_ctx *ctx)
388 KMOD_EXPORT void kmod_set_log_priority(struct kmod_ctx *ctx, int priority)
395 struct kmod_module *kmod_pool_get_module(struct kmod_ctx *ctx,
407 void kmod_pool_add_module(struct kmod_ctx *ctx, struct kmod_module *mod,
415 void kmod_pool_del_module(struct kmod_ctx *ctx, struct kmod_module *mod,
423 static int kmod_lookup_alias_from_alias_bin(struct kmod_ctx *ctx,
477 int kmod_lookup_alias_from_symbols_file(struct kmod_ctx *ctx, const char *name,
487 int kmod_lookup_alias_from_aliases_file(struct kmod_ctx *ctx, const char *name,
494 static char *lookup_builtin_file(struct kmod_ctx *ctx, const char *name)
525 int kmod_lookup_alias_from_builtin_file(struct kmod_ctx *ctx, const char *name,
557 bool kmod_lookup_alias_is_builtin(struct kmod_ctx *ctx, const char *name)
566 char *kmod_search_moddep(struct kmod_ctx *ctx, const char *name)
596 int kmod_lookup_alias_from_moddep_file(struct kmod_ctx *ctx, const char *name,
630 int kmod_lookup_alias_from_config(struct kmod_ctx *ctx, const char *name,
664 int kmod_lookup_alias_from_commands(struct kmod_ctx *ctx, const char *name,
743 void kmod_set_modules_visited(struct kmod_ctx *ctx, bool visited)
753 void kmod_set_modules_required(struct kmod_ctx *ctx, bool required)
788 KMOD_EXPORT int kmod_validate_resources(struct kmod_ctx *ctx)
834 KMOD_EXPORT int kmod_load_resources(struct kmod_ctx *ctx)
880 KMOD_EXPORT void kmod_unload_resources(struct kmod_ctx *ctx)
912 KMOD_EXPORT int kmod_dump_index(struct kmod_ctx *ctx, enum kmod_index type,
945 const struct kmod_config *kmod_get_config(const struct kmod_ctx *ctx)