Searched refs:dest_stat (Results 1 – 3 of 3) sorted by relevance
/busybox-1.35.0/libbb/ |
D | copy_file.c | 85 struct stat dest_stat; in copy_file() local 102 if (lstat(dest, &dest_stat) < 0) { in copy_file() 108 if (source_stat.st_dev == dest_stat.st_dev in copy_file() 109 && source_stat.st_ino == dest_stat.st_ino in copy_file() 158 if (!S_ISDIR(dest_stat.st_mode)) { in copy_file() 181 if (lstat(dest, &dest_stat) < 0) { in copy_file() 188 add_to_ino_dev_hashtable(&dest_stat, NULL); in copy_file() 222 if (source_stat.st_mtime <= dest_stat.st_mtime) { in copy_file()
|
/busybox-1.35.0/coreutils/ |
D | cp.c | 117 struct stat dest_stat; in cp_main() local 218 d_flags = cp_mv_stat(last, &dest_stat); in cp_main()
|
/busybox-1.35.0/miscutils/ |
D | devfsd.c | 882 struct stat source_stat, dest_stat; in action_copy() local 886 dest_stat.st_mode = 0; in action_copy() 904 lstat(destination, &dest_stat); in action_copy() 908 else if ((info->type == DEVFSD_NOTIFY_CHANGE) &&(dest_stat.st_mode & S_ISVTX)) in action_copy() 910 ret = copy_inode(destination, &dest_stat, new_mode, source, &source_stat); in action_copy() 1015 struct stat dest_stat; in restore() local 1017 dest_stat.st_mode = 0; in restore() 1019 lstat(dpath, &dest_stat); in restore() 1022 copy_inode(dpath, &dest_stat, (source_stat.st_mode & ~S_ISVTX), spath, &source_stat); in restore() 1029 static int copy_inode(const char *destpath, const struct stat *dest_stat, in copy_inode() argument [all …]
|