Lines Matching refs:source_stats
53 SMB_STRUCT_STAT source_stats; in copy_reg() local
58 if (sys_lstat(source, &source_stats, false) == -1) in copy_reg()
61 if (!S_ISREG (source_stats.st_ex_mode)) in copy_reg()
64 if (source_stats.st_ex_size > module_sizelimit) { in copy_reg()
68 (long long)source_stats.st_ex_size, in copy_reg()
88 if (transfer_file(ifd, ofd, source_stats.st_ex_size) == -1) in copy_reg()
97 if ((fchown(ofd, source_stats.st_ex_uid, source_stats.st_ex_gid) == -1) && (errno != EPERM)) in copy_reg()
99 if ((chown(dest, source_stats.st_ex_uid, source_stats.st_ex_gid) == -1) && (errno != EPERM)) in copy_reg()
109 if ((fchmod (ofd, source_stats.st_ex_mode & 07777) == -1) && in copy_reg()
112 if ((chmod (dest, source_stats.st_ex_mode & 07777) == -1) && in copy_reg()
128 ts[0] = source_stats.st_ex_atime; in copy_reg()
129 ts[1] = source_stats.st_ex_mtime; in copy_reg()
136 tv[0] = convert_timespec_to_timeval(source_stats.st_ex_atime); in copy_reg()
137 tv[1] = convert_timespec_to_timeval(source_stats.st_ex_mtime); in copy_reg()
148 tv.actime = convert_timespec_to_time_t(source_stats.st_ex_atime); in copy_reg()
149 tv.modtime = convert_timespec_to_time_t(source_stats.st_ex_mtime); in copy_reg()