/external/kmod/libkmod/ |
D | libkmod.h | 39 struct kmod_ctx; 40 struct kmod_ctx *kmod_new(const char *dirname, const char * const *config_paths); 41 struct kmod_ctx *kmod_ref(struct kmod_ctx *ctx); 42 struct kmod_ctx *kmod_unref(struct kmod_ctx *ctx); 43 void kmod_set_log_fn(struct kmod_ctx *ctx, 49 int kmod_get_log_priority(const struct kmod_ctx *ctx); 50 void kmod_set_log_priority(struct kmod_ctx *ctx, int priority); 51 void *kmod_get_userdata(const struct kmod_ctx *ctx); 52 void kmod_set_userdata(struct kmod_ctx *ctx, const void *userdata); 54 const char *kmod_get_dirname(const struct kmod_ctx *ctx); [all …]
|
D | libkmod.c | 75 struct kmod_ctx { struct 90 void kmod_log(const struct kmod_ctx *ctx, in kmod_log() argument 157 KMOD_EXPORT const char *kmod_get_dirname(const struct kmod_ctx *ctx) in kmod_get_dirname() 171 KMOD_EXPORT void *kmod_get_userdata(const struct kmod_ctx *ctx) in kmod_get_userdata() 185 KMOD_EXPORT void kmod_set_userdata(struct kmod_ctx *ctx, const void *userdata) in kmod_set_userdata() 249 KMOD_EXPORT struct kmod_ctx *kmod_new(const char *dirname, in kmod_new() 253 struct kmod_ctx *ctx; in kmod_new() 256 ctx = calloc(1, sizeof(struct kmod_ctx)); in kmod_new() 306 KMOD_EXPORT struct kmod_ctx *kmod_ref(struct kmod_ctx *ctx) in kmod_ref() 323 KMOD_EXPORT struct kmod_ctx *kmod_unref(struct kmod_ctx *ctx) in kmod_unref() [all …]
|
D | libkmod-internal.h | 14 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {} in kmod_log_null() 49 void kmod_log(const struct kmod_ctx *ctx, 88 int kmod_lookup_alias_from_config(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) … 89 int kmod_lookup_alias_from_symbols_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **… 90 int kmod_lookup_alias_from_aliases_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **… 91 int kmod_lookup_alias_from_moddep_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **l… 92 int kmod_lookup_alias_from_builtin_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **… 93 bool kmod_lookup_alias_is_builtin(struct kmod_ctx *ctx, const char *name) __attribute__((nonnull(1,… 94 int kmod_lookup_alias_from_commands(struct kmod_ctx *ctx, const char *name, struct kmod_list **list… 95 void kmod_set_modules_visited(struct kmod_ctx *ctx, bool visited) __attribute__((nonnull((1)))); [all …]
|
D | libkmod-config.c | 576 struct kmod_ctx *ctx = config->ctx; in kmod_config_parse() 699 static bool conf_files_filter_out(struct kmod_ctx *ctx, DIR *d, in conf_files_filter_out() 729 static int conf_files_insert_sorted(struct kmod_ctx *ctx, in conf_files_insert_sorted() 787 static int conf_files_list(struct kmod_ctx *ctx, struct kmod_list **list, in conf_files_list() 826 int kmod_config_new(struct kmod_ctx *ctx, struct kmod_config **p_config, in kmod_config_new() 935 static struct kmod_config_iter *kmod_config_iter_new(const struct kmod_ctx* ctx, in kmod_config_iter_new() 999 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_blacklists(const struct kmod_ctx *ctx) in kmod_config_get_blacklists() 1019 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_install_commands(const struct kmod_ctx *ctx) in kmod_config_get_install_commands() 1039 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_remove_commands(const struct kmod_ctx *ctx) in kmod_config_get_remove_commands() 1059 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_aliases(const struct kmod_ctx *ctx) in kmod_config_get_aliases() [all …]
|
D | libkmod-index.h | 43 struct index_mm *index_mm_open(struct kmod_ctx *ctx, const char *filename,
|
D | libkmod-module.c | 64 struct kmod_ctx *ctx; 139 struct kmod_ctx *ctx = mod->ctx; in kmod_module_parse_depline() 262 static int kmod_module_new(struct kmod_ctx *ctx, const char *key, in kmod_module_new() 329 KMOD_EXPORT int kmod_module_new_from_name(struct kmod_ctx *ctx, in kmod_module_new_from_name() 344 int kmod_module_new_from_alias(struct kmod_ctx *ctx, const char *alias, in kmod_module_new_from_alias() 387 KMOD_EXPORT int kmod_module_new_from_path(struct kmod_ctx *ctx, in kmod_module_new_from_path() 536 KMOD_EXPORT int kmod_module_new_from_lookup(struct kmod_ctx *ctx, in kmod_module_new_from_lookup() 624 KMOD_EXPORT int kmod_module_get_filtered_blacklist(const struct kmod_ctx *ctx, in kmod_module_get_filtered_blacklist() 893 struct kmod_ctx *ctx = mod->ctx; in module_is_blacklisted() 923 KMOD_EXPORT int kmod_module_apply_filter(const struct kmod_ctx *ctx, in kmod_module_apply_filter() [all …]
|
D | libkmod-file.c | 59 const struct kmod_ctx *ctx; 284 struct kmod_file *kmod_file_open(const struct kmod_ctx *ctx, in kmod_file_open()
|
/external/kmod/libkmod/python/kmod/ |
D | _libkmod_h.pxd | 34 cdef struct kmod_ctx: 37 kmod_ctx *kmod_new( 39 kmod_ctx *kmod_ref(kmod_ctx *ctx) 40 kmod_ctx *kmod_unref(kmod_ctx *ctx) 43 int kmod_load_resources(kmod_ctx *ctx) 44 void kmod_unload_resources(kmod_ctx *ctx) 61 kmod_ctx *ctx, const_char_ptr name, kmod_module **mod) 63 kmod_ctx *ctx, const_char_ptr given_alias, kmod_list **list) 64 int kmod_module_new_from_loaded(kmod_ctx *ctx, kmod_list **list)
|
D | kmod.pxd | 21 cdef _libkmod_h.kmod_ctx *_kmod_ctx
|
/external/igt-gpu-tools/lib/ |
D | igt_kmod.c | 57 static struct kmod_ctx *kmod_ctx(void) in kmod_ctx() function 59 static struct kmod_ctx *ctx; in kmod_ctx() 121 struct kmod_ctx *ctx = kmod_ctx(); in igt_kmod_is_loaded() 174 struct kmod_ctx *ctx = kmod_ctx(); in igt_kmod_load() 220 struct kmod_ctx *ctx = kmod_ctx(); in igt_kmod_unload() 250 struct kmod_ctx *ctx = kmod_ctx(); in igt_kmod_list_loaded() 482 err = kmod_module_new_from_name(kmod_ctx(), module_name, &tst->kmod); in igt_kselftest_init()
|
/external/kmod/testsuite/ |
D | test-init.c | 34 struct kmod_ctx *ctx; in test_initlib() 50 struct kmod_ctx *ctx; in test_insert() 85 struct kmod_ctx *ctx; in test_remove()
|
D | test-new-module.c | 41 struct kmod_ctx *ctx; in from_name() 80 struct kmod_ctx *ctx; in from_alias()
|
D | test-initstate.c | 37 struct kmod_ctx *ctx; in test_initstate_from_lookup() 83 struct kmod_ctx *ctx; in test_initstate_from_name()
|
D | test-dependencies.c | 36 struct kmod_ctx *ctx; in test_dependencies()
|
D | test-loaded.c | 32 struct kmod_ctx *ctx; in loaded_1()
|
D | test-blacklist.c | 40 struct kmod_ctx *ctx; in blacklist_1()
|
/external/kmod/tools/ |
D | log.h | 36 struct kmod_ctx; 37 void log_setup_kmod_log(struct kmod_ctx *ctx, int priority);
|
D | modprobe.c | 163 static int show_config(struct kmod_ctx *ctx) in show_config() 167 struct kmod_config_iter *(*get_iter)(const struct kmod_ctx *ctx); in show_config() 209 static int show_modversions(struct kmod_ctx *ctx, const char *filename) in show_modversions() 237 static int show_exports(struct kmod_ctx *ctx, const char *filename) in show_exports() 449 static int rmmod(struct kmod_ctx *ctx, const char *alias) in rmmod() 475 static int rmmod_all(struct kmod_ctx *ctx, char **args, int nargs) in rmmod_all() 512 static int insmod(struct kmod_ctx *ctx, const char *alias, in insmod() 588 static int insmod_all(struct kmod_ctx *ctx, char **args, int nargs) in insmod_all() 748 struct kmod_ctx *ctx; in do_modprobe()
|
D | modinfo.c | 264 static int modinfo_path_do(struct kmod_ctx *ctx, const char *path) in modinfo_path_do() 277 static int modinfo_alias_do(struct kmod_ctx *ctx, const char *alias) in modinfo_alias_do() 362 struct kmod_ctx *ctx; in do_modinfo()
|
D | lsmod.c | 33 struct kmod_ctx *ctx; in do_lsmod()
|
D | insert.c | 61 struct kmod_ctx *ctx; in do_insert()
|
D | remove.c | 87 struct kmod_ctx *ctx; in do_remove()
|
D | log.c | 143 void log_setup_kmod_log(struct kmod_ctx *ctx, int priority) in log_setup_kmod_log()
|
D | insmod.c | 67 struct kmod_ctx *ctx; in do_insmod()
|
/external/kmod/libkmod/docs/ |
D | libkmod-sections.txt | 3 kmod_ctx
|