udev 100 src/backlight/backlight.c static bool validate_device(struct udev *udev, struct udev_device *device) { udev 107 src/backlight/backlight.c assert(udev); udev 140 src/backlight/backlight.c enumerate = udev_enumerate_new(udev); udev 158 src/backlight/backlight.c other = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 268 src/backlight/backlight.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 293 src/backlight/backlight.c udev = udev_new(); udev 294 src/backlight/backlight.c if (!udev) { udev 319 src/backlight/backlight.c device = udev_device_new_from_subsystem_sysname(udev, ss, sysname); udev 381 src/backlight/backlight.c if (!validate_device(udev, device)) udev 406 src/backlight/backlight.c if (!validate_device(udev, device)) { udev 473 src/core/device.c dev = udev_device_new_from_syspath(m->udev, path); udev 566 src/core/device.c m->udev_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 590 src/core/device.c e = udev_enumerate_new(m->udev); udev 621 src/core/manager.c m->udev = udev_new(); udev 622 src/core/manager.c if (!m->udev) { udev 950 src/core/manager.c udev_unref(m->udev); udev 175 src/core/manager.h struct udev* udev; udev 259 src/core/swap.c d = udev_device_new_from_devnum(UNIT(s)->manager->udev, 'b', st.st_rdev); udev 440 src/core/swap.c d = udev_device_new_from_devnum(m->udev, 'b', st.st_rdev); udev 188 src/core/umount.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 193 src/core/umount.c udev = udev_new(); udev 194 src/core/umount.c if (!udev) udev 197 src/core/umount.c e = udev_enumerate_new(udev); udev 224 src/core/umount.c d = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 252 src/core/umount.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 257 src/core/umount.c udev = udev_new(); udev 258 src/core/umount.c if (!udev) udev 261 src/core/umount.c e = udev_enumerate_new(udev); udev 285 src/core/umount.c d = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 210 src/cryptsetup/cryptsetup.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 223 src/cryptsetup/cryptsetup.c udev = udev_new(); udev 224 src/cryptsetup/cryptsetup.c if (!udev) udev 227 src/cryptsetup/cryptsetup.c device = udev_device_new_from_devnum(udev, 'b', st.st_rdev); udev 220 src/fsck/fsck.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 245 src/fsck/fsck.c udev = udev_new(); udev 246 src/fsck/fsck.c if (!udev) { udev 260 src/fsck/fsck.c udev_device = udev_device_new_from_devnum(udev, 'b', st.st_rdev); udev 287 src/fsck/fsck.c udev_device = udev_device_new_from_devnum(udev, 'b', st.st_dev); udev 378 src/gpt-auto-generator/gpt-auto-generator.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 389 src/gpt-auto-generator/gpt-auto-generator.c udev = udev_new(); udev 390 src/gpt-auto-generator/gpt-auto-generator.c if (!udev) udev 393 src/gpt-auto-generator/gpt-auto-generator.c d = udev_device_new_from_devnum(udev, 'b', devnum); udev 478 src/gpt-auto-generator/gpt-auto-generator.c e = udev_enumerate_new(udev); udev 506 src/gpt-auto-generator/gpt-auto-generator.c q = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 222 src/journal/journald-kmsg.c ud = udev_device_new_from_device_id(s->udev, kernel_device); udev 1578 src/journal/journald-server.c s->udev = udev_new(); udev 1579 src/journal/journald-server.c if (!s->udev) udev 1666 src/journal/journald-server.c if (s->udev) udev 1667 src/journal/journald-server.c udev_unref(s->udev); udev 134 src/journal/journald-server.h struct udev *udev; udev 644 src/libsystemd-network/sd-dhcp6-client.c _cleanup_udev_unref_ struct udev *udev; udev 647 src/libsystemd-network/sd-dhcp6-client.c udev = udev_new(); udev 648 src/libsystemd-network/sd-dhcp6-client.c if (!udev) udev 652 src/libsystemd-network/sd-dhcp6-client.c device = udev_device_new_from_device_id(udev, ifindex_str); udev 105 src/libudev/libudev-device-private.c struct udev *udev = udev_device_get_udev(udev_device); udev 133 src/libudev/libudev-device-private.c udev_err(udev, "unable to create temporary db file '%s': %m\n", filename_tmp); udev 175 src/libudev/libudev-device-private.c udev_dbg(udev, "created %s file '%s' for '%s'\n", has_info ? "db" : "empty", udev 57 src/libudev/libudev-device.c struct udev *udev; udev 214 src/libudev/libudev-device.c if (util_get_sys_core_link_value(udev_device->udev, "driver", udev_device->syspath, driver, sizeof(driver)) > 0) udev 290 src/libudev/libudev-device.c if (util_get_sys_core_link_value(udev_device->udev, "subsystem", udev_device->syspath, subsystem, sizeof(subsystem)) > 0) { udev 538 src/libudev/libudev-device.c udev_dbg(udev_device->udev, "no db file to read %s: %m\n", dbfile); udev 580 src/libudev/libudev-device.c udev_dbg(udev_device->udev, "device %p filled with db file data\n", udev_device); udev 642 src/libudev/libudev-device.c struct udev_device *udev_device_new(struct udev *udev) udev 647 src/libudev/libudev-device.c if (udev == NULL) { udev 658 src/libudev/libudev-device.c udev_device->udev = udev; udev 659 src/libudev/libudev-device.c udev_list_init(udev, &udev_device->devlinks_list, true); udev 660 src/libudev/libudev-device.c udev_list_init(udev, &udev_device->properties_list, true); udev 661 src/libudev/libudev-device.c udev_list_init(udev, &udev_device->sysattr_value_list, true); udev 662 src/libudev/libudev-device.c udev_list_init(udev, &udev_device->sysattr_list, false); udev 663 src/libudev/libudev-device.c udev_list_init(udev, &udev_device->tags_list, true); udev 666 src/libudev/libudev-device.c udev_list_entry_foreach(list_entry, udev_get_properties_list_entry(udev)) udev 687 src/libudev/libudev-device.c _public_ struct udev_device *udev_device_new_from_syspath(struct udev *udev, const char *syspath) udev 695 src/libudev/libudev-device.c if (udev == NULL) { udev 707 src/libudev/libudev-device.c udev_dbg(udev, "not in sys :%s\n", syspath); udev 722 src/libudev/libudev-device.c util_resolve_sys_link(udev, path, sizeof(path)); udev 742 src/libudev/libudev-device.c udev_device = udev_device_new(udev); udev 747 src/libudev/libudev-device.c udev_dbg(udev, "device %p has devpath '%s'\n", udev_device, udev_device_get_devpath(udev_device)); udev 768 src/libudev/libudev-device.c _public_ struct udev_device *udev_device_new_from_devnum(struct udev *udev, char type, dev_t devnum) udev 785 src/libudev/libudev-device.c return udev_device_new_from_syspath(udev, path); udev 806 src/libudev/libudev-device.c _public_ struct udev_device *udev_device_new_from_device_id(struct udev *udev, const char *id) udev 818 src/libudev/libudev-device.c return udev_device_new_from_devnum(udev, type, makedev(maj, min)); udev 842 src/libudev/libudev-device.c dev = udev_device_new_from_subsystem_sysname(udev, "net", ifr.ifr_name); udev 862 src/libudev/libudev-device.c return udev_device_new_from_subsystem_sysname(udev, subsys, sysname); udev 884 src/libudev/libudev-device.c _public_ struct udev_device *udev_device_new_from_subsystem_sysname(struct udev *udev, const char *subsystem, const char *sysname) udev 948 src/libudev/libudev-device.c return udev_device_new_from_syspath(udev, path); udev 965 src/libudev/libudev-device.c _public_ struct udev_device *udev_device_new_from_environment(struct udev *udev) udev 970 src/libudev/libudev-device.c udev_device = udev_device_new(udev); udev 979 src/libudev/libudev-device.c udev_dbg(udev, "missing values, invalid device\n"); udev 1002 src/libudev/libudev-device.c udev_device_parent = udev_device_new_from_syspath(udev_device->udev, path); udev 1102 src/libudev/libudev-device.c _public_ struct udev *udev_device_get_udev(struct udev_device *udev_device) udev 1106 src/libudev/libudev-device.c return udev_device->udev; udev 1432 src/libudev/libudev-device.c if (util_get_sys_core_link_value(udev_device->udev, sysattr, udev 54 src/libudev/libudev-enumerate.c struct udev *udev; udev 80 src/libudev/libudev-enumerate.c _public_ struct udev_enumerate *udev_enumerate_new(struct udev *udev) udev 84 src/libudev/libudev-enumerate.c if (udev == NULL) udev 90 src/libudev/libudev-enumerate.c udev_enumerate->udev = udev; udev 91 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->sysattr_match_list, false); udev 92 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->sysattr_nomatch_list, false); udev 93 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->subsystem_match_list, true); udev 94 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->subsystem_nomatch_list, true); udev 95 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->sysname_match_list, true); udev 96 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->properties_match_list, false); udev 97 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->tags_match_list, true); udev 98 src/libudev/libudev-enumerate.c udev_list_init(udev, &udev_enumerate->devices_list, false); udev 160 src/libudev/libudev-enumerate.c _public_ struct udev *udev_enumerate_get_udev(struct udev_enumerate *udev_enumerate) udev 164 src/libudev/libudev-enumerate.c return udev_enumerate->udev; udev 217 src/libudev/libudev-enumerate.c static bool devices_delay_end(struct udev *udev, const char *syspath) udev 236 src/libudev/libudev-enumerate.c static size_t devices_delay_later(struct udev *udev, const char *syspath) udev 293 src/libudev/libudev-enumerate.c if (devices_delay_end(udev_enumerate->udev, entry->syspath)) { udev 304 src/libudev/libudev-enumerate.c move_later_prefix = devices_delay_later(udev_enumerate->udev, entry->syspath); udev 684 src/libudev/libudev-enumerate.c dev = udev_device_new_from_syspath(udev_enumerate->udev, syspath); udev 782 src/libudev/libudev-enumerate.c udev_device = udev_device_new_from_syspath(udev_enumerate->udev, syspath); udev 810 src/libudev/libudev-enumerate.c dev = udev_device_new_from_device_id(udev_enumerate->udev, dent->d_name); udev 839 src/libudev/libudev-enumerate.c dev = udev_device_new_from_syspath(enumerate->udev, path); udev 47 src/libudev/libudev-hwdb.c struct udev *udev; udev 272 src/libudev/libudev-hwdb.c _public_ struct udev_hwdb *udev_hwdb_new(struct udev *udev) { udev 282 src/libudev/libudev-hwdb.c udev_list_init(udev, &hwdb->properties_list, true); udev 292 src/libudev/libudev-hwdb.c udev_dbg(udev, "error reading %s: %m", hwdb_bin_path); udev 299 src/libudev/libudev-hwdb.c udev_dbg(udev, "hwdb.bin does not exist, please run udevadm hwdb --update"); udev 306 src/libudev/libudev-hwdb.c udev_dbg(udev, "error reading %s: %m", hwdb_bin_path); udev 313 src/libudev/libudev-hwdb.c udev_dbg(udev, "error mapping %s: %m", hwdb_bin_path); udev 320 src/libudev/libudev-hwdb.c udev_dbg(udev, "error recognizing the format of %s", hwdb_bin_path); udev 325 src/libudev/libudev-hwdb.c udev_dbg(udev, "=== trie on-disk ===\n"); udev 326 src/libudev/libudev-hwdb.c udev_dbg(udev, "tool version: %"PRIu64, le64toh(hwdb->head->tool_version)); udev 327 src/libudev/libudev-hwdb.c udev_dbg(udev, "file size: %8"PRIu64" bytes\n", hwdb->st.st_size); udev 328 src/libudev/libudev-hwdb.c udev_dbg(udev, "header size %8"PRIu64" bytes\n", le64toh(hwdb->head->header_size)); udev 329 src/libudev/libudev-hwdb.c udev_dbg(udev, "strings %8"PRIu64" bytes\n", le64toh(hwdb->head->strings_len)); udev 330 src/libudev/libudev-hwdb.c udev_dbg(udev, "nodes %8"PRIu64" bytes\n", le64toh(hwdb->head->nodes_len)); udev 96 src/libudev/libudev-list.c void udev_list_init(struct udev *udev, struct udev_list *list, bool unique) udev 99 src/libudev/libudev-list.c list->udev = udev; udev 53 src/libudev/libudev-monitor.c struct udev *udev; udev 95 src/libudev/libudev-monitor.c static struct udev_monitor *udev_monitor_new(struct udev *udev) udev 103 src/libudev/libudev-monitor.c udev_monitor->udev = udev; udev 104 src/libudev/libudev-monitor.c udev_list_init(udev, &udev_monitor->filter_subsystem_list, false); udev 105 src/libudev/libudev-monitor.c udev_list_init(udev, &udev_monitor->filter_tag_list, true); udev 110 src/libudev/libudev-monitor.c static bool udev_has_devtmpfs(struct udev *udev) { udev 124 src/libudev/libudev-monitor.c udev_err(udev, "name_to_handle_at on /dev: %m\n"); udev 153 src/libudev/libudev-monitor.c struct udev_monitor *udev_monitor_new_from_netlink_fd(struct udev *udev, const char *name, int fd) udev 158 src/libudev/libudev-monitor.c if (udev == NULL) udev 176 src/libudev/libudev-monitor.c if (access("/run/udev/control", F_OK) < 0 && !udev_has_devtmpfs(udev)) { udev 177 src/libudev/libudev-monitor.c udev_dbg(udev, "the udev service seems not to be active, disable the monitor\n"); udev 186 src/libudev/libudev-monitor.c udev_monitor = udev_monitor_new(udev); udev 193 src/libudev/libudev-monitor.c udev_err(udev, "error getting socket: %m\n"); udev 234 src/libudev/libudev-monitor.c _public_ struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev, const char *name) udev 236 src/libudev/libudev-monitor.c return udev_monitor_new_from_netlink_fd(udev, name, -1); udev 410 src/libudev/libudev-monitor.c udev_err(udev_monitor->udev, "bind failed: %m\n"); udev 417 src/libudev/libudev-monitor.c udev_err(udev_monitor->udev, "setting SO_PASSCRED failed: %m\n"); udev 497 src/libudev/libudev-monitor.c _public_ struct udev *udev_monitor_get_udev(struct udev_monitor *udev_monitor) udev 501 src/libudev/libudev-monitor.c return udev_monitor->udev; udev 605 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "unable to receive message\n"); udev 610 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "invalid message length\n"); udev 618 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "unicast netlink message ignored\n"); udev 623 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "multicast kernel netlink message from pid %d ignored\n", udev 631 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "no sender credentials received, message ignored\n"); udev 637 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "sender uid=%d, message ignored\n", cred->uid); udev 641 src/libudev/libudev-monitor.c udev_device = udev_device_new(udev_monitor->udev); udev 651 src/libudev/libudev-monitor.c udev_err(udev_monitor->udev, "unrecognized message signature (%x != %x)\n", udev 669 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "invalid message length\n"); udev 676 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "unrecognized message header\n"); udev 697 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "missing values, invalid device\n"); udev 781 src/libudev/libudev-monitor.c udev_dbg(udev_monitor->udev, "passed %zi bytes to netlink monitor %p\n", count, udev_monitor); udev 37 src/libudev/libudev-private.h #define udev_log_cond(udev, prio, arg...) \ udev 39 src/libudev/libudev-private.h if (udev_get_log_priority(udev) >= prio) \ udev 40 src/libudev/libudev-private.h udev_log(udev, prio, __FILE__, __LINE__, __FUNCTION__, ## arg); \ udev 43 src/libudev/libudev-private.h #define udev_dbg(udev, arg...) udev_log_cond(udev, LOG_DEBUG, ## arg) udev 44 src/libudev/libudev-private.h #define udev_info(udev, arg...) udev_log_cond(udev, LOG_INFO, ## arg) udev 45 src/libudev/libudev-private.h #define udev_err(udev, arg...) udev_log_cond(udev, LOG_ERR, ## arg) udev 48 src/libudev/libudev-private.h void udev_log(struct udev *udev, udev 51 src/libudev/libudev-private.h int udev_get_rules_path(struct udev *udev, char **path[], usec_t *ts_usec[]); udev 52 src/libudev/libudev-private.h struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, const char *value); udev 53 src/libudev/libudev-private.h struct udev_list_entry *udev_get_properties_list_entry(struct udev *udev); udev 56 src/libudev/libudev-private.h struct udev_device *udev_device_new(struct udev *udev); udev 100 src/libudev/libudev-private.h struct udev_monitor *udev_monitor_new_from_netlink_fd(struct udev *udev, const char *name, int fd); udev 107 src/libudev/libudev-private.h struct udev *udev; udev 127 src/libudev/libudev-private.h void udev_list_init(struct udev *udev, struct udev_list *list, bool unique); udev 140 src/libudev/libudev-private.h unsigned long long int udev_get_kernel_seqnum(struct udev *udev); udev 146 src/libudev/libudev-private.h struct udev_queue_export *udev_queue_export_new(struct udev *udev); udev 160 src/libudev/libudev-private.h ssize_t util_get_sys_core_link_value(struct udev *udev, const char *slink, const char *syspath, char *value, size_t size); udev 161 src/libudev/libudev-private.h int util_resolve_sys_link(struct udev *udev, char *syspath, size_t size); udev 171 src/libudev/libudev-private.h int util_resolve_subsys_kernel(struct udev *udev, const char *string, char *result, size_t maxsize, int read_value); udev 47 src/libudev/libudev-queue.c struct udev *udev; udev 61 src/libudev/libudev-queue.c _public_ struct udev_queue *udev_queue_new(struct udev *udev) udev 65 src/libudev/libudev-queue.c if (udev == NULL) udev 73 src/libudev/libudev-queue.c udev_queue->udev = udev; udev 127 src/libudev/libudev-queue.c _public_ struct udev *udev_queue_get_udev(struct udev_queue *udev_queue) udev 131 src/libudev/libudev-queue.c return udev_queue->udev; udev 49 src/libudev/libudev-util.c int util_resolve_subsys_kernel(struct udev *udev, const char *string, udev 84 src/libudev/libudev-util.c dev = udev_device_new_from_subsystem_sysname(udev, subsys, sysname); udev 96 src/libudev/libudev-util.c udev_dbg(udev, "value '[%s/%s]%s' is '%s'\n", subsys, sysname, attr, result); udev 105 src/libudev/libudev-util.c udev_dbg(udev, "path '[%s/%s]%s' is '%s'\n", subsys, sysname, attr, result); udev 111 src/libudev/libudev-util.c ssize_t util_get_sys_core_link_value(struct udev *udev, const char *slink, const char *syspath, char *value, size_t size) udev 130 src/libudev/libudev-util.c int util_resolve_sys_link(struct udev *udev, char *syspath, size_t size) udev 49 src/libudev/libudev.c void (*log_fn)(struct udev *udev, udev 57 src/libudev/libudev.c void udev_log(struct udev *udev, udev 64 src/libudev/libudev.c udev->log_fn(udev, priority, file, line, fn, format, args); udev 69 src/libudev/libudev.c static void log_stderr(struct udev *udev, udev 86 src/libudev/libudev.c _public_ void *udev_get_userdata(struct udev *udev) udev 88 src/libudev/libudev.c if (udev == NULL) udev 90 src/libudev/libudev.c return udev->userdata; udev 100 src/libudev/libudev.c _public_ void udev_set_userdata(struct udev *udev, void *userdata) udev 102 src/libudev/libudev.c if (udev == NULL) udev 104 src/libudev/libudev.c udev->userdata = userdata; udev 118 src/libudev/libudev.c _public_ struct udev *udev_new(void) udev 120 src/libudev/libudev.c struct udev *udev; udev 124 src/libudev/libudev.c udev = new0(struct udev, 1); udev 125 src/libudev/libudev.c if (udev == NULL) udev 127 src/libudev/libudev.c udev->refcount = 1; udev 128 src/libudev/libudev.c udev->log_fn = log_stderr; udev 129 src/libudev/libudev.c udev->log_priority = LOG_INFO; udev 130 src/libudev/libudev.c udev_list_init(udev, &udev->properties_list, true); udev 156 src/libudev/libudev.c udev_err(udev, "/etc/udev/udev.conf:%u: missing assignment, skipping line.\n", line_nr); udev 188 src/libudev/libudev.c udev_err(udev, "/etc/udev/udev.conf:%u: inconsistent quoting, skipping line.\n", line_nr); udev 200 src/libudev/libudev.c udev_err(udev, "/etc/udev/udev.conf:%u: invalid logging level '%s', ignoring.\n", line_nr, val); udev 202 src/libudev/libudev.c udev_set_log_priority(udev, prio); udev 215 src/libudev/libudev.c udev_err(udev, "$UDEV_LOG specifies invalid logging level '%s', ignoring.\n", env); udev 217 src/libudev/libudev.c udev_set_log_priority(udev, prio); udev 220 src/libudev/libudev.c return udev; udev 231 src/libudev/libudev.c _public_ struct udev *udev_ref(struct udev *udev) udev 233 src/libudev/libudev.c if (udev == NULL) udev 235 src/libudev/libudev.c udev->refcount++; udev 236 src/libudev/libudev.c return udev; udev 248 src/libudev/libudev.c _public_ struct udev *udev_unref(struct udev *udev) udev 250 src/libudev/libudev.c if (udev == NULL) udev 252 src/libudev/libudev.c udev->refcount--; udev 253 src/libudev/libudev.c if (udev->refcount > 0) udev 254 src/libudev/libudev.c return udev; udev 255 src/libudev/libudev.c udev_list_cleanup(&udev->properties_list); udev 256 src/libudev/libudev.c free(udev); udev 270 src/libudev/libudev.c _public_ void udev_set_log_fn(struct udev *udev, udev 271 src/libudev/libudev.c void (*log_fn)(struct udev *udev, udev 275 src/libudev/libudev.c udev->log_fn = log_fn; udev 276 src/libudev/libudev.c udev_dbg(udev, "custom logging function %p registered\n", log_fn); udev 288 src/libudev/libudev.c _public_ int udev_get_log_priority(struct udev *udev) udev 290 src/libudev/libudev.c return udev->log_priority; udev 301 src/libudev/libudev.c _public_ void udev_set_log_priority(struct udev *udev, int priority) udev 305 src/libudev/libudev.c udev->log_priority = priority; udev 306 src/libudev/libudev.c snprintf(num, sizeof(num), "%u", udev->log_priority); udev 307 src/libudev/libudev.c udev_add_property(udev, "UDEV_LOG", num); udev 310 src/libudev/libudev.c struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, const char *value) udev 315 src/libudev/libudev.c list_entry = udev_get_properties_list_entry(udev); udev 321 src/libudev/libudev.c return udev_list_entry_add(&udev->properties_list, key, value); udev 324 src/libudev/libudev.c struct udev_list_entry *udev_get_properties_list_entry(struct udev *udev) udev 326 src/libudev/libudev.c return udev_list_get_entry(&udev->properties_list); udev 176 src/login/logind-acl.c int devnode_acl_all(struct udev *udev, udev 191 src/login/logind-acl.c assert(udev); udev 197 src/login/logind-acl.c e = udev_enumerate_new(udev); udev 226 src/login/logind-acl.c d = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 499 src/login/logind-core.c e = udev_enumerate_new(m->udev); udev 517 src/login/logind-core.c d = udev_device_new_from_syspath(m->udev, udev_list_entry_get_name(item)); udev 1087 src/login/logind-dbus.c e = udev_enumerate_new(m->udev); udev 1128 src/login/logind-dbus.c d = udev_device_new_from_syspath(m->udev, sysfs); udev 217 src/login/logind-seat.c r = devnode_acl_all(s->manager->udev, udev 279 src/login/logind-session-device.c dev = udev_device_new_from_devnum(sd->session->manager->udev, 'c', sd->dev); udev 87 src/login/logind.c m->udev = udev_new(); udev 88 src/login/logind.c if (!m->udev) udev 164 src/login/logind.c if (m->udev) udev 165 src/login/logind.c udev_unref(m->udev); udev 191 src/login/logind.c e = udev_enumerate_new(m->udev); udev 212 src/login/logind.c d = udev_device_new_from_syspath(m->udev, udev_list_entry_get_name(item)); udev 240 src/login/logind.c e = udev_enumerate_new(m->udev); udev 265 src/login/logind.c d = udev_device_new_from_syspath(m->udev, udev_list_entry_get_name(item)); udev 836 src/login/logind.c m->udev_seat_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 852 src/login/logind.c m->udev_device_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 883 src/login/logind.c m->udev_button_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 907 src/login/logind.c m->udev_vcsa_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 65 src/login/logind.h struct udev *udev; udev 32 src/login/sysfs-show.c struct udev *udev, udev 39 src/login/sysfs-show.c assert(udev); udev 55 src/login/sysfs-show.c d = udev_device_new_from_syspath(udev, sysfs); udev 90 src/login/sysfs-show.c lookahead_d = udev_device_new_from_syspath(udev, lookahead_sysfs); udev 134 src/login/sysfs-show.c show_sysfs_one(udev, seat, item, sysfs, p, n_columns - 2); udev 143 src/login/sysfs-show.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 156 src/login/sysfs-show.c udev = udev_new(); udev 157 src/login/sysfs-show.c if (!udev) udev 160 src/login/sysfs-show.c e = udev_enumerate_new(udev); udev 181 src/login/sysfs-show.c show_sysfs_one(udev, seat, &first, "/", prefix, n_columns); udev 185 src/network/networkctl.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 198 src/network/networkctl.c udev = udev_new(); udev 199 src/network/networkctl.c if (!udev) { udev 240 src/network/networkctl.c d = udev_device_new_from_device_id(udev, devid); udev 291 src/network/networkctl.c static int link_status_one(sd_rtnl *rtnl, struct udev *udev, const char *name) { udev 308 src/network/networkctl.c assert(udev); udev 382 src/network/networkctl.c d = udev_device_new_from_device_id(udev, devid); udev 444 src/network/networkctl.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 455 src/network/networkctl.c udev = udev_new(); udev 456 src/network/networkctl.c if (!udev) { udev 529 src/network/networkctl.c link_status_one(rtnl, udev, links[i].name); udev 537 src/network/networkctl.c link_status_one(rtnl, udev, *name); udev 1536 src/network/networkd-link.c device = udev_device_new_from_device_id(m->udev, ifindex_str); udev 109 src/network/networkd-manager.c m->udev = udev_new(); udev 110 src/network/networkd-manager.c if (!m->udev) udev 113 src/network/networkd-manager.c m->udev_monitor = udev_monitor_new_from_netlink(m->udev, "udev"); udev 146 src/network/networkd-manager.c udev_unref(m->udev); udev 174 src/network/networkd.h struct udev *udev; udev 1912 src/nspawn/nspawn.c static int parse_interface(struct udev *udev, const char *name) { udev 1924 src/nspawn/nspawn.c d = udev_device_new_from_device_id(udev, ifi_str); udev 1939 src/nspawn/nspawn.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 1956 src/nspawn/nspawn.c udev = udev_new(); udev 1957 src/nspawn/nspawn.c if (!udev) { udev 1966 src/nspawn/nspawn.c ifi = parse_interface(udev, *i); udev 1993 src/nspawn/nspawn.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 2010 src/nspawn/nspawn.c udev = udev_new(); udev 2011 src/nspawn/nspawn.c if (!udev) { udev 2021 src/nspawn/nspawn.c ifi = parse_interface(udev, *i); udev 2278 src/nspawn/nspawn.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 2339 src/nspawn/nspawn.c udev = udev_new(); udev 2340 src/nspawn/nspawn.c if (!udev) udev 2348 src/nspawn/nspawn.c d = udev_device_new_from_devnum(udev, 'b', st.st_rdev); udev 2352 src/nspawn/nspawn.c e = udev_enumerate_new(udev); udev 2377 src/nspawn/nspawn.c q = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 66 src/readahead/readahead-common.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 126 src/readahead/readahead-common.c udev = udev_new(); udev 127 src/readahead/readahead-common.c if (!udev) udev 130 src/readahead/readahead-common.c udev_device = udev_device_new_from_devnum(udev, 'b', st.st_dev); udev 167 src/readahead/readahead-common.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 179 src/readahead/readahead-common.c udev = udev_new(); udev 180 src/readahead/readahead-common.c if (!udev) udev 183 src/readahead/readahead-common.c udev_device = udev_device_new_from_devnum(udev, 'b', st.st_dev); udev 29 src/rfkill/rfkill.c _cleanup_udev_unref_ struct udev *udev = NULL; udev 52 src/rfkill/rfkill.c udev = udev_new(); udev 53 src/rfkill/rfkill.c if (!udev) { udev 59 src/rfkill/rfkill.c device = udev_device_new_from_subsystem_sysname(udev, "rfkill", argv[2]); udev 27 src/shared/udev-util.h DEFINE_TRIVIAL_CLEANUP_FUNC(struct udev*, udev_unref); udev 73 src/udev/accelerometer/accelerometer.c static void log_fn(struct udev *udev, int priority, udev 179 src/udev/accelerometer/accelerometer.c static void test_orientation(struct udev *udev, udev 215 src/udev/accelerometer/accelerometer.c struct udev *udev; udev 232 src/udev/accelerometer/accelerometer.c udev = udev_new(); udev 233 src/udev/accelerometer/accelerometer.c if (udev == NULL) udev 236 src/udev/accelerometer/accelerometer.c udev_set_log_fn(udev, log_fn); udev 250 src/udev/accelerometer/accelerometer.c udev_set_log_priority(udev, LOG_DEBUG); udev 268 src/udev/accelerometer/accelerometer.c dev = udev_device_new_from_syspath(udev, devpath); udev 276 src/udev/accelerometer/accelerometer.c enumerate = udev_enumerate_new(udev); udev 314 src/udev/accelerometer/accelerometer.c test_orientation(udev, dev, devnode); udev 327 src/udev/ata_id/ata_id.c static int disk_identify(struct udev *udev, udev 409 src/udev/ata_id/ata_id.c static void log_fn(struct udev *udev, int priority, udev 418 src/udev/ata_id/ata_id.c struct udev *udev; udev 441 src/udev/ata_id/ata_id.c udev = udev_new(); udev 442 src/udev/ata_id/ata_id.c if (udev == NULL) udev 445 src/udev/ata_id/ata_id.c udev_set_log_fn(udev, log_fn); udev 480 src/udev/ata_id/ata_id.c if (disk_identify(udev, fd, identify, &is_packet_device) == 0) { udev 690 src/udev/ata_id/ata_id.c udev_unref(udev); udev 41 src/udev/cdrom_id/cdrom_id.c static void log_fn(struct udev *udev, int priority, udev 131 src/udev/cdrom_id/cdrom_id.c static void info_scsi_cmd_err(struct udev *udev, const char *cmd, int err) udev 149 src/udev/cdrom_id/cdrom_id.c static void scsi_cmd_init(struct udev *udev, struct scsi_cmd *cmd) udev 161 src/udev/cdrom_id/cdrom_id.c static void scsi_cmd_set(struct udev *udev, struct scsi_cmd *cmd, size_t i, unsigned char arg) udev 169 src/udev/cdrom_id/cdrom_id.c static int scsi_cmd_run(struct udev *udev, struct scsi_cmd *cmd, int fd, unsigned char *buf, size_t bufsize) udev 195 src/udev/cdrom_id/cdrom_id.c static int media_lock(struct udev *udev, int fd, bool lock) udev 211 src/udev/cdrom_id/cdrom_id.c static int media_eject(struct udev *udev, int fd) udev 216 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 217 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x1b); udev 218 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 4, 0x02); udev 219 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 5, 0); udev 220 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, NULL, 0); udev 222 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "START_STOP_UNIT", err); udev 228 src/udev/cdrom_id/cdrom_id.c static int cd_capability_compat(struct udev *udev, int fd) udev 255 src/udev/cdrom_id/cdrom_id.c static int cd_media_compat(struct udev *udev, int fd) udev 265 src/udev/cdrom_id/cdrom_id.c static int cd_inquiry(struct udev *udev, int fd) udev 271 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 272 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x12); udev 273 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 4, 36); udev 274 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 5, 0); udev 275 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, inq, 36); udev 277 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "INQUIRY", err); udev 290 src/udev/cdrom_id/cdrom_id.c static void feature_profile_media(struct udev *udev, int cur_profile) udev 399 src/udev/cdrom_id/cdrom_id.c static int feature_profiles(struct udev *udev, const unsigned char *profiles, size_t size) udev 489 src/udev/cdrom_id/cdrom_id.c static int cd_profiles_old_mmc(struct udev *udev, int fd) udev 496 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 497 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x51); udev 498 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, sizeof(header)); udev 499 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 500 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header)); udev 502 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ DISC INFORMATION", err); udev 531 src/udev/cdrom_id/cdrom_id.c static int cd_profiles(struct udev *udev, int fd) udev 544 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 545 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x46); udev 546 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, 8); udev 547 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 548 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, features, 8); udev 550 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "GET CONFIGURATION", err); udev 555 src/udev/cdrom_id/cdrom_id.c ret = cd_profiles_old_mmc(udev, fd); udev 563 src/udev/cdrom_id/cdrom_id.c feature_profile_media (udev, cur_profile); udev 580 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 581 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x46); udev 582 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 7, ( len >> 8 ) & 0xff); udev 583 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, len & 0xff); udev 584 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 585 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, features, len); udev 587 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "GET CONFIGURATION", err); udev 609 src/udev/cdrom_id/cdrom_id.c feature_profiles(udev, &features[i]+4, MIN(features[i+3], len - i - 4)); udev 620 src/udev/cdrom_id/cdrom_id.c static int cd_media_info(struct udev *udev, int fd) udev 632 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 633 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x51); udev 634 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, sizeof(header) & 0xff); udev 635 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 636 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header)); udev 638 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ DISC INFORMATION", err); udev 670 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 671 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0xAD); udev 672 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 7, 0xC0); udev 673 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, sizeof(dvdstruct)); udev 674 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 11, 0); udev 675 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, dvdstruct, sizeof(dvdstruct)); udev 677 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ DVD STRUCTURE", err); udev 687 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 688 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x23); udev 689 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, sizeof(format)); udev 690 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 691 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, format, sizeof(format)); udev 693 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ DVD FORMAT CAPACITIES", err); udev 728 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 729 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x28); udev 730 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 5, 0); udev 731 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, 32); udev 732 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 733 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, buffer, sizeof(buffer)); udev 736 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ FIRST 32 BLOCKS", err); udev 772 src/udev/cdrom_id/cdrom_id.c static int cd_media_toc(struct udev *udev, int fd) udev 781 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 782 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x43); udev 783 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 6, 1); udev 784 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, sizeof(header) & 0xff); udev 785 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 786 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header)); udev 788 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ TOC", err); udev 805 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 806 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x43); udev 807 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 6, header[2]); /* First Track/Session Number */ udev 808 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 7, (len >> 8) & 0xff); udev 809 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, len & 0xff); udev 810 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 811 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, toc, len); udev 813 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ TOC (tracks)", err); udev 836 src/udev/cdrom_id/cdrom_id.c scsi_cmd_init(udev, &sc); udev 837 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 0, 0x43); udev 838 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 2, 1); /* Session Info */ udev 839 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 8, sizeof(header)); udev 840 src/udev/cdrom_id/cdrom_id.c scsi_cmd_set(udev, &sc, 9, 0); udev 841 src/udev/cdrom_id/cdrom_id.c err = scsi_cmd_run(udev, &sc, fd, header, sizeof(header)); udev 843 src/udev/cdrom_id/cdrom_id.c info_scsi_cmd_err(udev, "READ TOC (multi session)", err); udev 854 src/udev/cdrom_id/cdrom_id.c struct udev *udev; udev 874 src/udev/cdrom_id/cdrom_id.c udev = udev_new(); udev 875 src/udev/cdrom_id/cdrom_id.c if (udev == NULL) udev 878 src/udev/cdrom_id/cdrom_id.c udev_set_log_fn(udev, log_fn); udev 900 src/udev/cdrom_id/cdrom_id.c udev_set_log_priority(udev, LOG_DEBUG); udev 945 src/udev/cdrom_id/cdrom_id.c if (cd_capability_compat(udev, fd) < 0) { udev 952 src/udev/cdrom_id/cdrom_id.c cd_media_compat(udev, fd); udev 955 src/udev/cdrom_id/cdrom_id.c if (cd_inquiry(udev, fd) < 0) udev 959 src/udev/cdrom_id/cdrom_id.c if (cd_profiles(udev, fd) != 0) udev 965 src/udev/cdrom_id/cdrom_id.c cd_media_toc(udev, fd); udev 968 src/udev/cdrom_id/cdrom_id.c cd_media_info(udev, fd); udev 974 src/udev/cdrom_id/cdrom_id.c media_lock(udev, fd, true); udev 979 src/udev/cdrom_id/cdrom_id.c media_lock(udev, fd, false); udev 984 src/udev/cdrom_id/cdrom_id.c media_lock(udev, fd, false); udev 986 src/udev/cdrom_id/cdrom_id.c media_eject(udev, fd); udev 1091 src/udev/cdrom_id/cdrom_id.c udev_unref(udev); udev 349 src/udev/collect/collect.c struct udev *udev; udev 365 src/udev/collect/collect.c udev = udev_new(); udev 366 src/udev/collect/collect.c if (udev == NULL) { udev 490 src/udev/collect/collect.c udev_unref(udev); udev 67 src/udev/scsi_id/scsi_id.c static void log_fn(struct udev *udev, int priority, udev 167 src/udev/scsi_id/scsi_id.c static int get_file_options(struct udev *udev, udev 330 src/udev/scsi_id/scsi_id.c static int set_options(struct udev *udev, udev 393 src/udev/scsi_id/scsi_id.c udev_set_log_priority(udev, LOG_DEBUG); udev 420 src/udev/scsi_id/scsi_id.c static int per_dev_options(struct udev *udev, udev 431 src/udev/scsi_id/scsi_id.c retval = get_file_options(udev, vendor_str, model_str, &newargc, &newargv); udev 475 src/udev/scsi_id/scsi_id.c static int set_inq_values(struct udev *udev, struct scsi_id_device *dev_scsi, const char *path) udev 481 src/udev/scsi_id/scsi_id.c retval = scsi_std_inquiry(udev, dev_scsi, path); udev 502 src/udev/scsi_id/scsi_id.c static int scsi_id(struct udev *udev, char *maj_min_dev) udev 509 src/udev/scsi_id/scsi_id.c if (set_inq_values(udev, &dev_scsi, maj_min_dev) < 0) { udev 515 src/udev/scsi_id/scsi_id.c per_dev_options(udev, &dev_scsi, &good_dev, &page_code); udev 522 src/udev/scsi_id/scsi_id.c scsi_get_serial(udev, &dev_scsi, maj_min_dev, page_code, MAX_SERIAL_LEN); udev 581 src/udev/scsi_id/scsi_id.c _cleanup_udev_unref_ struct udev *udev; udev 590 src/udev/scsi_id/scsi_id.c udev = udev_new(); udev 591 src/udev/scsi_id/scsi_id.c if (udev == NULL) udev 594 src/udev/scsi_id/scsi_id.c udev_set_log_fn(udev, log_fn); udev 599 src/udev/scsi_id/scsi_id.c retval = get_file_options(udev, NULL, NULL, &newargc, &newargv); udev 607 src/udev/scsi_id/scsi_id.c if (set_options(udev, newargc, newargv, maj_min_dev) < 0) { udev 616 src/udev/scsi_id/scsi_id.c if (set_options(udev, argc, argv, maj_min_dev) < 0) udev 625 src/udev/scsi_id/scsi_id.c retval = scsi_id(udev, maj_min_dev); udev 61 src/udev/scsi_id/scsi_id.h int scsi_std_inquiry(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname); udev 62 src/udev/scsi_id/scsi_id.h int scsi_get_serial(struct udev *udev, struct scsi_id_device *dev_scsi, const char *devname, udev 97 src/udev/scsi_id/scsi_serial.c static int do_scsi_page80_inquiry(struct udev *udev, udev 101 src/udev/scsi_id/scsi_serial.c static int sg_err_category_new(struct udev *udev, udev 156 src/udev/scsi_id/scsi_serial.c static int sg_err_category3(struct udev *udev, struct sg_io_hdr *hp) udev 158 src/udev/scsi_id/scsi_serial.c return sg_err_category_new(udev, udev 164 src/udev/scsi_id/scsi_serial.c static int sg_err_category4(struct udev *udev, struct sg_io_v4 *hp) udev 166 src/udev/scsi_id/scsi_serial.c return sg_err_category_new(udev, hp->device_status, 0, udev 172 src/udev/scsi_id/scsi_serial.c static int scsi_dump_sense(struct udev *udev, udev 270 src/udev/scsi_id/scsi_serial.c static int scsi_dump(struct udev *udev, udev 285 src/udev/scsi_id/scsi_serial.c return scsi_dump_sense(udev, dev_scsi, io->sbp, io->sb_len_wr); udev 290 src/udev/scsi_id/scsi_serial.c static int scsi_dump_v4(struct udev *udev, udev 306 src/udev/scsi_id/scsi_serial.c return scsi_dump_sense(udev, dev_scsi, (unsigned char *)(uintptr_t)io->response, udev 312 src/udev/scsi_id/scsi_serial.c static int scsi_inquiry(struct udev *udev, udev 369 src/udev/scsi_id/scsi_serial.c retval = sg_err_category4(udev, io_buf); udev 371 src/udev/scsi_id/scsi_serial.c retval = sg_err_category3(udev, io_buf); udev 384 src/udev/scsi_id/scsi_serial.c retval = scsi_dump_v4(udev, dev_scsi, io_buf); udev 386 src/udev/scsi_id/scsi_serial.c retval = scsi_dump(udev, dev_scsi, io_buf); udev 406 src/udev/scsi_id/scsi_serial.c static int do_scsi_page0_inquiry(struct udev *udev, udev 413 src/udev/scsi_id/scsi_serial.c retval = scsi_inquiry(udev, dev_scsi, fd, 1, 0x0, buffer, len); udev 450 src/udev/scsi_id/scsi_serial.c static int prepend_vendor_model(struct udev *udev, udev 475 src/udev/scsi_id/scsi_serial.c static int check_fill_0x83_id(struct udev *udev, udev 552 src/udev/scsi_id/scsi_serial.c if (prepend_vendor_model(udev, dev_scsi, &serial[1]) < 0) udev 588 src/udev/scsi_id/scsi_serial.c static int check_fill_0x83_prespc3(struct udev *udev, udev 611 src/udev/scsi_id/scsi_serial.c static int do_scsi_page83_inquiry(struct udev *udev, udev 622 src/udev/scsi_id/scsi_serial.c do_scsi_page80_inquiry(udev, dev_scsi, fd, NULL, unit_serial_number, MAX_SERIAL_LEN); udev 625 src/udev/scsi_id/scsi_serial.c retval = scsi_inquiry(udev, dev_scsi, fd, 1, PAGE_83, page_83, udev 665 src/udev/scsi_id/scsi_serial.c return check_fill_0x83_prespc3(udev, udev 681 src/udev/scsi_id/scsi_serial.c retval = check_fill_0x83_id(udev, udev 703 src/udev/scsi_id/scsi_serial.c static int do_scsi_page83_prespc3_inquiry(struct udev *udev, udev 712 src/udev/scsi_id/scsi_serial.c retval = scsi_inquiry(udev, dev_scsi, fd, 1, PAGE_83, page_83, SCSI_INQ_BUFF_LEN); udev 765 src/udev/scsi_id/scsi_serial.c static int do_scsi_page80_inquiry(struct udev *udev, udev 776 src/udev/scsi_id/scsi_serial.c retval = scsi_inquiry(udev, dev_scsi, fd, 1, PAGE_80, buf, SCSI_INQ_BUFF_LEN); udev 798 src/udev/scsi_id/scsi_serial.c ser_ind = prepend_vendor_model(udev, dev_scsi, &serial[1]); udev 812 src/udev/scsi_id/scsi_serial.c int scsi_std_inquiry(struct udev *udev, udev 835 src/udev/scsi_id/scsi_serial.c err = scsi_inquiry(udev, dev_scsi, fd, 0, 0, buf, SCSI_INQ_BUFF_LEN); udev 853 src/udev/scsi_id/scsi_serial.c int scsi_get_serial(struct udev *udev, udev 879 src/udev/scsi_id/scsi_serial.c if (do_scsi_page80_inquiry(udev, dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len)) { udev 887 src/udev/scsi_id/scsi_serial.c if (do_scsi_page83_inquiry(udev, dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len, dev_scsi->unit_serial_number, dev_scsi->wwn, dev_scsi->wwn_vendor_extension, dev_scsi->tgpt_group)) { udev 895 src/udev/scsi_id/scsi_serial.c retval = do_scsi_page83_prespc3_inquiry(udev, dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len); udev 903 src/udev/scsi_id/scsi_serial.c if (do_scsi_page83_inquiry(udev, dev_scsi, fd, dev_scsi->serial, dev_scsi->serial_short, len, dev_scsi->unit_serial_number, dev_scsi->wwn, dev_scsi->wwn_vendor_extension, dev_scsi->tgpt_group)) { udev 929 src/udev/scsi_id/scsi_serial.c if (do_scsi_page0_inquiry(udev, dev_scsi, fd, page0, SCSI_INQ_BUFF_LEN)) { udev 941 src/udev/scsi_id/scsi_serial.c if (!do_scsi_page83_inquiry(udev, dev_scsi, fd, udev 952 src/udev/scsi_id/scsi_serial.c if (!do_scsi_page80_inquiry(udev, dev_scsi, fd, udev 192 src/udev/udev-builtin-hwdb.c static int builtin_hwdb_init(struct udev *udev) { udev 195 src/udev/udev-builtin-hwdb.c hwdb = udev_hwdb_new(udev); udev 202 src/udev/udev-builtin-hwdb.c static void builtin_hwdb_exit(struct udev *udev) { udev 207 src/udev/udev-builtin-hwdb.c static bool builtin_hwdb_validate(struct udev *udev) { udev 36 src/udev/udev-builtin-kmod.c static int load_module(struct udev *udev, const char *alias) { udev 73 src/udev/udev-builtin-kmod.c struct udev *udev = udev_device_get_udev(dev); udev 86 src/udev/udev-builtin-kmod.c load_module(udev, argv[i]); udev 93 src/udev/udev-builtin-kmod.c static int builtin_kmod_init(struct udev *udev) { udev 102 src/udev/udev-builtin-kmod.c kmod_set_log_fn(ctx, udev_kmod_log, udev); udev 108 src/udev/udev-builtin-kmod.c static void builtin_kmod_exit(struct udev *udev) { udev 114 src/udev/udev-builtin-kmod.c static bool builtin_kmod_validate(struct udev *udev) { udev 171 src/udev/udev-builtin-net_id.c struct udev *udev = udev_device_get_udev(names->pcidev); udev 204 src/udev/udev-builtin-net_id.c pci = udev_device_new_from_subsystem_sysname(udev, "subsystem", "pci"); udev 68 src/udev/udev-builtin-net_setup_link.c static int builtin_net_setup_link_init(struct udev *udev) { udev 86 src/udev/udev-builtin-net_setup_link.c static void builtin_net_setup_link_exit(struct udev *udev) { udev 92 src/udev/udev-builtin-net_setup_link.c static bool builtin_net_setup_link_validate(struct udev *udev) { udev 93 src/udev/udev-builtin-path_id.c struct udev *udev = udev_device_get_udev(parent); udev 103 src/udev/udev-builtin-path_id.c fcdev = udev_device_new_from_subsystem_sysname(udev, "fc_transport", udev_device_get_sysname(targetdev)); udev 122 src/udev/udev-builtin-path_id.c struct udev *udev = udev_device_get_udev(parent); udev 137 src/udev/udev-builtin-path_id.c sasdev = udev_device_new_from_subsystem_sysname(udev, "sas_device", udev 158 src/udev/udev-builtin-path_id.c struct udev *udev = udev_device_get_udev(parent); udev 179 src/udev/udev-builtin-path_id.c sessiondev = udev_device_new_from_subsystem_sysname(udev, "iscsi_session", udev_device_get_sysname(transportdev)); udev 192 src/udev/udev-builtin-path_id.c conndev = udev_device_new_from_subsystem_sysname(udev, "iscsi_connection", connname); udev 52 src/udev/udev-builtin.c void udev_builtin_init(struct udev *udev) { udev 60 src/udev/udev-builtin.c builtins[i]->init(udev); udev 65 src/udev/udev-builtin.c void udev_builtin_exit(struct udev *udev) { udev 73 src/udev/udev-builtin.c builtins[i]->exit(udev); udev 78 src/udev/udev-builtin.c bool udev_builtin_validate(struct udev *udev) { udev 82 src/udev/udev-builtin.c if (builtins[i]->validate && builtins[i]->validate(udev)) udev 87 src/udev/udev-builtin.c void udev_builtin_list(struct udev *udev) { udev 58 src/udev/udev-ctrl.c struct udev *udev; udev 73 src/udev/udev-ctrl.c struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd) { udev 82 src/udev/udev-ctrl.c uctrl->udev = udev; udev 105 src/udev/udev-ctrl.c struct udev_ctrl *udev_ctrl_new(struct udev *udev) { udev 106 src/udev/udev-ctrl.c return udev_ctrl_new_from_fd(udev, -1); udev 138 src/udev/udev-ctrl.c struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl) { udev 139 src/udev/udev-ctrl.c return uctrl->udev; udev 38 src/udev/udev-event.c struct udev *udev = udev_device_get_udev(dev); udev 45 src/udev/udev-event.c event->udev = udev; udev 46 src/udev/udev-event.c udev_list_init(udev, &event->run_list, false); udev 47 src/udev/udev-event.c udev_list_init(udev, &event->seclabel_list, false); udev 286 src/udev/udev-event.c if (util_resolve_subsys_kernel(event->udev, attr, vbuf, sizeof(vbuf), 1) == 0) udev 641 src/udev/udev-event.c int udev_build_argv(struct udev *udev, char *cmd, int *argc, char *argv[]) { udev 679 src/udev/udev-event.c struct udev *udev = event->udev; udev 689 src/udev/udev-event.c udev_build_argv(event->udev, arg, NULL, argv); udev 692 src/udev/udev-event.c if (result != NULL || udev_get_log_priority(udev) >= LOG_INFO) { udev 699 src/udev/udev-event.c if (udev_get_log_priority(udev) >= LOG_INFO) { udev 805 src/udev/udev-event.c udev_watch_end(event->udev, dev); udev 812 src/udev/udev-event.c event->dev_db = udev_device_new(event->udev); udev 822 src/udev/udev-event.c udev_watch_end(event->udev, event->dev_db); udev 129 src/udev/udev-node.c struct udev *udev = udev_device_get_udev(dev); udev 159 src/udev/udev-node.c dev_db = udev_device_new_from_device_id(udev, dent->d_name); udev 56 src/udev/udev-rules.c struct udev *udev; udev 477 src/udev/udev-rules.c udev_err(rules->udev, "specified user '%s' unknown\n", owner); udev 479 src/udev/udev-rules.c udev_err(rules->udev, "error resolving user '%s': %s\n", owner, strerror(-r)); udev 524 src/udev/udev-rules.c udev_err(rules->udev, "specified group '%s' unknown\n", group); udev 526 src/udev/udev-rules.c udev_err(rules->udev, "error resolving group '%s': %s\n", group, strerror(-r)); udev 756 src/udev/udev-rules.c static int get_key(struct udev *udev, char **line, char **key, enum operation_type *op, char **value) { udev 846 src/udev/udev-rules.c static const char *get_key_attribute(struct udev *udev, char *str) { udev 1061 src/udev/udev-rules.c if (get_key(rules->udev, &linepos, &key, &op, &value) != 0) { udev 1138 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ATTR")); udev 1156 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("SECLABEL")); udev 1202 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ATTRS")); udev 1227 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ENV")); udev 1294 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("IMPORT")); udev 1344 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("TEST")); udev 1355 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("RUN")); udev 1660 src/udev/udev-rules.c struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names) { udev 1670 src/udev/udev-rules.c rules->udev = udev; udev 1672 src/udev/udev-rules.c udev_list_init(udev, &file_list, true); udev 1840 src/udev/udev-rules.c if (util_resolve_subsys_kernel(event->udev, name, vbuf, sizeof(vbuf), 1) != 0) udev 2053 src/udev/udev-rules.c if (util_resolve_subsys_kernel(event->udev, filename, filename, sizeof(filename), 0) != 0) { udev 2268 src/udev/udev-rules.c udev_err(event->udev, "specified user '%s' unknown\n", owner); udev 2270 src/udev/udev-rules.c udev_err(event->udev, "error resolving user '%s': %s\n", owner, strerror(-r)); udev 2294 src/udev/udev-rules.c udev_err(event->udev, "specified group '%s' unknown\n", group); udev 2296 src/udev/udev-rules.c udev_err(event->udev, "error resolving group '%s': %s\n", group, strerror(-r)); udev 2515 src/udev/udev-rules.c if (util_resolve_subsys_kernel(event->udev, key_name, attr, sizeof(attr), 0) != 0) udev 39 src/udev/udev-watch.c int udev_watch_init(struct udev *udev) { udev 49 src/udev/udev-watch.c void udev_watch_restore(struct udev *udev) { udev 76 src/udev/udev-watch.c dev = udev_device_new_from_device_id(udev, device); udev 81 src/udev/udev-watch.c udev_watch_begin(udev, dev); udev 95 src/udev/udev-watch.c void udev_watch_begin(struct udev *udev, struct udev_device *dev) { udev 121 src/udev/udev-watch.c void udev_watch_end(struct udev *udev, struct udev_device *dev) { udev 141 src/udev/udev-watch.c struct udev_device *udev_watch_lookup(struct udev *udev, int wd) { udev 155 src/udev/udev-watch.c return udev_device_new_from_device_id(udev, device); udev 34 src/udev/udev.h struct udev *udev; udev 73 src/udev/udev.h struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names); udev 94 src/udev/udev.h int udev_build_argv(struct udev *udev, char *cmd, int *argc, char *argv[]); udev 97 src/udev/udev.h int udev_watch_init(struct udev *udev); udev 98 src/udev/udev.h void udev_watch_restore(struct udev *udev); udev 99 src/udev/udev.h void udev_watch_begin(struct udev *udev, struct udev_device *dev); udev 100 src/udev/udev.h void udev_watch_end(struct udev *udev, struct udev_device *dev); udev 101 src/udev/udev.h struct udev_device *udev_watch_lookup(struct udev *udev, int wd); udev 112 src/udev/udev.h struct udev_ctrl *udev_ctrl_new(struct udev *udev); udev 113 src/udev/udev.h struct udev_ctrl *udev_ctrl_new_from_fd(struct udev *udev, int fd); udev 117 src/udev/udev.h struct udev *udev_ctrl_get_udev(struct udev_ctrl *uctrl); udev 168 src/udev/udev.h int (*init)(struct udev *udev); udev 169 src/udev/udev.h void (*exit)(struct udev *udev); udev 170 src/udev/udev.h bool (*validate)(struct udev *udev); udev 188 src/udev/udev.h void udev_builtin_init(struct udev *udev); udev 189 src/udev/udev.h void udev_builtin_exit(struct udev *udev); udev 194 src/udev/udev.h void udev_builtin_list(struct udev *udev); udev 195 src/udev/udev.h bool udev_builtin_validate(struct udev *udev); udev 201 src/udev/udev.h void udev_main_log(struct udev *udev, int priority, udev 208 src/udev/udev.h int (*cmd)(struct udev *udev, int argc, char *argv[]); udev 44 src/udev/udevadm-control.c static int adm_control(struct udev *udev, int argc, char *argv[]) { udev 69 src/udev/udevadm-control.c uctrl = udev_ctrl_new(udev); udev 446 src/udev/udevadm-hwdb.c static int import_file(struct udev *udev, struct trie *trie, const char *filename) { udev 456 src/udev/udevadm-hwdb.c udev_list_init(udev, &match_list, false); udev 549 src/udev/udevadm-hwdb.c static int adm_hwdb(struct udev *udev, int argc, char *argv[]) { udev 631 src/udev/udevadm-hwdb.c import_file(udev, trie, *f); udev 665 src/udev/udevadm-hwdb.c struct udev_hwdb *hwdb = udev_hwdb_new(udev); udev 173 src/udev/udevadm-info.c static int export_devices(struct udev *udev) { udev 177 src/udev/udevadm-info.c udev_enumerate = udev_enumerate_new(udev); udev 184 src/udev/udevadm-info.c device = udev_device_new_from_syspath(udev, udev_list_entry_get_name(list_entry)); udev 224 src/udev/udevadm-info.c static void cleanup_db(struct udev *udev) { udev 260 src/udev/udevadm-info.c static struct udev_device *find_device(struct udev *udev, const char *id, const char *prefix) { udev 282 src/udev/udevadm-info.c return udev_device_new_from_devnum(udev, type, statbuf.st_rdev); udev 284 src/udev/udevadm-info.c return udev_device_new_from_syspath(udev, id); udev 289 src/udev/udevadm-info.c static int uinfo(struct udev *udev, int argc, char *argv[]) { udev 357 src/udev/udevadm-info.c device = find_device(udev, optarg, "/dev/"); udev 370 src/udev/udevadm-info.c device = find_device(udev, optarg, "/sys"); udev 404 src/udev/udevadm-info.c export_devices(udev); udev 407 src/udev/udevadm-info.c cleanup_db(udev); udev 432 src/udev/udevadm-info.c device = find_device(udev, argv[optind], NULL); udev 496 src/udev/udevadm-info.c device = find_device(udev, argv[optind], NULL); udev 76 src/udev/udevadm-monitor.c static int adm_monitor(struct udev *udev, int argc, char *argv[]) { udev 102 src/udev/udevadm-monitor.c udev_list_init(udev, &subsystem_match_list, true); udev 103 src/udev/udevadm-monitor.c udev_list_init(udev, &tag_match_list, true); udev 166 src/udev/udevadm-monitor.c udev_monitor = udev_monitor_new_from_netlink(udev, "udev"); udev 208 src/udev/udevadm-monitor.c kernel_monitor = udev_monitor_new_from_netlink(udev, "kernel"); udev 46 src/udev/udevadm-settle.c static int adm_settle(struct udev *udev, int argc, char *argv[]) { udev 109 src/udev/udevadm-settle.c uctrl = udev_ctrl_new(udev); udev 120 src/udev/udevadm-settle.c queue = udev_queue_new(udev); udev 36 src/udev/udevadm-test-builtin.c static void help(struct udev *udev) { udev 39 src/udev/udevadm-test-builtin.c udev_builtin_list(udev); udev 43 src/udev/udevadm-test-builtin.c static int adm_builtin(struct udev *udev, int argc, char *argv[]) { udev 58 src/udev/udevadm-test-builtin.c help(udev); udev 65 src/udev/udevadm-test-builtin.c help(udev); udev 77 src/udev/udevadm-test-builtin.c udev_builtin_init(udev); udev 82 src/udev/udevadm-test-builtin.c help(udev); udev 94 src/udev/udevadm-test-builtin.c dev = udev_device_new_from_syspath(udev, filename); udev 108 src/udev/udevadm-test-builtin.c udev_builtin_exit(udev); udev 34 src/udev/udevadm-test.c static int adm_test(struct udev *udev, int argc, char *argv[]) { udev 100 src/udev/udevadm-test.c udev_builtin_init(udev); udev 102 src/udev/udevadm-test.c rules = udev_rules_new(udev, resolve_names); udev 116 src/udev/udevadm-test.c dev = udev_device_new_from_syspath(udev, filename); udev 153 src/udev/udevadm-test.c udev_builtin_exit(udev); udev 93 src/udev/udevadm-trigger.c static int adm_trigger(struct udev *udev, int argc, char *argv[]) { udev 118 src/udev/udevadm-trigger.c udev_enumerate = udev_enumerate_new(udev); udev 186 src/udev/udevadm-trigger.c dev = udev_device_new_from_syspath(udev, path); udev 29 src/udev/udevadm.c void udev_main_log(struct udev *udev, int priority, udev 35 src/udev/udevadm.c static int adm_version(struct udev *udev, int argc, char *argv[]) { udev 45 src/udev/udevadm.c static int adm_help(struct udev *udev, int argc, char *argv[]); udev 65 src/udev/udevadm.c static int adm_help(struct udev *udev, int argc, char *argv[]) { udev 76 src/udev/udevadm.c static int run_command(struct udev *udev, const struct udevadm_cmd *cmd, int argc, char *argv[]) { udev 80 src/udev/udevadm.c return cmd->cmd(udev, argc, argv); udev 84 src/udev/udevadm.c struct udev *udev; udev 95 src/udev/udevadm.c udev = udev_new(); udev 96 src/udev/udevadm.c if (udev == NULL) udev 101 src/udev/udevadm.c udev_set_log_fn(udev, udev_main_log); udev 109 src/udev/udevadm.c udev_set_log_priority(udev, LOG_DEBUG); udev 113 src/udev/udevadm.c rc = adm_help(udev, argc, argv); udev 117 src/udev/udevadm.c rc = adm_version(udev, argc, argv); udev 133 src/udev/udevadm.c rc = run_command(udev, udevadm_cmds[i], argc, argv); udev 141 src/udev/udevadm.c udev_unref(udev); udev 57 src/udev/udevd.c void udev_main_log(struct udev *udev, int priority, udev 94 src/udev/udevd.c struct udev *udev; udev 112 src/udev/udevd.c static void event_queue_cleanup(struct udev *udev, enum event_state type); udev 123 src/udev/udevd.c struct udev *udev; udev 169 src/udev/udevd.c static void worker_list_cleanup(struct udev *udev) { udev 180 src/udev/udevd.c struct udev *udev = event->udev; udev 186 src/udev/udevd.c worker_monitor = udev_monitor_new_from_netlink(udev, NULL); udev 200 src/udev/udevd.c worker->udev = udev; udev 217 src/udev/udevd.c worker_list_cleanup(udev); udev 218 src/udev/udevd.c event_queue_cleanup(udev, EVENT_UNDEF); udev 322 src/udev/udevd.c udev_watch_begin(udev, dev); udev 390 src/udev/udevd.c udev_builtin_exit(udev); udev 392 src/udev/udevd.c udev_unref(udev); udev 462 src/udev/udevd.c event->udev = udev_device_get_udev(dev); udev 480 src/udev/udevd.c static void worker_kill(struct udev *udev) { udev 566 src/udev/udevd.c static void event_queue_start(struct udev *udev) { udev 583 src/udev/udevd.c static void event_queue_cleanup(struct udev *udev, enum event_state match_type) { udev 629 src/udev/udevd.c struct udev *udev = udev_ctrl_get_udev(uctrl); udev 647 src/udev/udevd.c udev_set_log_priority(udev, i); udev 648 src/udev/udevd.c worker_kill(udev); udev 680 src/udev/udevd.c udev_add_property(udev, key, NULL); udev 683 src/udev/udevd.c udev_add_property(udev, key, val); udev 690 src/udev/udevd.c worker_kill(udev); udev 723 src/udev/udevd.c struct udev *udev = udev_device_get_udev(dev); udev 745 src/udev/udevd.c e = udev_enumerate_new(udev); udev 764 src/udev/udevd.c d = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 794 src/udev/udevd.c d = udev_device_new_from_syspath(udev, udev_list_entry_get_name(item)); udev 817 src/udev/udevd.c static int handle_inotify(struct udev *udev) { udev 839 src/udev/udevd.c dev = udev_watch_lookup(udev, ev->wd); udev 847 src/udev/udevd.c udev_watch_end(udev, dev); udev 856 src/udev/udevd.c static void handle_signal(struct udev *udev, int signo) { udev 916 src/udev/udevd.c static int systemd_fds(struct udev *udev, int *rctrl, int *rnetlink) { udev 957 src/udev/udevd.c static void kernel_cmdline_options(struct udev *udev) { udev 987 src/udev/udevd.c udev_set_log_priority(udev, prio); udev 1102 src/udev/udevd.c struct udev *udev; udev 1115 src/udev/udevd.c udev = udev_new(); udev 1116 src/udev/udevd.c if (udev == NULL) udev 1123 src/udev/udevd.c udev_set_log_fn(udev, udev_main_log); udev 1124 src/udev/udevd.c log_set_max_level(udev_get_log_priority(udev)); udev 1130 src/udev/udevd.c kernel_cmdline_options(udev); udev 1134 src/udev/udevd.c udev_set_log_priority(udev, LOG_DEBUG); udev 1182 src/udev/udevd.c if (systemd_fds(udev, &fd_ctrl, &fd_netlink) >= 0) { udev 1184 src/udev/udevd.c udev_ctrl = udev_ctrl_new_from_fd(udev, fd_ctrl); udev 1191 src/udev/udevd.c monitor = udev_monitor_new_from_netlink_fd(udev, "kernel", fd_netlink); udev 1203 src/udev/udevd.c udev_ctrl = udev_ctrl_new(udev); udev 1211 src/udev/udevd.c monitor = udev_monitor_new_from_netlink(udev, "kernel"); udev 1236 src/udev/udevd.c udev_builtin_init(udev); udev 1238 src/udev/udevd.c rules = udev_rules_new(udev, arg_resolve_names); udev 1285 src/udev/udevd.c fd_inotify = udev_watch_init(udev); udev 1291 src/udev/udevd.c udev_watch_restore(udev); udev 1357 src/udev/udevd.c event_queue_cleanup(udev, EVENT_QUEUED); udev 1358 src/udev/udevd.c worker_kill(udev); udev 1405 src/udev/udevd.c worker_kill(udev); udev 1457 src/udev/udevd.c if (udev_builtin_validate(udev)) udev 1465 src/udev/udevd.c worker_kill(udev); udev 1467 src/udev/udevd.c udev_builtin_exit(udev); udev 1488 src/udev/udevd.c udev_builtin_init(udev); udev 1490 src/udev/udevd.c rules = udev_rules_new(udev, arg_resolve_names); udev 1492 src/udev/udevd.c event_queue_start(udev); udev 1501 src/udev/udevd.c handle_signal(udev, fdsi.ssi_signo); udev 1510 src/udev/udevd.c handle_inotify(udev); udev 1532 src/udev/udevd.c worker_list_cleanup(udev); udev 1533 src/udev/udevd.c event_queue_cleanup(udev, EVENT_UNDEF); udev 1535 src/udev/udevd.c udev_builtin_exit(udev); udev 1546 src/udev/udevd.c udev_unref(udev);