Searched refs:CLUST_FIRST (Results 1 - 8 of 8) sorted by relevance

/netbsd-6-1-5-RELEASE/sbin/fsck_msdos/
H A Dfat.c64 if (*next < CLUST_FIRST
200 for (cl = CLUST_FIRST; cl < boot->NumClusters;) {
331 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++)
342 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) {
378 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
387 p >= CLUST_FIRST && p < boot->NumClusters;
402 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
409 (n = fat[p].next) >= CLUST_FIRST && n < boot->NumClusters;
422 if (n < CLUST_FIRST || n >= boot->NumClusters) {
437 p >= CLUST_FIRST
[all...]
H A Ddosfs.h90 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
H A Ddir.c248 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) {
254 if (cl < CLUST_FIRST
323 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) {
378 /* startcl is < CLUST_FIRST for !fat32 root */
379 if ((endcl == curcl) || (startcl < CLUST_FIRST))
402 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters)
478 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
708 } else if (dirent.head < CLUST_FIRST
717 else if (dirent.head < CLUST_FIRST
752 if (dirent.head >= CLUST_FIRST
[all...]
H A Dboot.c179 - CLUST_FIRST * boot->SecPerClust;
/netbsd-6-1-5-RELEASE/sys/fs/msdosfs/
H A Dfat.h58 #define CLUST_FIRST 2 /* first legal cluster number */ macro
73 * than 4078 ((CLUST_RSRVS - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h226 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c569 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
648 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
874 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
946 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) {
H A Dmsdosfs_vfsops.c687 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {

Completed in 116 milliseconds