Searched refs:ckgeom (Results 1 – 1 of 1) sorted by relevance
/external/newfs_msdos/ |
D | mkfs_msdos.c | 238 static int ckgeom(const char *, u_int, const char *); 937 if (ckgeom(fname, bpb->bpbBytesPerSec, "bytes/sector") == -1) return -1; in getdiskinfo() 952 if (ckgeom(fname, bpb->bpbSecPerTrack, "sectors/track") == -1) return -1; in getdiskinfo() 955 if (ckgeom(fname, bpb->bpbHeads, "drive heads") == -1) return -1; in getdiskinfo() 1034 if (ckgeom(fname, lp->d_secsize, "bytes/sector") == -1) in getdiskinfo() 1039 if (ckgeom(fname, lp->d_nsectors, "sectors/track") == -1) in getdiskinfo() 1044 if (ckgeom(fname, lp->d_ntracks, "drive heads") == -1) in getdiskinfo() 1091 ckgeom(const char *fname, u_int val, const char *msg) in ckgeom() function
|