Searched refs:to_stat (Results 1 – 2 of 2) sorted by relevance
108 struct stat to_stat, tmp_stat; in cp_main() local242 r = lstat(to.p_path, &to_stat); in cp_main()244 r = stat(to.p_path, &to_stat); in cp_main()249 if (r == -1 || !S_ISDIR(to_stat.st_mode)) { in cp_main()330 struct stat to_stat; in copy() local423 sval = Pflag ? lstat(to.p_path, &to_stat) : stat(to.p_path, &to_stat); in copy()428 if (to_stat.st_dev == curr->fts_statp->st_dev && in copy()429 to_stat.st_ino == curr->fts_statp->st_ino) { in copy()438 S_ISDIR(to_stat.st_mode)) { in copy()491 } else if (!S_ISDIR(to_stat.st_mode)) { in copy()
115 struct stat to_stat, *fs; in copy_file() local300 if (fstat(to_fd, &to_stat)) { in copy_file()303 } else if (fs->st_gid == to_stat.st_gid && in copy_file()