Lines Matching defs:sb
182 struct stat sb;
228 if (fstat(fd, &sb)) {
233 if (!S_ISREG(sb.st_mode))
236 if (o.disk_size != -1 && !S_ISCHR(sb.st_mode))
349 if ((fd1 = open(bname, O_RDONLY)) == -1 || fstat(fd1, &sb)) {
353 if (!S_ISREG(sb.st_mode) || sb.st_size % bpb.bpbBytesPerSec ||
354 sb.st_size < bpb.bpbBytesPerSec ||
355 sb.st_size > bpb.bpbBytesPerSec * MAXU16) {
359 bss = sb.st_size / bpb.bpbBytesPerSec;