/systemd-251/src/test/ |
D | test-install-file.c | 34 assert_se(stat1.st_dev == stat2.st_dev); in TEST() 41 assert_se(stat1.st_dev == stat2.st_dev); in TEST()
|
D | test-copy.c | 176 assert_se(a.st_dev == b.st_dev); in TEST()
|
/systemd-251/src/shared/ |
D | find-esp.c | 249 if (major(st.st_dev) == 0) in verify_fsroot_dir() 259 *ret_dev = st.st_dev; in verify_fsroot_dir() 287 if (st.st_dev == st2.st_dev) in verify_fsroot_dir() 293 *ret_dev = st.st_dev; in verify_fsroot_dir() 435 *ret_devid = st.st_dev; in find_esp_and_warn() 685 *ret_devid = st.st_dev; in find_xbootldr_and_warn()
|
D | copy.c | 637 … xsprintf(dev_ino, "%u:%u:%" PRIu64, major(st->st_dev), minor(st->st_dev), (uint64_t) st->st_ino); in try_hardlink() 670 … xsprintf(dev_ino, "%u:%u:%" PRIu64, major(st->st_dev), minor(st->st_dev), (uint64_t) st->st_ino); in memorize_hardlink() 986 if (buf.st_dev != original_device) in fd_copy_directory() 1061 …r = fd_copy_directory(fdf, from, &st, fdt, to, st.st_dev, COPY_DEPTH_MAX, override_uid, override_g… in copy_tree_at_full() 1127 st.st_dev, in copy_directory_fd_full() 1170 st.st_dev, in copy_directory_full()
|
D | blockdev-util.c | 73 if (major(st.st_dev) != 0) { in get_block_device_fd() 74 *ret = st.st_dev; in get_block_device_fd()
|
D | rm-rf.c | 145 if (root_dev && st.st_dev != root_dev->st_dev) in rm_rf_inner_child()
|
D | bootspec.c | 334 siphash24_compress(&q->st_dev, sizeof(q->st_dev), state); in inode_hash_func() 341 r = CMP(a->st_dev, b->st_dev); in inode_compare_func()
|
D | loop-util.c | 814 .devno = st.st_dev, in loop_device_open()
|
D | discover-image.c | 1063 …printf(&p, "/run/systemd/nspawn/locks/inode-%lu:%lu", (unsigned long) st.st_dev, (unsigned long) s… in image_path_lock()
|
D | dissect-image.c | 1204 xsprintf_sys_block_path(s, "/loop/", st.st_dev); in is_loop_device() 1210 xsprintf_sys_block_path(s, "/../loop/", st.st_dev); in is_loop_device()
|
/systemd-251/src/basic/ |
D | stat-util.c | 349 a->st_dev == b->st_dev && in stat_inode_same() 414 .stx_dev_major = major(st.st_dev), in statx_fallback() 415 .stx_dev_minor = minor(st.st_dev), in statx_fallback()
|
D | mountpoint-util.c | 305 return check_st_dev && (a.st_dev != b.st_dev); in fd_is_mount_point()
|
D | log.c | 254 return st.st_dev == dev && st.st_ino == ino; in stderr_is_journal()
|
/systemd-251/src/udev/ |
D | udevadm-info.c | 273 prefix, major(statbuf.st_dev), in stat_device() 274 prefix, minor(statbuf.st_dev)); in stat_device() 276 printf("%u:%u\n", major(statbuf.st_dev), minor(statbuf.st_dev)); in stat_device()
|
D | udevadm-lock.c | 170 else if (major(st.st_dev) != 0) in find_devno() 171 devt = st.st_dev; in find_devno()
|
/systemd-251/src/journal/ |
D | journald-stream.c | 166 …, "%s/streams/%lu:%lu", s->server->runtime_directory, (unsigned long) st.st_dev, (unsigned long) s… in stdout_stream_save() 864 unsigned long st_dev, st_ino; in server_restore_streams() local 868 if (sscanf(de->d_name, "%lu:%lu", &st_dev, &st_ino) != 2) in server_restore_streams() 877 if (S_ISSOCK(st.st_mode) && st.st_dev == st_dev && st.st_ino == st_ino) { in server_restore_streams()
|
/systemd-251/src/fsck/ |
D | fsck.c | 304 if (major(st.st_dev) == 0) { in run() 318 r = sd_device_new_from_devnum(&dev, 'b', st.st_dev); in run()
|
/systemd-251/src/sysext/ |
D | sysext.c | 94 if (st.st_dev != dev) { in is_our_mount_point() 388 … r = write_string_filef(f, WRITE_STRING_FILE_CREATE, "%u:%u", major(st.st_dev), minor(st.st_dev)); in merge_hierarchy()
|
/systemd-251/src/home/ |
D | homed-manager.c | 510 if (major(st.st_dev) == 0) { in search_quota() 515 … if (st.st_dev == exclude_st.st_dev) { /* If an exclude path is specified, then ignore quota in search_quota() 521 … if (st.st_dev == previous_devno) { /* Does this directory have the same devno as the previous in search_quota() 528 previous_devno = st.st_dev; in search_quota() 530 r = quotactl_devnum(QCMD_FIXED(Q_GETQUOTA, USRQUOTA), st.st_dev, uid, &req); in search_quota()
|
/systemd-251/src/core/ |
D | automount.c | 635 ioctl_fd = open_ioctl_fd(dev_autofs_fd, a->where, st.st_dev); in automount_enter_waiting() 656 a->dev_id = st.st_dev; in automount_enter_waiting() 802 if (!S_ISDIR(st.st_mode) || st.st_dev != a->dev_id) { in automount_enter_running()
|
D | cgroup.c | 840 dev = st.st_dev; in lookup_block_device()
|
/systemd-251/docs/ |
D | JOURNAL_NATIVE_PROTOCOL.md | 170 the STDERR file descriptor. If the `.st_dev` and `.st_ino` fields of the
|
/systemd-251/src/partition/ |
D | repart.c | 4005 if (major(st.st_dev) != 0) in context_open_copy_block_paths() 4006 r = sd_device_new_from_devnum(&dev, 'b', st.st_dev); in context_open_copy_block_paths() 4508 devno = st.st_dev; in acquire_root_devno()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 2486 sx.stx_dev_major != major(ps.st_dev) || in clean_item_instance() 2487 sx.stx_dev_minor != minor(ps.st_dev) || in clean_item_instance()
|
/systemd-251/src/libsystemd/sd-event/ |
D | sd-event.c | 2047 r = event_make_inode_data(e, inotify_data, st.st_dev, st.st_ino, &inode_data); in event_add_inotify_fd_internal()
|