Home
last modified time | relevance | path

Searched refs:udev_device_get_sysname (Results 1 – 20 of 20) sorted by relevance

/third_party/eudev/src/udev/
Dudev-builtin-path_id.c103 …v = udev_device_new_from_subsystem_sysname(udev, "fc_transport", udev_device_get_sysname(targetdev… in handle_scsi_fibre_channel()
138 udev_device_get_sysname(target_parent)); in handle_scsi_sas_wide_port()
182 "sas_device", udev_device_get_sysname(target_parent)); in handle_scsi_sas()
195 "sas_port", udev_device_get_sysname(port)); in handle_scsi_sas()
225 "sas_device", udev_device_get_sysname(expander)); in handle_scsi_sas()
268 if (startswith(udev_device_get_sysname(transportdev), "session")) in handle_scsi_iscsi()
273 … = udev_device_new_from_subsystem_sysname(udev, "iscsi_session", udev_device_get_sysname(transport… in handle_scsi_iscsi()
323 name = udev_device_get_sysname(parent); in handle_scsi_default()
498 str = udev_device_get_sysname(parent); in handle_cciss()
514 name = udev_device_get_sysname(dev); in handle_scsi_tape()
[all …]
Dudev-builtin-usb_id.c276 udev_device_get_sysname(dev)); in builtin_usb_id()
317 … if (sscanf(udev_device_get_sysname(dev_scsi), "%d:%d:%d:%d", &host, &bus, &target, &lun) != 4) { in builtin_usb_id()
318 log_debug("invalid scsi device '%s'", udev_device_get_sysname(dev_scsi)); in builtin_usb_id()
326 udev_device_get_sysname(dev_scsi)); in builtin_usb_id()
336 udev_device_get_sysname(dev_scsi)); in builtin_usb_id()
346 udev_device_get_sysname(dev_scsi)); in builtin_usb_id()
354 udev_device_get_sysname(dev_scsi)); in builtin_usb_id()
Dudev-event.c213 l = strpcpy(&s, l, udev_device_get_sysname(dev)); in udev_event_apply_format()
223 l = strpcpy(&s, l, udev_device_get_sysname(event->dev_parent)); in udev_event_apply_format()
353 l = strpcpy(&s, l, udev_device_get_sysname(dev)); in udev_event_apply_format()
871 …return rename_netif_dev_fromname_toname(event->dev,udev_device_get_sysname(event->dev),event->name… in rename_netif()
938 …(event->name == NULL && (r=udev_rules_assigning_name_to(rules,udev_device_get_sysname(dev))) > 0 ||
939 event->name != NULL && !streq(event->name, udev_device_get_sysname(dev)))) {
946 … if (r > 0 || (r=udev_rules_assigning_name_to(rules,udev_device_get_sysname(dev))) > 0) {
952 strscpy(newifname, IFNAMSIZ, udev_device_get_sysname(dev));
963 if (!streq(newifname,udev_device_get_sysname(dev))) {
964 … r = rename_netif_dev_fromname_toname(dev,udev_device_get_sysname(dev),newifname);
[all …]
Dudev-builtin-net_id.c200 …if (sscanf(udev_device_get_sysname(names->pcidev), "%x:%x:%x.%u", &domain, &bus, &slot, &func) != … in dev_pci_slot()
249 … if (strneq(address, udev_device_get_sysname(names->pcidev), strlen(address))) in dev_pci_slot()
310 strscpy(name, sizeof(name), udev_device_get_sysname(usbdev)); in names_usb()
358 if (sscanf(udev_device_get_sysname(bcmadev), "bcma%*u:%u", &core) != 1) in names_bcma()
387 bus_id = udev_device_get_sysname(cdev); in names_ccw()
Dudevadm-info.c100 printf(" KERNEL==\"%s\"\n", udev_device_get_sysname(device)); in print_device_chain()
117 printf(" KERNELS==\"%s\"\n", udev_device_get_sysname(device_parent)); in print_device_chain()
Dudevd.c318 !startswith(udev_device_get_sysname(dev), "dm-") && in worker_spawn()
319 !startswith(udev_device_get_sysname(dev), "md")) { in worker_spawn()
793 !startswith(udev_device_get_sysname(dev), "dm-")) { in synthesize_change()
Dudev-builtin-input_id.c355 sysname = udev_device_get_sysname(dev); in builtin_input_id()
Dudev-rules.c1938 if (match_key(rules, cur, udev_device_get_sysname(event->dev)) != 0) in udev_rules_apply_to_event()
2059 … if (match_key(rules, key, udev_device_get_sysname(event->dev_parent)) != 0) in udev_rules_apply_to_event()
/third_party/libinput/src/
Dudev-seat.c97 sysname = udev_device_get_sysname(udev_device); in device_added()
184 sysname = udev_device_get_sysname(device); in udev_input_add_devices()
229 if (strncmp("event", udev_device_get_sysname(udev_device), 5) != 0) in evdev_udev_handler()
Dpath-seat.c134 sysname = udev_device_get_sysname(udev_device); in path_seat_get_for_device()
185 sysname = udev_device_get_sysname(udev_device); in path_device_enable()
Devdev-tablet-pad-leds.c267 udev_device_get_sysname(parent)); in pad_led_get_sysfs_base_path()
Devdev.c2168 const char *sysname = udev_device_get_sysname(udev_device); in evdev_device_create()
2285 return udev_device_get_sysname(device->udev_device); in evdev_device_get_sysname()
/third_party/eudev/src/libudev/
Dlibudev.sym28 udev_device_get_sysname;
Dlibudev.h96 const char *udev_device_get_sysname(struct udev_device *udev_device);
Dlibudev-enumerate.c817 if (!match_sysname(udev_enumerate, udev_device_get_sysname(dev))) in scan_devices_tags()
846 if (!match_sysname(enumerate, udev_device_get_sysname(dev))) in parent_add_child()
Dlibudev-device.c1275 _public_ const char *udev_device_get_sysname(struct udev_device *udev_device) in udev_device_get_sysname() function
/third_party/libusb/libusb/os/
Dlinux_udev.c219 *sys_name = udev_device_get_sysname(udev_dev); in udev_device_info()
/third_party/eudev/export_include/
Dlibudev.h96 const char *udev_device_get_sysname(struct udev_device *udev_device);
/third_party/eudev/test/
Dtest-libudev.c52 str = udev_device_get_sysname(device); in print_device()
/third_party/libinput/tools/
Dshared.c457 sysname = udev_device_get_sysname(device); in find_device()