Lines Matching refs:list_entry
266 * @list_entry: current entry
272 _public_ struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry)
276 if (list_entry == NULL)
278 next = list_entry->node.next;
280 if (next == &list_entry->list->node)
287 * @list_entry: current entry
294 _public_ struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char *name)
298 if (list_entry == NULL)
301 if (!list_entry->list->unique)
304 i = list_search(list_entry->list, name);
307 return list_entry->list->entries[i];
312 * @list_entry: current entry
318 _public_ const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
320 if (list_entry == NULL)
322 return list_entry->name;
327 * @list_entry: current entry
333 _public_ const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
335 if (list_entry == NULL)
337 return list_entry->value;
340 int udev_list_entry_get_num(struct udev_list_entry *list_entry)
342 if (list_entry == NULL)
344 return list_entry->num;
347 void udev_list_entry_set_num(struct udev_list_entry *list_entry, int num)
349 if (list_entry == NULL)
351 list_entry->num = num;