Home
last modified time | relevance | path

Searched refs:st2 (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/test/
Dtest-fd-util.c397 struct stat st1, st2; in TEST() local
415 assert_se(fstat(fd2, &st2) >= 0); in TEST()
416 assert_se(S_ISDIR(st2.st_mode)); in TEST()
417 assert_se(st1.st_ino == st2.st_ino); in TEST()
418 assert_se(st1.st_rdev == st2.st_rdev); in TEST()
432 assert_se(st1.st_ino == st2.st_ino); in TEST()
433 assert_se(st1.st_rdev == st2.st_rdev); in TEST()
458 assert_se(fstat(fd2, &st2) >= 0); in TEST()
459 assert_se(S_ISREG(st2.st_mode)); in TEST()
460 assert_se(st1.st_ino == st2.st_ino); in TEST()
[all …]
/systemd-251/src/shared/
Dfind-esp.c231 struct stat st, st2; in verify_fsroot_dir() local
265 if (stat(t2, &st2) < 0) { in verify_fsroot_dir()
279 r = RET_NERRNO(stat(parent, &st2)); in verify_fsroot_dir()
287 if (st.st_dev == st2.st_dev) in verify_fsroot_dir()
/systemd-251/src/udev/
Dudev-node.c451 struct stat st1 = {}, st2 = {}; in link_update() local
481 if (stat(dirname, &st2) < 0 && errno != ENOENT) in link_update()
484 if (((st1.st_mode & S_IFMT) == 0 && (st2.st_mode & S_IFMT) == 0) || in link_update()
485 stat_inode_unmodified(&st1, &st2)) in link_update()