/systemd-251/src/shared/ |
D | loop-util.c | 432 uint64_t diskseq = 0; in loop_device_make_internal() local 445 r = fd_get_diskseq(copy, &diskseq); in loop_device_make_internal() 458 .diskseq = diskseq, in loop_device_make_internal() 602 uint64_t diskseq = 0; in loop_device_make_internal() local 603 r = fd_get_diskseq(loop_with_fd, &diskseq); in loop_device_make_internal() 615 .diskseq = diskseq, in loop_device_make_internal() 624 d->diskseq); in loop_device_make_internal()
|
D | dissect-image.h | 256 …onst VeritySettings *verity, const MountOptions *mount_options, uint64_t diskseq, uint64_t uevent_… 257 …onst VeritySettings *verity, const MountOptions *mount_options, uint64_t diskseq, uint64_t uevent_…
|
D | loop-util.h | 17 …uint64_t diskseq; /* Block device sequence number, monothonically incremented by the kernel on cre… member
|
D | dissect-image.c | 229 uint64_t diskseq, in dissect_image() argument 2816 uint64_t diskseq, in dissect_image_and_warn() argument 2833 …r = dissect_image(fd, verity, mount_options, diskseq, uevent_seqnum_not_before, timestamp_not_befo… in dissect_image_and_warn() 2990 …r = dissect_image_and_warn(d->fd, image, &verity, NULL, d->diskseq, d->uevent_seqnum_not_before, d… in mount_image_privately_interactively() 3108 loop_device->diskseq, in verity_dissect_and_mount() 3119 loop_device->diskseq, in verity_dissect_and_mount()
|
D | discover-image.c | 1208 d->diskseq, in image_read_metadata()
|
/systemd-251/src/test/ |
D | test-loop-block.c | 61 …r = dissect_image(loop->fd, NULL, NULL, loop->diskseq, loop->uevent_seqnum_not_before, loop->times… in thread_func() 230 …assert_se(dissect_image(loop->fd, NULL, NULL, loop->diskseq, loop->uevent_seqnum_not_before, loop-… in run() 254 …assert_se(dissect_image(loop->fd, NULL, NULL, loop->diskseq, loop->uevent_seqnum_not_before, loop-… in run()
|
/systemd-251/src/libsystemd/sd-device/ |
D | sd-device.c | 642 uint64_t diskseq; in device_set_diskseq() local 648 r = safe_atou64(str, &diskseq); in device_set_diskseq() 651 if (diskseq == 0) in device_set_diskseq() 658 device->diskseq = diskseq; in device_set_diskseq() 1266 if (device->diskseq == 0) in sd_device_get_diskseq() 1270 *ret = device->diskseq; in sd_device_get_diskseq() 2312 uint64_t q, diskseq = 0; in sd_device_open() local 2357 r = sd_device_get_diskseq(device, &diskseq); in sd_device_open() 2366 if (diskseq == 0) in sd_device_open() 2373 if (q != diskseq) in sd_device_open()
|
D | device-internal.h | 78 …uint64_t diskseq; /* Block device sequence number, monothonically incremented by the kernel on cre… member
|
/systemd-251/src/basic/ |
D | fd-util.c | 795 uint64_t diskseq; in fd_get_diskseq() local 800 if (ioctl(fd, BLKGETDISKSEQ, &diskseq) < 0) { in fd_get_diskseq() 810 *ret = diskseq; in fd_get_diskseq()
|
/systemd-251/rules.d/ |
D | 60-persistent-storage.rules | 124 # by-diskseq link (if an app is told to open a path like this, they may parse 125 # the diskseq number from the path, then issue BLKGETDISKSEQ to verify they really got 127 …rtition", ENV{DISKSEQ}=="?*", ENV{ID_IGNORE_DISKSEQ}!="1", SYMLINK+="disk/by-diskseq/$env{DISKSEQ}"
|
D | 50-udev-default.rules.in | 7 # The md driver increments diskseq *after* emitting 'change' uevent.
|
/systemd-251/src/sysext/ |
D | sysext.c | 549 d->diskseq, in merge_subprocess()
|
/systemd-251/src/dissect/ |
D | dissect.c | 866 d->diskseq, in run()
|
/systemd-251/src/portable/ |
D | portable.c | 375 d->diskseq, in portable_extract_by_path()
|
/systemd-251/src/core/ |
D | namespace.c | 2069 loop_device->diskseq, in setup_namespace()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 5772 loop->diskseq, in run()
|
/systemd-251/ |
D | NEWS | 230 the device node and the "diskseq" (in case of block devices) match 405 /dev/disk/by-diskseq/<nr>, which may be used to reference block 406 device nodes via the kernel's "diskseq" value. Note that this does 409 diskseq value. To be safe against races, the actual diskseq value of
|