Lines Matching refs:sb
683 is_ancestor (const struct stat *sb, const struct dir_list *ancestors) in is_ancestor() argument
687 if (ancestors->ino == sb->st_ino && ancestors->dev == sb->st_dev) in is_ancestor()
1128 infer_scantype (int fd, struct stat const *sb, in infer_scantype() argument
1136 && S_ISREG (sb->st_mode) in infer_scantype()
1137 && STP_NBLOCKS (sb) < sb->st_size / ST_NBLOCKSIZE)) in infer_scantype()
1239 struct stat sb; in copy_reg() local
1527 sb.st_mode = 0; in copy_reg()
1528 else if (fstat (dest_desc, &sb) != 0) in copy_reg()
1538 mode_t temporary_mode = sb.st_mode | extra_permissions; in copy_reg()
1539 if (temporary_mode != sb.st_mode in copy_reg()
1547 size_t buf_size = io_blksize (&sb); in copy_reg()
1548 size_t hole_size = STP_BLKSIZE (&sb); in copy_reg()
1560 = (S_ISREG (sb.st_mode) in copy_reg()
1642 if (x->preserve_ownership && ! SAME_OWNER_AND_GROUP (*src_sb, sb)) in copy_reg()
1645 src_sb, *new_dst, &sb)) in copy_reg()
3219 struct stat sb; in copy_internal() local
3220 if (fstatat (dst_dirfd, drelname, &sb, AT_SYMLINK_NOFOLLOW) == 0) in copy_internal()
3221 record_file (x->dest_info, dst_relname, &sb); in copy_internal()