Home
last modified time | relevance | path

Searched refs:block (Results 1 – 25 of 67) sorted by relevance

123

/systemd-251/docs/
DBLOCK_DEVICE_LOCKING.md11 [(`flock(2)`)](http://man7.org/linux/man-pages/man2/flock.2.html) on block
15 `systemd-udevd` probes all block devices showing up for file system superblock
21 Applications manipulating a block device can temporarily stop `systemd-udevd`
23 taking a BSD file lock on the block device node. Specifically, whenever
24 `systemd-udevd` starts processing a block device it takes a `LOCK_SH|LOCK_NB`
26 the main block device (i.e. never on any partition block device, but on the
31 Note that `systemd-udevd` also watches all block device nodes it manages for
36 formatting tools to safely and easily take exclusive ownership of a block
37 device while operating: before starting work on the block device, they should
41 will refrain from processing the block device, and thus all other client
[all …]
Dstyle.css136 .intro-code-block {
144 .intro-code-block {
151 display: block;
156 display: block;
/systemd-251/test/fuzz/fuzz-udev-rules/
D60-block.rules4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \
7 # forward scsi device event to corresponding block device
8 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/ueven…
11 ACTION!="remove", SUBSYSTEM=="block", KERNEL=="loop*|nvme*|sd*|vd*|xvd*|pmem*|mmcblk*", OPTIONS+="w…
D99-systemd.rules17 SUBSYSTEM=="block", TAG+="systemd"
18 SUBSYSTEM=="block", ACTION=="add", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="…
22 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV…
25 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="gpt-…
26 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="gpt-…
27 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{DM_NAME}=="root", SYMLINK+="gpt-auto-root"
30 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}…
31 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", E…
34 SUBSYSTEM=="block", KERNEL=="loop[0-9]*", ENV{DEVTYPE}=="disk", TEST!="loop/backing_file", ENV{SYST…
37 SUBSYSTEM=="block", KERNEL=="nbd*", ENV{DEVTYPE}=="disk", TEST!="pid", ENV{SYSTEMD_READY}="0"
D64-btrfs.rules3 SUBSYSTEM!="block", GOTO="btrfs_end"
15 ENV{ID_BTRFS_READY}=="1", RUN+="/usr/bin/udevadm trigger -s block -p ID_BTRFS_READY=0"
D50-udev-default.rules59 SUBSYSTEM=="block", GROUP="disk"
60 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="cdrom"
/systemd-251/rules.d/
D99-systemd.rules.in17 SUBSYSTEM=="block", TAG+="systemd"
18 SUBSYSTEM=="block", ACTION=="add", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=="1", ENV{SYSTEMD_READY}="…
22 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{ID_PART_TABLE_TYPE}=="", ENV{ID_FS_USAGE}=="", ENV…
25 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}!="crypto_LUKS", SYMLINK+="gpt-…
26 SUBSYSTEM=="block", ENV{ID_PART_GPT_AUTO_ROOT}=="1", ENV{ID_FS_TYPE}=="crypto_LUKS", SYMLINK+="gpt-…
27 SUBSYSTEM=="block", ENV{DM_UUID}=="CRYPT-*", ENV{DM_NAME}=="root", SYMLINK+="gpt-auto-root"
30 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", TEST!="md/array_state", ENV{SYSTEMD_READY}…
31 SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", KERNEL=="md*", ATTR{md/array_state}=="|clear|inactive", E…
34 SUBSYSTEM=="block", KERNEL=="loop[0-9]*", ENV{DEVTYPE}=="disk", TEST!="loop/backing_file", ENV{SYST…
37 SUBSYSTEM=="block", KERNEL=="nbd*", ENV{DEVTYPE}=="disk", TEST!="pid", ENV{SYSTEMD_READY}="0"
D60-block.rules4 ACTION=="add", SUBSYSTEM=="module", KERNEL=="block", ATTR{parameters/events_dfl_poll_msecs}=="0", \
7 # forward scsi device event to corresponding block device
8 ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/ueven…
11 ACTION!="remove", SUBSYSTEM=="block", \
D64-btrfs.rules.in3 SUBSYSTEM!="block", GOTO="btrfs_end"
15 ENV{ID_BTRFS_READY}=="1", RUN+="{{ROOTBINDIR}}/udevadm trigger -s block -p ID_BTRFS_READY=0"
D50-udev-default.rules.in9 SUBSYSTEM=="block", KERNEL=="md*", ENV{ID_IGNORE_DISKSEQ}="1"
74 SUBSYSTEM=="block", GROUP="disk"
75 SUBSYSTEM=="block", KERNEL=="sr[0-9]*", GROUP="cdrom"
/systemd-251/units/
Dsystemd-nspawn@.service.in20 # Make sure the DeviceAllow= lines below can properly resolve the 'block-loop' expression (and othe…
41 DeviceAllow=block-loop rw
42 DeviceAllow=block-blkext rw
45 # access to /dev/mapper/control and the block devices /dev/mapper/*.
47 DeviceAllow=block-device-mapper rw
Dinitrd-parse-etc.service23 ExecStart=-systemctl --no-block start initrd-fs.target
24 ExecStart=systemctl --no-block start initrd-cleanup.service
/systemd-251/src/udev/
Dudev-builtin-input_id.c339 … for (size_t block = 0; block < sizeof(high_key_blocks) / sizeof(struct range) && !found; block++) in test_key() local
340 … for (unsigned i = high_key_blocks[block].start; i < high_key_blocks[block].end && !found; i++) in test_key()
/systemd-251/src/shared/
Dethtool-util.c626 uint32_t block, mask; in set_features_bit() local
631 block = i / 32; in set_features_bit()
634 if (!FLAGS_SET(gfeatures->features[block].available, mask) || in set_features_bit()
635 FLAGS_SET(gfeatures->features[block].never_changed, mask)) in set_features_bit()
638 sfeatures->features[block].valid |= mask; in set_features_bit()
639 SET_FLAG(sfeatures->features[block].requested, mask, flag); in set_features_bit()
666 uint32_t block, mask; in set_features_multiple_bit() local
671 block = i / 32; in set_features_multiple_bit()
674 if (!FLAGS_SET(gfeatures->features[block].available, mask) || in set_features_multiple_bit()
675 FLAGS_SET(gfeatures->features[block].never_changed, mask)) { in set_features_multiple_bit()
[all …]
/systemd-251/shell-completion/zsh/
D_systemd-inhibit34 '--mode=[One of block or delay]:lock mode:( block delay )' \
D_udevadm123 '--backing=[File whose backing block device to lock.]' \
124 '--print[Only show which block device the lock would be taken on.]' \
158 'lock:lock a block device and run a comand'
/systemd-251/test/units/
Dtestsuite-17.06.sh28 udevadm trigger -w --action add --subsystem-match=block
33 udevadm trigger -w --action change --subsystem-match=block
Dtestsuite-03.sh9 systemctl start --no-block hello-after-sleep.target
40 systemctl start --no-block hello-after-sleep.target
Dunstoppable.service6 ExecStop=/bin/systemctl start --no-block unstoppable.service
Dend.service10 ExecStart=/bin/sh -x -c 'systemctl poweroff --no-block'
Dtestsuite-11.sh6 systemctl --no-block start fail-on-restart.service
/systemd-251/test/TEST-46-HOMED/
Dtest.sh17 instmods loop =block
/systemd-251/test/TEST-67-INTEGRITY/
Dtest.sh15 instmods loop =block
/systemd-251/test/TEST-29-PORTABLE/
Dtest.sh18 instmods loop =block
/systemd-251/test/TEST-50-DISSECT/
Dtest.sh24 instmods loop =block

123