Lines Matching defs:calcsb
93 static int calcsb(calcsb_t, caddr_t, int, struct fs *);
559 if (!calcsb(style, devstr, fsreadfd, &proto)) {
565 "debug: calcsb(%s) gave fpg %d, cgoffset %d, ",
612 calcsb(style, devstr, fsreadfd, &sblock)) {
1289 calcsb(calcsb_t style, caddr_t dev, int devfd, struct fs *fs)
1325 (void) printf("calcsb() going with style MKFS\n");
1330 (void) printf("calcsb() going with style NEWFS\n");
1335 (void) printf("calcsb() doesn't undestand style %d\n",
1406 (void) printf("calcsb: got bad style number %d\n",
1413 pfatal("calcsb: could not create pipe: %s\n", strerror(errno));
1421 pfatal("calcsb: fork failed: %s\n", strerror(errno));
1428 "calcsb: could not rename file descriptor: %s\n",
1434 (void) printf("calcsb: could not open /dev/null: %s\n",
1440 "calcsb: could not rename file descriptor: %s\n",
1446 (void) printf("calcsb: could not exec %s: %s\n",
1469 "calcsb: binary read of superblock from %s failed: %s\n",
1474 "calcsb: short read of superblock from %s\n",