Lines Matching refs:list_entry
269 * @list_entry: current entry
275 _public_ struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *list_entry)
279 if (list_entry == NULL)
281 next = list_entry->node.next;
283 if (next == &list_entry->list->node)
290 * @list_entry: current entry
297 _public_ struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *list_entry, const char *name)
301 if (list_entry == NULL)
304 if (!list_entry->list->unique)
307 i = list_search(list_entry->list, name);
310 return list_entry->list->entries[i];
315 * @list_entry: current entry
321 _public_ const char *udev_list_entry_get_name(struct udev_list_entry *list_entry)
323 if (list_entry == NULL)
325 return list_entry->name;
330 * @list_entry: current entry
336 _public_ const char *udev_list_entry_get_value(struct udev_list_entry *list_entry)
338 if (list_entry == NULL)
340 return list_entry->value;
343 int udev_list_entry_get_num(struct udev_list_entry *list_entry)
345 if (list_entry == NULL)
347 return list_entry->num;
350 void udev_list_entry_set_num(struct udev_list_entry *list_entry, int num)
352 if (list_entry == NULL)
354 list_entry->num = num;