/external/kmod/libkmod/ |
libkmod.h | 34 * kmod_ctx 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) [all...] |
libkmod-internal.h | 14 kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {} 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) __attribute__((nonnull(1, 2, 3))); 89 int kmod_lookup_alias_from_symbols_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3))); 90 int kmod_lookup_alias_from_aliases_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3))); 91 int kmod_lookup_alias_from_moddep_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3))); 92 int kmod_lookup_alias_from_builtin_file(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3))); 93 bool kmod_lookup_alias_is_builtin(struct kmod_ctx *ctx, const char *name) __attribute__((nonnull(1, 2))); 94 int kmod_lookup_alias_from_commands(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3))); 95 void kmod_set_modules_visited(struct kmod_ctx *ctx, bool visited) __attribute__((nonnull((1)))) [all...] |
libkmod.c | 71 * kmod_ctx: 75 struct kmod_ctx { struct 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 [all...] |
libkmod-index.h | 43 struct index_mm *index_mm_open(struct kmod_ctx *ctx, const char *filename,
|
libkmod-config.c | 576 struct kmod_ctx *ctx = config->ctx; 699 static bool conf_files_filter_out(struct kmod_ctx *ctx, DIR *d, 729 static int conf_files_insert_sorted(struct kmod_ctx *ctx, 787 static int conf_files_list(struct kmod_ctx *ctx, struct kmod_list **list, 826 int kmod_config_new(struct kmod_ctx *ctx, struct kmod_config **p_config, 935 static struct kmod_config_iter *kmod_config_iter_new(const struct kmod_ctx* ctx, 999 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_blacklists(const struct kmod_ctx *ctx) 1019 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_install_commands(const struct kmod_ctx *ctx) 1039 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_remove_commands(const struct kmod_ctx *ctx) 1059 KMOD_EXPORT struct kmod_config_iter *kmod_config_get_aliases(const struct kmod_ctx *ctx [all...] |
libkmod-module.c | 64 struct kmod_ctx *ctx; 139 struct kmod_ctx *ctx = mod->ctx; 262 static int kmod_module_new(struct kmod_ctx *ctx, const char *key, 329 KMOD_EXPORT int kmod_module_new_from_name(struct kmod_ctx *ctx, 344 int kmod_module_new_from_alias(struct kmod_ctx *ctx, const char *alias, 387 KMOD_EXPORT int kmod_module_new_from_path(struct kmod_ctx *ctx, 536 KMOD_EXPORT int kmod_module_new_from_lookup(struct kmod_ctx *ctx, 624 KMOD_EXPORT int kmod_module_get_filtered_blacklist(const struct kmod_ctx *ctx, 893 struct kmod_ctx *ctx = mod->ctx; 923 KMOD_EXPORT int kmod_module_apply_filter(const struct kmod_ctx *ctx [all...] |
libkmod-file.c | 59 const struct kmod_ctx *ctx; 284 struct kmod_file *kmod_file_open(const struct kmod_ctx *ctx,
|
/external/kmod/tools/ |
log.h | 36 struct kmod_ctx; 37 void log_setup_kmod_log(struct kmod_ctx *ctx, int priority);
|
insert.c | 61 struct kmod_ctx *ctx;
|
lsmod.c | 33 struct kmod_ctx *ctx;
|
modprobe.c | 161 static int show_config(struct kmod_ctx *ctx) 165 struct kmod_config_iter *(*get_iter)(const struct kmod_ctx *ctx); 207 static int show_modversions(struct kmod_ctx *ctx, const char *filename) 419 static int rmmod(struct kmod_ctx *ctx, const char *alias) 445 static int rmmod_all(struct kmod_ctx *ctx, char **args, int nargs) 482 static int insmod(struct kmod_ctx *ctx, const char *alias, 558 static int insmod_all(struct kmod_ctx *ctx, char **args, int nargs) 718 struct kmod_ctx *ctx;
|
log.c | 143 void log_setup_kmod_log(struct kmod_ctx *ctx, int priority)
|
remove.c | 87 struct kmod_ctx *ctx;
|
modinfo.c | 264 static int modinfo_path_do(struct kmod_ctx *ctx, const char *path) 277 static int modinfo_alias_do(struct kmod_ctx *ctx, const char *alias) 362 struct kmod_ctx *ctx;
|
insmod.c | 67 struct kmod_ctx *ctx;
|
rmmod.c | 106 struct kmod_ctx *ctx;
|
/external/kmod/testsuite/ |
test-init.c | 34 struct kmod_ctx *ctx; 50 struct kmod_ctx *ctx; 85 struct kmod_ctx *ctx;
|
test-initstate.c | 37 struct kmod_ctx *ctx; 83 struct kmod_ctx *ctx;
|
test-new-module.c | 41 struct kmod_ctx *ctx; 80 struct kmod_ctx *ctx;
|
test-blacklist.c | 40 struct kmod_ctx *ctx;
|
test-dependencies.c | 36 struct kmod_ctx *ctx;
|
test-loaded.c | 32 struct kmod_ctx *ctx;
|
init_module.c | 61 static struct kmod_ctx *ctx;
|
/external/kmod/libkmod/python/kmod/ |
kmod.pxd | 21 cdef _libkmod_h.kmod_ctx *_kmod_ctx
|
kmod.pyx | 30 "Wrap a struct kmod_ctx* item"
|