Searched defs:devpath (Results 1 - 8 of 8) sorted by relevance
/systemd/src/test/ |
H A D | test-udev.c | 83 const char *devpath; local 104 devpath = argv[2]; 105 if (devpath == NULL) { 106 log_error("devpath missing"); 112 strscpyl(syspath, sizeof(syspath), "/sys", devpath, NULL); 115 log_debug("unknown device '%s'", devpath);
|
/systemd/src/libsystemd/sd-device/ |
H A D | device-internal.h | 67 const char *devpath; member in struct:sd_device
|
H A D | device-enumerator.c | 433 const char *devpath, *devpath_dev; local 442 r = sd_device_get_devpath(enumerator->match_parent, &devpath); 448 return startswith(devpath_dev, devpath);
|
H A D | sd-device.c | 152 const char *devpath; local 209 devpath = syspath + strlen("/sys"); 211 r = device_add_property_internal(device, "DEVPATH", devpath); 219 device->devpath = devpath; 791 else if (path_startswith(device->devpath, "/module/")) 793 else if (strstr(device->devpath, "/drivers/")) 795 else if (path_startswith(device->devpath, "/subsystem/") || 796 path_startswith(device->devpath, "/class/") || 797 path_startswith(device->devpath, "/bu 933 sd_device_get_devpath(sd_device *device, const char **devpath) argument [all...] |
/systemd/src/libudev/ |
H A D | libudev-device.c | 570 * Retrieve the kernel devpath value of the udev device. The path 573 * Returns: the devpath of the udev device 577 const char *devpath; local 582 r = sd_device_get_devpath(udev_device->device, &devpath); 588 return devpath;
|
/systemd/src/udev/ |
H A D | udev-builtin-input_id.c | 52 static void extract_info(struct udev_device *dev, const char *devpath, bool test) { argument 57 fd = open(devpath, O_RDONLY|O_CLOEXEC);
|
H A D | udevd.c | 120 const char *devpath; member in struct:event 255 log_error("seq %llu '%s' killed", udev_device_get_seqnum(event->dev), event->devpath); 265 log_warning("seq %llu '%s' is taking a long time", udev_device_get_seqnum(event->dev), event->devpath); 610 event->devpath = udev_device_get_devpath(dev); 611 event->devpath_len = strlen(event->devpath); 678 if (event->devpath_old != NULL && streq(loop_event->devpath, event->devpath_old)) { 683 /* compare devpath */ 686 /* one devpath is contained in the other? */ 687 if (memcmp(loop_event->devpath, event->devpath, commo [all...] |
/systemd/src/journal/ |
H A D | journalctl.c | 150 static int add_matches_for_device(sd_journal *j, const char *devpath) { argument 158 assert(devpath); 160 if (!path_startswith(devpath, "/dev/")) { 169 r = stat(devpath, &st);
|
Completed in 4422 milliseconds