Searched refs:source_stat (Results 1 - 4 of 4) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dcopy_file.c68 struct stat source_stat; local
76 if ((FLAGS_DEREF ? stat : lstat)(source, &source_stat) < 0) {
91 if (source_stat.st_dev == dest_stat.st_dev
92 && source_stat.st_ino == dest_stat.st_ino
118 if (S_ISDIR(source_stat.st_mode)) {
130 tp = is_in_ino_dev_hashtable(&source_stat);
150 mode = source_stat.st_mode;
152 mode = source_stat.st_mode & ~saved_umask;
193 && chmod(dest, source_stat.st_mode & ~saved_umask) < 0
222 if (S_ISREG(source_stat
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Dcp.c27 struct stat source_stat; local
74 s_flags = cp_mv_stat2(*argv, &source_stat,
H A Dmv.c91 struct stat source_stat; local
95 (source_exists = cp_mv_stat(*argv, &source_stat)) < 1) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Ddevfsd.c221 static void restore(char *spath, struct stat source_stat, int rootlen);
817 struct stat source_stat, dest_stat; local
837 if (!make_dir_tree(destination) || lstat(source, &source_stat) != 0)
840 new_mode = source_stat.st_mode & ~S_ISVTX;
845 ret = copy_inode(destination, &dest_stat, new_mode, source, &source_stat);
947 static void restore(char *spath, struct stat source_stat, int rootlen) argument
956 if (S_ISLNK(source_stat.st_mode) || (source_stat.st_mode & S_ISVTX))
957 copy_inode(dpath, &dest_stat,(source_stat.st_mode & ~S_ISVTX) , spath, &source_stat);
964 copy_inode(const char *destpath, const struct stat *dest_stat, mode_t new_mode, const char *sourcepath, const struct stat *source_stat) argument
[all...]

Completed in 98 milliseconds