Home
last modified time | relevance | path

Searched refs:kmod_list (Results 1 – 25 of 25) sorted by relevance

/external/kmod/libkmod/
Dlibkmod.h84 struct kmod_list;
85 struct kmod_list *kmod_list_next(const struct kmod_list *list,
86 const struct kmod_list *curr);
87 struct kmod_list *kmod_list_prev(const struct kmod_list *list,
88 const struct kmod_list *curr);
89 struct kmod_list *kmod_list_last(const struct kmod_list *list);
130 struct kmod_list **list);
132 struct kmod_list **list);
136 int kmod_module_unref_list(struct kmod_list *list);
137 struct kmod_module *kmod_module_get_module(const struct kmod_list *entry);
[all …]
Dlibkmod-list.c111 struct kmod_list *kmod_list_append(struct kmod_list *list, const void *data) in kmod_list_append()
113 struct kmod_list *new; in kmod_list_append()
125 struct kmod_list *kmod_list_insert_after(struct kmod_list *list, in kmod_list_insert_after()
128 struct kmod_list *new; in kmod_list_insert_after()
143 struct kmod_list *kmod_list_insert_before(struct kmod_list *list, in kmod_list_insert_before()
146 struct kmod_list *new; in kmod_list_insert_before()
161 struct kmod_list *kmod_list_append_list(struct kmod_list *list1, in kmod_list_append_list()
162 struct kmod_list *list2) in kmod_list_append_list()
175 struct kmod_list *kmod_list_prepend(struct kmod_list *list, const void *data) in kmod_list_prepend()
177 struct kmod_list *new; in kmod_list_prepend()
[all …]
Dlibkmod-internal.h57 struct kmod_list { struct
62 struct kmod_list *kmod_list_append(struct kmod_list *list, const void *data) _must_check_ __attribu… argument
63 struct kmod_list *kmod_list_prepend(struct kmod_list *list, const void *data) _must_check_ __attrib…
64 struct kmod_list *kmod_list_remove(struct kmod_list *list) _must_check_;
65 struct kmod_list *kmod_list_remove_data(struct kmod_list *list,
67 struct kmod_list *kmod_list_remove_n_latest(struct kmod_list *list,
69 struct kmod_list *kmod_list_insert_after(struct kmod_list *list, const void *data) __attribute__((n…
70 struct kmod_list *kmod_list_insert_before(struct kmod_list *list, const void *data) __attribute__((…
71 struct kmod_list *kmod_list_append_list(struct kmod_list *list1, struct kmod_list *list2) _must_che…
78 container_of(list_entry->node.next, struct kmod_list, node))
[all …]
Dlibkmod-module.c68 struct kmod_list *dep;
140 struct kmod_list *list = NULL; in kmod_module_parse_depline()
538 struct kmod_list **list) in kmod_module_new_from_lookup()
602 KMOD_EXPORT int kmod_module_unref_list(struct kmod_list *list) in kmod_module_unref_list()
625 const struct kmod_list *input, in kmod_module_get_filtered_blacklist()
626 struct kmod_list **output) in kmod_module_get_filtered_blacklist()
631 static const struct kmod_list *module_get_dependencies_noref(const struct kmod_module *mod) in module_get_dependencies_noref()
661 KMOD_EXPORT struct kmod_list *kmod_module_get_dependencies(const struct kmod_module *mod) in kmod_module_get_dependencies()
663 struct kmod_list *l, *l_new, *list_new = NULL; in kmod_module_get_dependencies()
700 KMOD_EXPORT struct kmod_module *kmod_module_get_module(const struct kmod_list *entry) in kmod_module_get_module()
[all …]
Dlibkmod-config.c61 const char *kmod_blacklist_get_modname(const struct kmod_list *l) in kmod_blacklist_get_modname()
66 const char *kmod_alias_get_name(const struct kmod_list *l) { in kmod_alias_get_name()
71 const char *kmod_alias_get_modname(const struct kmod_list *l) { in kmod_alias_get_modname()
76 const char *kmod_option_get_options(const struct kmod_list *l) { in kmod_option_get_options()
81 const char *kmod_option_get_modname(const struct kmod_list *l) { in kmod_option_get_modname()
86 const char *kmod_command_get_command(const struct kmod_list *l) { in kmod_command_get_command()
91 const char *kmod_command_get_modname(const struct kmod_list *l) { in kmod_command_get_modname()
96 const char *kmod_softdep_get_name(const struct kmod_list *l) { in kmod_softdep_get_name()
101 const char * const *kmod_softdep_get_pre(const struct kmod_list *l, unsigned int *count) { in kmod_softdep_get_pre()
107 const char * const *kmod_softdep_get_post(const struct kmod_list *l, unsigned int *count) { in kmod_softdep_get_post()
[all …]
Dlibkmod.c426 struct kmod_list **list) in kmod_lookup_alias_from_alias_bin()
478 struct kmod_list **list) in kmod_lookup_alias_from_symbols_file()
488 struct kmod_list **list) in kmod_lookup_alias_from_aliases_file()
526 struct kmod_list **list) in kmod_lookup_alias_from_builtin_file()
597 struct kmod_list **list) in kmod_lookup_alias_from_moddep_file()
631 struct kmod_list **list) in kmod_lookup_alias_from_config()
634 struct kmod_list *l; in kmod_lookup_alias_from_config()
665 struct kmod_list **list) in kmod_lookup_alias_from_commands()
668 struct kmod_list *l, *node; in kmod_lookup_alias_from_commands()
790 struct kmod_list *l; in kmod_validate_resources()
DREADME47 struct kmod_list *list, *itr;
/external/kmod/libkmod/python/kmod/
D_libkmod_h.pxd47 cdef struct kmod_list:
49 ctypedef kmod_list* const_kmod_list_ptr 'const struct kmod_list *'
50 kmod_list *kmod_list_next(
52 kmod_list *kmod_list_prev(
54 kmod_list *kmod_list_last(const_kmod_list_ptr list)
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)
68 int kmod_module_unref_list(kmod_list *list)
69 kmod_module *kmod_module_get_module(kmod_list *entry)
105 int kmod_module_get_info(const_kmod_module_ptr mod, kmod_list **list)
[all …]
Dlist.pxd21 cdef _libkmod_h.kmod_list *list
25 cdef _libkmod_h.kmod_list *_next
Dlist.pyx21 "Wrap a struct kmod_list* list item"
27 "Wrap a struct kmod_list* list with iteration"
/external/kmod/testsuite/
Dtest-list.c27 static int len(struct kmod_list *list) in len()
30 struct kmod_list *l; in len()
39 struct kmod_list *list = NULL, *last; in test_list_last()
59 struct kmod_list *list = NULL, *l, *p; in test_list_prev()
88 struct kmod_list *list = NULL, *l; in test_list_remove_n_latest()
114 struct kmod_list *list = NULL, *l; in test_list_remove_data()
137 struct kmod_list *a = NULL, *b = NULL, *c, *l; in test_list_append_list()
173 struct kmod_list *list = NULL, *l; in test_list_insert_before()
207 struct kmod_list *list = NULL, *l; in test_list_insert_after()
Dtest-loaded.c34 struct kmod_list *list, *itr; in loaded_1()
55 struct kmod_list *holders, *hitr; in loaded_1()
Dtest-dependencies.c38 struct kmod_list *list, *l; in test_dependencies()
Dtest-blacklist.c41 struct kmod_list *list = NULL, *l, *filtered; in blacklist_1()
Dtest-new-module.c88 struct kmod_list *l, *list = NULL; in from_alias()
Dtest-initstate.c38 struct kmod_list *list = NULL; in test_initstate_from_lookup()
/external/kmod/tools/
Dmodprobe.c211 struct kmod_list *l, *list = NULL; in show_modversions()
239 struct kmod_list *l, *list = NULL; in show_exports()
323 struct kmod_list *deps, *itr; in rmmod_do_remove_module()
358 static int rmmod_do_deps_list(struct kmod_list *list, bool stop_on_errors) in rmmod_do_deps_list()
360 struct kmod_list *l; in rmmod_do_deps_list()
377 struct kmod_list *pre = NULL, *post = NULL; in rmmod_do_module()
413 struct kmod_list *deps = kmod_module_get_dependencies(mod); in rmmod_do_module()
451 struct kmod_list *l, *list = NULL; in rmmod()
515 struct kmod_list *l, *list = NULL; in insmod()
Dlsmod.c35 struct kmod_list *list, *itr; in do_lsmod()
64 struct kmod_list *holders, *hitr; in do_lsmod()
Dremove.c46 struct kmod_list *holders; in check_module_inuse()
62 struct kmod_list *itr; in check_module_inuse()
Dmodinfo.c121 static int modinfo_params_do(const struct kmod_list *list) in modinfo_params_do()
123 const struct kmod_list *l; in modinfo_params_do()
173 struct kmod_list *l, *list = NULL; in modinfo_do()
279 struct kmod_list *l, *filtered, *list = NULL; in modinfo_alias_do()
Drmmod.c65 struct kmod_list *holders; in check_module_inuse()
81 struct kmod_list *itr; in check_module_inuse()
Ddepmod.c869 struct kmod_list *info_list;
870 struct kmod_list *dep_sym_list;
1523 struct kmod_list *l, *list = NULL; in depmod_load_modules()
1557 struct kmod_list *l; in depmod_load_module_dependencies()
1653 static void depmod_list_remove_data(struct kmod_list **list, void *data) in depmod_list_remove_data()
1655 struct kmod_list *l; in depmod_list_remove_data()
1663 struct kmod_list **roots, in depmod_report_one_cycle()
1718 struct kmod_list **roots, in depmod_report_cycles_from_root()
1723 struct kmod_list *free_list = NULL; /* struct vertex */ in depmod_report_cycles_from_root()
1724 struct kmod_list *l; in depmod_report_cycles_from_root()
[all …]
Dinsert.c62 struct kmod_list *list = NULL, *l; in do_insert()
/external/igt-gpu-tools/lib/
Digt_kmod.c122 struct kmod_list *mod, *list; in igt_kmod_is_loaded()
251 struct kmod_list *module, *list; in igt_kmod_list_loaded()
260 struct kmod_list *module_deps, *module_deps_list; in igt_kmod_list_loaded()
416 struct kmod_list *d, *pre; in igt_kselftest_get_tests()
/external/kmod/libkmod/docs/
Dlibkmod-sections.txt22 kmod_list