Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c130 struct fat_od_fsi *fsinfop, off64_t seekto);
144 struct fat_od_fsi *fsinfop, off64_t seekto);
160 static void write_fat(int fd, off64_t seekto, char *fn, char *lbl,
171 static int open_and_seek(char *dn, bpb_t *wbpb, off64_t *seekto);
176 static int seek_nofdisk(int fd, bpb_t *wbpb, off64_t *seekto);
178 static int seek_partn(int fd, char *pn, bpb_t *wbpb, off64_t *seekto);
614 seek_partn(int fd, char *pn, bpb_t *wbpb, off64_t *seekto) in seek_partn() argument
658 *seekto = 0; in seek_partn()
711 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
718 fill_bpb_sizes(wbpb, part, bootPart, *seekto); in seek_partn()
[all …]
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfat.c62 off64_t seekto; in seekFAT() local
66 seekto = TheBIOSParameterBlock.bpb.resv_sectors * in seekFAT()
68 return (lseek64(fd, seekto, SEEK_SET)); in seekFAT()
H A Ddir.c914 off64_t seekto; in seekRootDirectory() local
920 seekto = (off64_t)TheBIOSParameterBlock.bpb.resv_sectors * in seekRootDirectory()
926 gettext("Seeking root directory @%lld.\n"), seekto); in seekRootDirectory()
927 return (lseek64(fd, seekto, SEEK_SET)); in seekRootDirectory()
H A Dclusters.c290 off64_t seekto; in seekCluster() local
293 seekto = FirstClusterOffset + in seekCluster()
295 if (lseek64(fd, seekto, SEEK_SET) != seekto) { in seekCluster()
/titanic_44/usr/src/uts/sun/io/
H A Dfd.c5025 int seekto; /* where to seek for reset of DSKCHG */ in fdcheckdisk() local
5051 seekto = 1; /* at TRK0, seek out */ in fdcheckdisk()
5053 seekto = 0; in fdcheckdisk()
5058 err = fdrecalseek(fdc, unit, seekto, 0); in fdcheckdisk()