Home
last modified time | relevance | path

Searched refs:seekto (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c132 struct fat_od_fsi *fsinfop, off64_t seekto);
146 struct fat_od_fsi *fsinfop, off64_t seekto);
162 static void write_fat(int fd, off64_t seekto, char *fn, char *lbl,
173 static int open_and_seek(char *dn, bpb_t *wbpb, off64_t *seekto);
178 static int seek_nofdisk(int fd, bpb_t *wbpb, off64_t *seekto);
180 static int seek_partn(int fd, char *pn, bpb_t *wbpb, off64_t *seekto);
616 seek_partn(int fd, char *pn, bpb_t *wbpb, off64_t *seekto) in seek_partn() argument
660 *seekto = 0; in seek_partn()
713 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
720 fill_bpb_sizes(wbpb, part, bootPart, *seekto); in seek_partn()
[all …]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfat.c60 off64_t seekto; in seekFAT() local
64 seekto = TheBIOSParameterBlock.bpb.resv_sectors * in seekFAT()
66 return (lseek64(fd, seekto, SEEK_SET)); in seekFAT()
H A Ddir.c912 off64_t seekto; in seekRootDirectory() local
918 seekto = (off64_t)TheBIOSParameterBlock.bpb.resv_sectors * in seekRootDirectory()
924 gettext("Seeking root directory @%lld.\n"), seekto); in seekRootDirectory()
925 return (lseek64(fd, seekto, SEEK_SET)); in seekRootDirectory()
H A Dclusters.c289 off64_t seekto; in seekCluster() local
292 seekto = FirstClusterOffset + in seekCluster()
294 if (lseek64(fd, seekto, SEEK_SET) != seekto) { in seekCluster()
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c5028 int seekto; /* where to seek for reset of DSKCHG */ in fdcheckdisk() local
5054 seekto = 1; /* at TRK0, seek out */ in fdcheckdisk()
5056 seekto = 0; in fdcheckdisk()
5061 err = fdrecalseek(fdc, unit, seekto, 0); in fdcheckdisk()