Home
last modified time | relevance | path

Searched refs:st1 (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/test/ !
Dtest-fd-util.c397 struct stat st1, st2; in TEST() local
404 assert_se(fstat(fd1, &st1) >= 0); in TEST()
405 assert_se(S_ISDIR(st1.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()
430 assert_se(fstat(fd1, &st1) >= 0); in TEST()
431 assert_se(S_ISDIR(st1.st_mode)); in TEST()
432 assert_se(st1.st_ino == st2.st_ino); in TEST()
433 assert_se(st1.st_rdev == st2.st_rdev); in TEST()
446 assert_se(fstat(fd1, &st1) >= 0); in TEST()
[all …]
/systemd-251/src/udev/ !
Dudev-node.c451 struct stat st1 = {}, st2 = {}; in link_update() local
461 if (stat(dirname, &st1) < 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()