Lines Matching defs:to_sb
181 struct stat from_sb, to_sb;
397 no_target = stat(to_name = argv[argc - 1], &to_sb);
398 if (!no_target && S_ISDIR(to_sb.st_mode)) {
416 if (!S_ISREG(to_sb.st_mode))
418 if (to_sb.st_dev == from_sb.st_dev &&
419 to_sb.st_ino == from_sb.st_ino)
430 if (to_sb.st_flags & NOCHANGEBITS)
432 to_sb.st_flags & ~(NOCHANGEBITS));
531 struct stat to_sb;
539 if (stat(to_name, &to_sb))
541 if (S_ISREG(to_sb.st_mode)) {
555 mode = (to_sb.st_mode & 0777);
588 dres, to_sb.st_size);
669 struct stat to_sb;
719 if (stat(to_name, &to_sb) == 0 &&
720 to_sb.st_flags & (NOCHANGEBITS))
721 (void)chflags(to_name, to_sb.st_flags & ~(NOCHANGEBITS));
774 if (fstat(to_fd, &to_sb) != 0)
776 size = to_sb.st_size;