Home
last modified time | relevance | path

Searched refs:fatsec (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c227 h->bs.fatsec = ltohs(h->bs.fatsec); in read_bootsec()
270 (h->bs.fatsec > 0) && in well_formed()
277 (h->bs.fatsec == 0 && h->bs32.f_fatlength > 0) && in well_formed()
281 fatmatch = (PC_NSEC(h) > 0 && h->bs.fatsec > 0); in well_formed()
296 if (h->bs.fatsec != 0) { in calculate_parameters()
297 h->FATSz = h->bs.fatsec; in calculate_parameters()
365 FirstRootDirSecNum = PC_RESSEC(h) + h->bs.nfat * h->bs.fatsec; in get_label_16()
520 h->bs.fatsec, h->bs.spt); in dumpfs()
590 ADD_UINT32(h, "fat_size_16", h->bs.fatsec); in get_attr()
/titanic_44/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1929 size_t fatsec, fatsec16, fatsec32, rdirsec; in parseBPB() local
1947 fatsec = fatsec16 ? fatsec16 : fatsec32; in parseBPB()
2045 fsp->pcfs_rdirstart = fsp->pcfs_fatstart + fsp->pcfs_numfat * fatsec; in parseBPB()
2048 (blkcnt_t)fatsec * fsp->pcfs_numfat - in parseBPB()
2053 blkcnt_t, totsec, size_t, fatsec, in parseBPB()
2164 fsp->pcfs_fatsec = fatsec; in parseBPB()
2177 if (bpb_get_FatSz16(bpb) == fatsec) in parseBPB()
2179 if (fatsec * secsize >= (ncl + PCF_FIRSTCLUSTER) in parseBPB()
2202 if (bpb_get_FatSz16(bpb) == fatsec) in parseBPB()
2204 if (fatsec * secsize >= (ncl + PCF_FIRSTCLUSTER) * 2) in parseBPB()
[all …]
/titanic_44/usr/src/cmd/fdformat/
H A Dfdformat.c1637 ushort_t fatsec; in write_NEC_DOS_label() local
1671 fatsec = bpb->b_fatsec[0]; in write_NEC_DOS_label()
1672 for (i = 0; i < (int)bpb->b_nfat * (int)fatsec; ++i) { in write_NEC_DOS_label()
1673 if ((i % (int)fatsec) == 0) { in write_NEC_DOS_label()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dpc_fs.h121 ushort_t fatsec; /* number of sectors per FAT */ member