Searched refs:unique_entries (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/libudev/ |
D | libudev-list.c | 31 Hashmap *unique_entries; member 43 hashmap_remove(entry->list->unique_entries, entry->name); in udev_list_entry_free() 98 udev_list_entry_free(hashmap_get(list->unique_entries, entry->name)); in udev_list_entry_add() 100 … if (hashmap_ensure_put(&list->unique_entries, &string_hash_ops, entry->name, entry) < 0) in udev_list_entry_add() 118 hashmap_clear_with_destructor(list->unique_entries, udev_list_entry_free); in udev_list_cleanup() 129 hashmap_free(list->unique_entries); in udev_list_free() 147 n = hashmap_size(list->unique_entries); in udev_list_get_entry() 151 LIST_PREPEND(entries, list->entries, hashmap_first(list->unique_entries)); in udev_list_get_entry() 161 HASHMAP_FOREACH(entry, list->unique_entries) in udev_list_get_entry() 206 return hashmap_get(list_entry->list->unique_entries, name); in udev_list_entry_get_by_name()
|