Home
last modified time | relevance | path

Searched refs:subsys (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/udev/
Dudev-builtin-path_id.c82 static sd_device *skip_subsystem(sd_device *dev, const char *subsys) { in skip_subsystem() argument
86 assert(subsys); in skip_subsystem()
101 if (!streq(subsystem, subsys)) in skip_subsystem()
559 const char *subsys, *sysname; in builtin_path_id() local
561 if (sd_device_get_subsystem(parent, &subsys) < 0 || in builtin_path_id()
564 } else if (streq(subsys, "scsi_tape")) { in builtin_path_id()
566 } else if (streq(subsys, "scsi")) { in builtin_path_id()
569 } else if (streq(subsys, "cciss")) { in builtin_path_id()
572 } else if (streq(subsys, "usb")) { in builtin_path_id()
575 } else if (streq(subsys, "bcma")) { in builtin_path_id()
[all …]
Dudevadm-info.c182 const char *str, *val, *subsys; in print_record() local
217 if (sd_device_get_subsystem(device, &subsys) >= 0) in print_record()
218 printf("%sU: %s%s%s\n", prefix, ansi_highlight_green(), subsys, ansi_normal()); in print_record()
227 streq_ptr(subsys, "block") ? 'b' : 'c', major(devnum), minor(devnum), in print_record()
Dudev-builtin-net_id.c761 const char *bus_id, *subsys; in names_ccw() local
778 r = sd_device_get_subsystem(cdev, &subsys); in names_ccw()
783 if (!STR_IN_SET(subsys, "ccwgroup", "ccw")) in names_ccw()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-types-nfnl.c190 const NLTypeSystem *subsys; in nfnl_get_type() local
192 subsys = type_system_get_type_system(&nfnl_type_system, nlmsg_type >> 8); in nfnl_get_type()
193 if (!subsys) in nfnl_get_type()
196 return type_system_get_type(subsys, nlmsg_type & ((1U << 8) - 1)); in nfnl_get_type()
/systemd-251/src/shared/
Dudev-util.c510 char *subsys, *sysname, *attr; in udev_resolve_subsys_kernel() local
526 subsys = &temp[1]; in udev_resolve_subsys_kernel()
528 sysname = strchr(subsys, '/'); in udev_resolve_subsys_kernel()
547 r = sd_device_new_from_subsystem_sysname(&dev, subsys, sysname); in udev_resolve_subsys_kernel()
559 log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result); in udev_resolve_subsys_kernel()
566 log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, strempty(attr), result); in udev_resolve_subsys_kernel()
/systemd-251/tmpfiles.d/
Dlegacy.conf.in19 # /run/lock/subsys is used for serializing SysV service execution, and
22 d /run/lock/subsys 0755 root root -
/systemd-251/src/libudev/
Dtest-libudev.c140 static void test_device_subsys_name(struct udev *udev, const char *subsys, const char *dev) { in test_device_subsys_name() argument
143 log_info("looking up device: '%s:%s'", subsys, dev); in test_device_subsys_name()
144 device = udev_device_new_from_subsystem_sysname(udev, subsys, dev); in test_device_subsys_name()
/systemd-251/src/login/
Dlogind-core.c597 const char *status, *enabled, *dash, *nn, *subsys; in manager_count_external_displays() local
606 if (sd_device_get_subsystem(p, &subsys) < 0 || !streq(subsys, "drm")) in manager_count_external_displays()
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c443 const char *subsys = memdupa_suffix0(name, sep - name); in sd_device_new_from_subsystem_sysname() local
447 r = device_strjoin_new("/sys/bus/", subsys, "/drivers", NULL, ret); in sd_device_new_from_subsystem_sysname()
449 r = device_strjoin_new("/sys/bus/", subsys, "/drivers/", sep, ret); in sd_device_new_from_subsystem_sysname()
837 const char *subsys, *sep; in sd_device_new_from_device_id() local
843 subsys = memdupa_suffix0(id + 1, sep - id - 1); in sd_device_new_from_device_id()
845 return sd_device_new_from_subsystem_sysname(ret, subsys, sep + 1); in sd_device_new_from_device_id()
Ddevice-enumerator.c362 const char *subsys; in enumerator_sort_devices() local
364 if (sd_device_get_subsystem(device, &subsys) < 0) in enumerator_sort_devices()
367 if (!streq(subsys, *prioritized_subsystem)) in enumerator_sort_devices()
/systemd-251/src/journal/
Djournalctl.c217 const char *subsys, *sysname, *devnode; in add_matches_for_device() local
220 r = sd_device_get_subsystem(d, &subsys); in add_matches_for_device()
228 match = strjoin("_KERNEL_DEVICE=+", subsys, ":", sysname); in add_matches_for_device()