Home
last modified time | relevance | path

Searched refs:diskseq (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/shared/
Dloop-util.c432 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()
Ddissect-image.h256 …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_…
Dloop-util.h17 …uint64_t diskseq; /* Block device sequence number, monothonically incremented by the kernel on cre… member
Ddissect-image.c229 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()
Ddiscover-image.c1208 d->diskseq, in image_read_metadata()
/systemd-251/src/test/
Dtest-loop-block.c61 …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/
Dsd-device.c642 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()
Ddevice-internal.h78 …uint64_t diskseq; /* Block device sequence number, monothonically incremented by the kernel on cre… member
/systemd-251/src/basic/
Dfd-util.c795 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/
D60-persistent-storage.rules124 # 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}"
D50-udev-default.rules.in7 # The md driver increments diskseq *after* emitting 'change' uevent.
/systemd-251/src/sysext/
Dsysext.c549 d->diskseq, in merge_subprocess()
/systemd-251/src/dissect/
Ddissect.c866 d->diskseq, in run()
/systemd-251/src/portable/
Dportable.c375 d->diskseq, in portable_extract_by_path()
/systemd-251/src/core/
Dnamespace.c2069 loop_device->diskseq, in setup_namespace()
/systemd-251/src/nspawn/
Dnspawn.c5772 loop->diskseq, in run()
/systemd-251/
DNEWS230 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