/systemd-251/test/ |
D | udev-test.pl | 83 devpath => $tgt, 115 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 119 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 130 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 142 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 154 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda", 166 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 177 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 200 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", 213 … devpath => "/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/sda1", [all …]
|
/systemd-251/src/partition/ |
D | growfs.c | 34 _cleanup_free_ char *devpath = NULL, *main_devpath = NULL; in resize_crypt_luks_device() local 57 r = device_path_make_major_minor(S_IFBLK, devno, &devpath); in resize_crypt_luks_device() 61 r = sym_crypt_init(&cd, devpath); in resize_crypt_luks_device() 63 return log_error_errno(r, "crypt_init(\"%s\") failed: %m", devpath); in resize_crypt_luks_device() 69 return log_debug_errno(r, "Failed to load LUKS metadata for %s: %m", devpath); in resize_crypt_luks_device() 76 return log_error_errno(r, "crypt_resize() of %s failed: %m", devpath); in resize_crypt_luks_device() 80 devpath); in resize_crypt_luks_device() 89 _cleanup_free_ char *fstype = NULL, *devpath = NULL; in maybe_resize_underlying_device() local 111 r = device_path_make_major_minor(S_IFBLK, devno, &devpath); in maybe_resize_underlying_device() 115 r = probe_filesystem(devpath, &fstype); in maybe_resize_underlying_device() [all …]
|
/systemd-251/src/test/ |
D | test-udev.c | 90 const char *devpath, *devname, *action; in run() local 124 devpath = argv[2]; in run() 129 syspath = strjoina("/sys", devpath); in run() 132 return log_debug_errno(r, "Failed to open device '%s'", devpath); in run()
|
/systemd-251/src/libsystemd/sd-device/ |
D | sd-device.c | 142 const char *devpath; in device_set_syspath() local 240 assert_se(devpath = startswith(syspath, "/sys")); in device_set_syspath() 241 if (devpath[0] != '/') in device_set_syspath() 244 r = device_add_property_internal(device, "DEVPATH", devpath); in device_set_syspath() 249 device->devpath = devpath; in device_set_syspath() 937 const char *devpath, *drivers, *p; in device_set_drivers_subsystem() local 942 r = sd_device_get_devpath(device, &devpath); in device_set_drivers_subsystem() 946 drivers = strstr(devpath, "/drivers/"); in device_set_drivers_subsystem() 948 drivers = endswith(devpath, "/drivers"); in device_set_drivers_subsystem() 953 r = path_find_last_component(devpath, /* accept_dot_dot= */ false, &drivers, &p); in device_set_drivers_subsystem() [all …]
|
D | device-enumerator.c | 309 static bool devpath_is_late_block(const char *devpath) { in devpath_is_late_block() argument 310 assert(devpath); in devpath_is_late_block() 312 return strstr(devpath, "/block/md") || strstr(devpath, "/block/dm-"); in devpath_is_late_block()
|
D | device-internal.h | 62 const char *devpath; member
|
D | device-private.c | 422 if (!device->devpath || !device->subsystem || device->action < 0 || device->seqnum == 0) in device_verify() 1076 path, device->devpath); in device_update_db() 1084 …device: Failed to create %s file '%s' for '%s'", has_info ? "db" : "empty", path, device->devpath); in device_update_db()
|
/systemd-251/src/udev/ |
D | udevadm-monitor.c | 31 const char *devpath = NULL, *subsystem = NULL; in device_monitor_handler() local 39 (void) sd_device_get_devpath(device, &devpath); in device_monitor_handler() 48 devpath, subsystem); in device_monitor_handler()
|
D | udevadm-info.c | 438 const char *devpath; in query_device() local 440 r = sd_device_get_devpath(device, &devpath); in query_device() 444 printf("%s\n", devpath); in query_device()
|
D | udevd.c | 855 const char *subsystem, *devpath, *devpath_old = NULL; in event_is_blocked() local 912 r = sd_device_get_devpath(event->dev, &devpath); in event_is_blocked() 916 devpath_len = strlen(devpath); in event_is_blocked() 976 if (!strneq(devpath, loop_devpath, common)) in event_is_blocked() 984 if (devpath[common] == '/') in event_is_blocked()
|
/systemd-251/src/libudev/ |
D | libudev-device.c | 520 const char *devpath; in udev_device_get_devpath() local 525 r = sd_device_get_devpath(udev_device->device, &devpath); in udev_device_get_devpath() 529 return devpath; in udev_device_get_devpath()
|
/systemd-251/shell-completion/zsh/ |
D | _udevadm | 8 '--path=[The devpath of the device to query.]:sys files:_files -P /sys/ -W /sys' \ 85 '*::devpath:_files -P /sys/ -W /sys' 115 '*::devpath:_files -P /dev/ -W /dev'
|
/systemd-251/src/journal/ |
D | journalctl.c | 195 static int add_matches_for_device(sd_journal *j, const char *devpath) { in add_matches_for_device() argument 202 assert(devpath); in add_matches_for_device() 204 if (!path_startswith(devpath, "/dev/")) in add_matches_for_device() 208 if (stat(devpath, &st) < 0) in add_matches_for_device()
|