Lines Matching refs:st_mode
252 arcn->sb.st_mode &= ~SETBITS(0);
254 set_pmode(tmp_name, arcn->sb.st_mode);
257 apply_umask((arcn->sb.st_mode & FILEBITS(0))));
305 *payload = S_ISREG(arcn->sb.st_mode) &&
312 if (lstat(arcn->ln_name, &sb) != -1 && S_ISDIR(sb.st_mode)) {
417 if (S_ISDIR(sb.st_mode) && strcmp(from, ".") != 0) {
483 file_mode = arcn->sb.st_mode & FILEBITS(arcn->type == PAX_DIR);
495 S_ISLNK(sb.st_mode)) {
599 arcn->sb.st_mode &= ~SETBITS(arcn->type == PAX_DIR);
601 set_pmode(arcn->name, arcn->sb.st_mode);
625 set_pmode(nm, ((sb.st_mode &
629 arcn->sb.st_mode = sb.st_mode;
677 if (S_ISDIR(sb.st_mode)) {
785 set_pmode(name, ((sb.st_mode & FILEBITS(0)) |
797 if (retval == -1 && stat(name, &sb) == 0 && S_ISDIR(sb.st_mode))