Home | History | Annotate | Download | only in libkmod

Lines Matching refs:kmod_list

57 struct kmod_list {
62 struct kmod_list *kmod_list_append(struct kmod_list *list, const void *data) _must_check_ __attribute__((nonnull(2)));
63 struct kmod_list *kmod_list_prepend(struct kmod_list *list, const void *data) _must_check_ __attribute__((nonnull(2)));
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__((nonnull(2)));
70 struct kmod_list *kmod_list_insert_before(struct kmod_list *list, const void *data) __attribute__((nonnull(2)));
71 struct kmod_list *kmod_list_append_list(struct kmod_list *list1, struct kmod_list *list2) _must_check_;
78 container_of(list_entry->node.next, struct kmod_list, node))
82 for (list_entry = (((first_entry) == NULL) ? NULL : container_of(first_entry->node.prev, struct kmod_list, node)); \
85 container_of(list_entry->node.prev, struct kmod_list, node)))
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)));
94 int kmod_lookup_alias_from_commands(struct kmod_ctx *ctx, const char *name, struct kmod_list **list) __attribute__((nonnull(1, 2, 3)));
114 struct kmod_list *aliases;
115 struct kmod_list *blacklists;
116 struct kmod_list *options;
117 struct kmod_list *remove_commands;
118 struct kmod_list *install_commands;
119 struct kmod_list *softdeps;
121 struct kmod_list *paths;
126 const char *kmod_blacklist_get_modname(const struct kmod_list *l) __attribute__((nonnull(1)));
127 const char *kmod_alias_get_name(const struct kmod_list *l) __attribute__((nonnull(1)));
128 const char *kmod_alias_get_modname(const struct kmod_list *l) __attribute__((nonnull(1)));
129 const char *kmod_option_get_options(const struct kmod_list *l) __attribute__((nonnull(1)));
130 const char *kmod_option_get_modname(const struct kmod_list *l) __attribute__((nonnull(1)));
131 const char *kmod_command_get_command(const struct kmod_list *l) __attribute__((nonnull(1)));
132 const char *kmod_command_get_modname(const struct kmod_list *l) __attribute__((nonnull(1)));
134 const char *kmod_softdep_get_name(const struct kmod_list *l) __attribute__((nonnull(1)));
135 const char * const *kmod_softdep_get_pre(const struct kmod_list *l, unsigned int *count) __attribute__((nonnull(1, 2)));
136 const char * const *kmod_softdep_get_post(const struct kmod_list *l, unsigned int *count);