Lines Matching refs:dest_stat
817 struct stat source_stat, dest_stat;
821 dest_stat.st_mode = 0;
839 lstat(destination, &dest_stat);
843 else if ((info->type == DEVFSD_NOTIFY_CHANGE) &&(dest_stat.st_mode & S_ISVTX))
845 ret = copy_inode(destination, &dest_stat, new_mode, source, &source_stat);
950 struct stat dest_stat;
952 dest_stat.st_mode = 0;
954 lstat(dpath, &dest_stat);
957 copy_inode(dpath, &dest_stat,(source_stat.st_mode & ~S_ISVTX) , spath, &source_stat);
964 static int copy_inode(const char *destpath, const struct stat *dest_stat,
969 <dest_stat> The destination stat(2) information.
982 if ((source_stat->st_mode & S_IFMT) ==(dest_stat->st_mode & S_IFMT)) {