Searched defs:hwdb (Results 1 - 5 of 5) sorted by relevance
/systemd/src/libudev/ |
H A D | libudev-hwdb.c | 20 #include "sd-hwdb.h" 23 #include "hwdb-util.h" 27 * SECTION:libudev-hwdb 42 sd_hwdb *hwdb; member in struct:udev_hwdb 53 * Returns: a hwdb context. 57 struct udev_hwdb *hwdb; local 66 hwdb = new0(struct udev_hwdb, 1); 67 if (!hwdb) 70 hwdb->refcount = 1; 71 hwdb 87 udev_hwdb_ref(struct udev_hwdb *hwdb) argument 103 udev_hwdb_unref(struct udev_hwdb *hwdb) argument 128 udev_hwdb_get_properties_list_entry(struct udev_hwdb *hwdb, const char *modalias, unsigned int flags) argument [all...] |
/systemd/src/udev/ |
H A D | udev-builtin-hwdb.c | 25 #include "sd-hwdb.h" 28 #include "hwdb-util.h" 33 static sd_hwdb *hwdb; variable 42 if (!hwdb) 52 SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) { 144 if (!hwdb) 196 if (hwdb) 199 r = sd_hwdb_new(&hwdb); 208 hwdb = sd_hwdb_unref(hwdb); [all...] |
/systemd/src/test/ |
H A D | test-libudev.c | 394 struct udev_hwdb *hwdb; local 397 hwdb = udev_hwdb_new(udev); 399 udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(hwdb, modalias, 0)) 403 hwdb = udev_hwdb_unref(hwdb); 404 assert_se(hwdb == NULL);
|
/systemd/src/libsystemd/sd-hwdb/ |
H A D | sd-hwdb.c | 30 #include "sd-hwdb.h" 35 #include "hwdb-internal.h" 36 #include "hwdb-util.h" 100 static const struct trie_child_entry_f *trie_node_children(sd_hwdb *hwdb, const struct trie_node_f *node) { argument 101 return (const struct trie_child_entry_f *)((const char *)node + le64toh(hwdb->head->node_size)); 104 static const struct trie_value_entry_f *trie_node_values(sd_hwdb *hwdb, const struct trie_node_f *node) { argument 107 base += le64toh(hwdb->head->node_size); 108 base += node->children_count * le64toh(hwdb->head->child_entry_size); 112 static const struct trie_node_f *trie_node_from_off(sd_hwdb *hwdb, le64_t off) { argument 113 return (const struct trie_node_f *)(hwdb 116 trie_string(sd_hwdb *hwdb, le64_t off) argument 127 node_lookup_f(sd_hwdb *hwdb, const struct trie_node_f *node, uint8_t c) argument 139 hwdb_add_property(sd_hwdb *hwdb, const char *key, const char *value) argument 168 trie_fnmatch_f(sd_hwdb *hwdb, const struct trie_node_f *node, size_t p, struct linebuf *buf, const char *search) argument 201 trie_search_f(sd_hwdb *hwdb, const char *search) argument 337 sd_hwdb_ref(sd_hwdb *hwdb) argument 345 sd_hwdb_unref(sd_hwdb *hwdb) argument 358 hwdb_validate(sd_hwdb *hwdb) argument 383 properties_prepare(sd_hwdb *hwdb, const char *modalias) argument 412 sd_hwdb_get(sd_hwdb *hwdb, const char *modalias, const char *key, const char **_value) argument 434 sd_hwdb_seek(sd_hwdb *hwdb, const char *modalias) argument 451 sd_hwdb_enumerate(sd_hwdb *hwdb, const char **key, const char **value) argument [all...] |
/systemd/src/network/ |
H A D | networkctl.c | 25 #include "sd-hwdb.h" 33 #include "hwdb-util.h" 260 static int ieee_oui(sd_hwdb *hwdb, struct ether_addr *mac, char **ret) { argument 267 if (!hwdb) 280 r = sd_hwdb_get(hwdb, modalias, "ID_OUI_FROM_DATABASE", &description); 295 sd_hwdb *hwdb, 389 r = ieee_oui(hwdb, &mac, gateway_description); 401 sd_hwdb *hwdb, 418 r = get_gateway_description(rtnl, hwdb, local[i].ifindex, local[i].family, &local[i].address, &description); 504 sd_hwdb *hwdb, 293 get_gateway_description( sd_netlink *rtnl, sd_hwdb *hwdb, int ifindex, int family, union in_addr_union *gateway, char **gateway_description) argument 399 dump_gateways( sd_netlink *rtnl, sd_hwdb *hwdb, const char *prefix, int ifindex) argument 502 link_status_one( sd_netlink *rtnl, sd_hwdb *hwdb, const char *name) argument [all...] |
Completed in 16 milliseconds