Searched defs:subsys (Results 1 - 6 of 6) sorted by relevance

/systemd/src/libudev/
H A Dlibudev-util.c47 char *subsys; local
57 subsys = &temp[1];
59 sysname = strchr(subsys, '/');
78 dev = udev_device_new_from_subsystem_sysname(udev, subsys, sysname);
90 log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);
99 log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);
H A Dlibudev-monitor.c532 const char *subsys = udev_list_entry_get_name(list_entry); local
537 if (!streq(dsubsys, subsys))
/systemd/src/udev/
H A Dudevadm-monitor.c117 char subsys[UTIL_NAME_SIZE]; local
120 strscpy(subsys, sizeof(subsys), optarg);
121 devtype = strchr(subsys, '/');
126 udev_list_entry_add(&subsystem_match_list, subsys, devtype);
173 const char *subsys = udev_list_entry_get_name(entry); local
176 if (udev_monitor_filter_add_match_subsystem_devtype(udev_monitor, subsys, devtype) < 0)
177 fprintf(stderr, "error: unable to apply subsystem filter '%s'\n", subsys);
215 const char *subsys = udev_list_entry_get_name(entry); local
217 if (udev_monitor_filter_add_match_subsystem_devtype(kernel_monitor, subsys, NUL
[all...]
H A Dudev-builtin-path_id.c79 static struct udev_device *skip_subsystem(struct udev_device *dev, const char *subsys) { argument
83 assert(subsys);
89 if (subsystem == NULL || !streq(subsystem, subsys))
627 const char *subsys; local
629 subsys = udev_device_get_subsystem(parent);
630 if (subsys == NULL) {
632 } else if (streq(subsys, "scsi_tape")) {
634 } else if (streq(subsys, "scsi")) {
637 } else if (streq(subsys, "cciss")) {
640 } else if (streq(subsys, "us
[all...]
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c284 char subsys[PATH_MAX]; local
287 strscpy(subsys, sizeof(subsys), sysname);
288 driver = strchr(subsys, ':');
293 syspath = strjoina("/sys/subsystem/", subsys, "/drivers/", driver);
297 syspath = strjoina("/sys/bus/", subsys, "/drivers/", driver);
663 char subsys[PATH_MAX]; local
666 (void)strscpy(subsys, sizeof(subsys), id + 1);
667 sysname = strchr(subsys, '
[all...]
/systemd/src/journal/
H A Djournalctl.c179 const char *subsys, *sysname, *devnode; local
181 subsys = udev_device_get_subsystem(d);
182 if (!subsys) {
193 match = strjoin("_KERNEL_DEVICE=+", subsys, ":", sysname, NULL);

Completed in 68 milliseconds