Lines Matching refs:sb
42 struct stat sb; in get_file_hash() local
52 if (stat(path, &sb) != 0) { in get_file_hash()
56 if (S_ISLNK(sb.st_mode)) { in get_file_hash()
68 } else if (S_ISREG(sb.st_mode)) { in get_file_hash()
92 if (S_ISLNK(sb.st_mode) || S_ISREG(sb.st_mode)) { in get_file_hash()
101 " %d 0%o %d %d", (int) sb.st_size, sb.st_mode, in get_file_hash()
102 (int) sb.st_uid, (int) sb.st_gid); in get_file_hash()
105 "- - 0%o %d %d", sb.st_mode, in get_file_hash()
106 (int) sb.st_uid, (int) sb.st_gid); in get_file_hash()
175 struct stat sb; in recurse() local
235 if ((stat(name, &sb) == 0) && S_ISDIR(sb.st_mode)) { in recurse()