Lines Matching refs:udev_list_entry
36 * udev_list_entry:
41 struct udev_list_entry {
89 static inline struct udev_list_entry *list_node_to_entry(struct udev_list_node *node)
91 return container_of(node, struct udev_list_entry, node);
103 static void udev_list_entry_append(struct udev_list_entry *new, struct udev_list *list)
111 static void udev_list_entry_insert_before(struct udev_list_entry *new, struct udev_list_entry *entry)
142 struct udev_list_entry *udev_list_entry_add(struct udev_list *list, const char *name, const char *value)
144 struct udev_list_entry *entry;
166 entry = new0(struct udev_list_entry, 1);
186 struct udev_list_entry **entries;
192 entries = realloc(list->entries, (list->entries_max + add) * sizeof(struct udev_list_entry *));
214 (list->entries_cur - i) * sizeof(struct udev_list_entry *));
224 void udev_list_entry_delete(struct udev_list_entry *entry)
234 ((list->entries_cur-1) - i) * sizeof(struct udev_list_entry *));
247 struct udev_list_entry *entry_loop;
248 struct udev_list_entry *entry_tmp;
257 struct udev_list_entry *udev_list_get_entry(struct udev_list *list)
270 * Returns: udev_list_entry, #NULL if no more entries are available.
272 _public_ struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry)
292 * Returns: udev_list_entry, #NULL if no matching entry is found.
294 _public_ struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char *name)
318 _public_ const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
333 _public_ const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
340 int udev_list_entry_get_num(struct udev_list_entry *list_entry)
347 void udev_list_entry_set_num(struct udev_list_entry *list_entry, int num)