/systemd-251/test/ |
D | udev-test.pl | 72 my @devices; 87 push(@devices, $device); 89 return \@devices; 113 devices => [ 128 devices => [ 140 devices => [ 152 devices => [ 164 devices => [ 175 devices => [ 198 devices => [ [all …]
|
/systemd-251/test/units/ |
D | testsuite-17.02.sh | 22 udevadm trigger --action=add --settle /sys/devices/virtual/net/lo 23 udevadm info /sys/devices/virtual/net/lo 25 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 28 udevadm trigger --action=change --settle /sys/devices/virtual/net/lo 29 udevadm info /sys/devices/virtual/net/lo 31 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 34 udevadm trigger --action=move --settle /sys/devices/virtual/net/lo 35 udevadm info /sys/devices/virtual/net/lo 37 STATE=$(systemctl show --property=ActiveState --value sys-devices-virtual-net-lo.device) 46 udevadm info --wait-for-initialization=10s /sys/devices/virtual/net/hoge [all …]
|
D | testsuite-64.sh | 99 local -a devices 120 mapfile -t devices < <(multipath -l "$path" | grep -Eo '[0-9]+:[0-9]+:[0-9]+:[0-9]+' | sort -R) 195 local devices=( 267 local devices=( 391 local devices=( 554 local devices=( 572 …ame" --uuid "$uuid" /dev/disk/by-id/ata-foobar_deadbeefmdadm{0..1} -v -f --level=1 --raid-devices=2 600 …ame" --uuid "$uuid" /dev/disk/by-id/ata-foobar_deadbeefmdadm{0..2} -v -f --level=5 --raid-devices=3 638 …me" --uuid "$uuid" /dev/disk/by-id/ata-foobar_deadbeefmdadm{0..3} -v -f --level=10 --raid-devices=4 669 local devices=( [all …]
|
/systemd-251/src/login/ |
D | logind-device.c | 24 if (hashmap_put(m->devices, d->sysfs, d) < 0) { in device_new() 49 LIST_REMOVE(devices, d->seat->devices, d); in device_detach() 63 hashmap_remove(d->manager->devices, d->sysfs); in device_free() 91 if (d->master || !s->devices) in device_attach() 92 LIST_PREPEND(devices, s->devices, d); in device_attach() 94 LIST_FOREACH(devices, i, s->devices) { in device_attach() 96 LIST_INSERT_AFTER(devices, s->devices, i, d); in device_attach()
|
D | logind-session-device.c | 295 sd->device = hashmap_get(sd->session->manager->devices, sp); in session_device_verify() 305 sd->device = hashmap_get(sd->session->manager->devices, sp); in session_device_verify() 343 r = hashmap_put(s->devices, &sd->dev, sd); in session_device_new() 372 hashmap_remove(s->devices, &sd->dev); in session_device_new() 399 hashmap_remove(sd->session->devices, &sd->dev); in session_device_free() 414 HASHMAP_FOREACH(iter, sd->session->devices) in session_device_complete_pause() 427 HASHMAP_FOREACH(sd, s->devices) { in session_device_resume_all() 445 HASHMAP_FOREACH(sd, s->devices) { in session_device_pause_all() 460 HASHMAP_FOREACH(sd, s->devices) { in session_device_try_pause_all()
|
D | logind-session.c | 76 s->devices = hashmap_new(&devt_hash_ops); in session_new() 77 if (!s->devices) in session_new() 101 while ((sd = hashmap_first(s->devices))) in session_free() 104 hashmap_free(s->devices); in session_free() 194 if (!hashmap_isempty(s->devices)) { in session_save_devices() 196 HASHMAP_FOREACH(sd, s->devices) in session_save_devices() 361 static int session_load_devices(Session *s, const char *devices) { in session_load_devices() argument 367 for (p = devices;;) { in session_load_devices() 415 *devices = NULL, in session_load() local 447 "DEVICES", &devices, in session_load() [all …]
|
/systemd-251/rules.d/ |
D | 70-uaccess.rules.in | 13 # PTP/MTP protocol devices, cameras, portable media players 22 # HPLIP devices (necessary for ink level check and HP tool maintenance) 29 # Sound devices 38 # industrial cameras, some webcams, camcorders, set-top boxes, TV sets, audio devices, and more 43 # DRI video devices 57 # (USB) authentication devices 60 # PDA devices 69 # color measurement devices 75 # media player raw devices (for user-mode drivers, Android SDK, etc.) 78 # software-defined radio communication devices [all …]
|
D | 99-systemd.rules.in | 20 # Ignore encrypted devices with no identified superblock on it, since 29 # Ignore raid devices that are not yet assembled and started 33 # Ignore loop devices that don't have any file attached 36 # Ignore nbd devices until the PID file exists (which signals a connected device) 39 # We need a hardware independent way to identify network devices. We 46 SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/net/devices/$na… 47 SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/bluetooth/devices/%k", \ 59 # Apply sysctl variables to network devices (and only to those) as they appear. 62 # Pull in backlight save/restore for all backlight devices and 67 # Pull in rfkill save/restore for all rfkill devices
|
D | 60-persistent-storage.rules | 23 # present on the partition devices as well as the parent, so no need to 56 # ATAPI devices (SPC-3 or later) 62 # Fall back usb_id for USB devices 65 # SCSI devices 71 # PMEM devices 94 # compatible links for ATA devices
|
D | 60-persistent-input.rules | 6 # Bluetooth devices don't always have the bluetooth subsystem 30 # allow empty class for USB devices, by appending the interface number 38 # allow empty class for platform, usb and i2c devices; platform supports only a single interface th…
|
D | 78-sound-card.rules | 16 # point. All other devices that belong to a card are created in the kernel 26 # only be relayed after all child devices have finished processing properly. 27 # When an application needs to listen for appearing devices it can hence look 53 # If we reach here, the device nor any of its parents are USB/PCI/firewire bus devices.
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-enumerator.c | 33 sd_device **devices; member 71 static void device_unref_many(sd_device **devices, size_t n) { in device_unref_many() argument 72 assert(devices || n == 0); in device_unref_many() 75 sd_device_unref(devices[i]); in device_unref_many() 82 device_unref_many(enumerator->devices, enumerator->n_devices); in device_enumerator_unref_devices() 83 enumerator->devices = mfree(enumerator->devices); in device_enumerator_unref_devices() 341 sd_device **devices; in enumerator_sort_devices() local 350 devices = new(sd_device*, hashmap_size(enumerator->devices_by_syspath)); in enumerator_sort_devices() 351 if (!devices) in enumerator_sort_devices() 370 devices[n++] = sd_device_ref(device); in enumerator_sort_devices() [all …]
|
/systemd-251/shell-completion/zsh/ |
D | _udevadm | 24 '--verbose[Print the list of devices which will be triggered.]' \ 27 '--type=[Trigger a specific type of devices.]:types:(all devices subsystems failed)' \ 29 '--subsystem-match=[Trigger events for devices which belong to a matching subsystem.]' \ 30 … '--subsystem-nomatch=[Do not trigger events for devices which belong to a matching subsystem.]' \ 31 '--attr-match=attribute=[Trigger events for devices with a matching sysfs attribute.]' \ 32 … '--attr-nomatch=attribute=[Do not trigger events for devices with a matching sysfs attribute.]' \ 33 '--property-match=[Trigger events for devices with a matching property value.]' \ 34 '--tag-match=property[Trigger events for devices with a matching tag.]' \ 35 '--sysname-match=[Trigger events for devices with a matching sys device name.]' \ 37 '--initialized-match[Trigger events for devices that are already initialized.]' \ [all …]
|
D | _networkctl | 13 'up:Bring devices up' 14 'down:Bring devices down'
|
/systemd-251/test/fuzz/fuzz-udev-rules/ |
D | 99-systemd.rules | 20 # Ignore encrypted devices with no identified superblock on it, since 29 # Ignore raid devices that are not yet assembled and started 33 # Ignore loop devices that don't have any file attached 36 # Ignore nbd devices until the PID file exists (which signals a connected device) 39 # We need a hardware independent way to identify network devices. We 46 SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/net/devices/$na… 47 SUBSYSTEM=="bluetooth", TAG+="systemd", ENV{SYSTEMD_ALIAS}+="/sys/subsystem/bluetooth/devices/%k" 57 # Apply sysctl variables to network devices (and only to those) as they appear. 60 # Pull in backlight save/restore for all backlight devices and 65 # Pull in rfkill save/restore for all rfkill devices
|
D | 60-persistent-input.rules | 6 # Bluetooth devices don't always have the bluetooth subsystem 30 # allow empty class for USB devices, by appending the interface number 38 # allow empty class for platform and usb devices; platform supports only a single interface that way
|
D | 78-sound-card.rules | 16 # point. All other devices that belong to a card are created in the kernel 26 # only be relayed after all child devices have finished processing properly. 27 # When an application needs to listen for appearing devices it can hence look 53 # If we reach here, the device nor any of its parents are USB/PCI/firewire bus devices.
|
D | 60-persistent-storage.rules | 42 # ATAPI devices (SPC-3 or later) 48 # Fall back usb_id for USB devices 51 # SCSI devices 57 # PMEM devices
|
/systemd-251/docs/ |
D | BLOCK_DEVICE_LOCKING.md | 15 `systemd-udevd` probes all block devices showing up for file system superblock 50 Ideally, `systemd-udevd` would explicitly watch block devices for `LOCK_EX` 68 `systemd-udevd` never writes to such block devices it only takes a `LOCK_SH` 78 If multiple devices are to be locked at the same time (for example in order to 79 format a RAID file system), the devices should be locked in the order of the 92 is provided to lock block devices following this scheme from the command line, 98 manipulating block devices in all tools that change file system block devices
|
D | CONTAINER_INTERFACE.md | 47 `BPF_PROG_TYPE_CGROUP_DEVICE` BPF program — on cgroupv2 — or the `devices` 48 cgroup controller — on cgroupv1 — so that no other devices but these may be 213 devices, for example hashed out of the container names. That way it is more 240 types should have major and minor of zero (which are unallocated devices on 248 character and block devices nodes (there are fallbacks for this case). 282 cgroupv2 — or the `devices` controller — on cgroupv1 — to restrict what 301 subsystem consists of all the devices `/dev/tty*`, `/dev/vcs*`, `/dev/vcsa*` 307 5. Don't pretend that passing arbitrary devices to containers could really work 308 well. For example, do not pass device nodes for block devices to the 309 container. Device access (with the exception of network devices) is not [all …]
|
/systemd-251/src/udev/ |
D | udevadm-info.c | 663 _cleanup_strv_free_ char **devices = NULL; in info_main() local 722 r = strv_consume(&devices, path); in info_main() 796 r = strv_extend_strv(&devices, argv + optind, false); in info_main() 800 if (action != ACTION_TREE && strv_isempty(devices)) in info_main() 803 if (IN_SET(action, ACTION_ATTRIBUTE_WALK, ACTION_TREE) && strv_length(devices) > 1) in info_main() 811 if (strv_isempty(devices)) { in info_main() 818 STRV_FOREACH(p, devices) { in info_main()
|
/systemd-251/hwdb.d/ |
D | README | 1 Files in this directory specify a description of hardware devices, in the form 2 of mappings from modalias-like keys (which identify specific hardware devices)
|
D | 60-seat.hwdb | 3 # This file lists graphic devices that don't have a DRM driver and fall back to 4 # a frame-buffer one instead. Since commit 6260d28b8a, frame-buffer devices are
|
/systemd-251/units/ |
D | systemd-rfkill.service.in | 14 BindsTo=sys-devices-virtual-misc-rfkill.device 16 After=sys-devices-virtual-misc-rfkill.device
|
D | systemd-rfkill.socket | 14 BindsTo=sys-devices-virtual-misc-rfkill.device 15 After=sys-devices-virtual-misc-rfkill.device systemd-remount-fs.service
|