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

/openbsd-current/sbin/fsck_msdos/
H A Dfat.c57 if (*next < CLUST_FIRST
150 for (cl = CLUST_FIRST; cl < boot->NumClusters;) {
281 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++)
292 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) {
313 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters;
337 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
346 p >= CLUST_FIRST && p < boot->NumClusters &&
362 for (head = CLUST_FIRST; head < boot->NumClusters; head++) {
369 (n = fat[p].next) >= CLUST_FIRST && n < boot->NumClusters;
384 if (n < CLUST_FIRST ||
[all...]
H A Ddosfs.h91 #define CLUST_FIRST 2 /* 2 is the minimum valid cluster number */ macro
H A Ddir.c227 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) {
290 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) {
367 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters)
427 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
681 } else if (dirent.head < CLUST_FIRST
690 else if (dirent.head < CLUST_FIRST
725 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters)
832 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters);
932 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) {
H A Dboot.c243 - CLUST_FIRST * boot->SecPerClust;
/openbsd-current/usr.sbin/makefs/msdos/
H A Dfat.h59 #define CLUST_FIRST 2 /* first legal cluster number */ macro
74 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h199 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c241 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) {
243 cn, (u_long)CLUST_FIRST, pmp->pm_maxcluster));
560 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
636 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
858 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
929 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) {
H A Dmsdosfs_vfsops.c213 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {
/openbsd-current/sys/msdosfs/
H A Dfat.h57 #define CLUST_FIRST 2 /* first legal cluster number */ macro
72 * than 4084 ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK) then we've got a
H A Dmsdosfsmount.h179 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
H A Dmsdosfs_fat.c504 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster)
585 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster)
820 while (cluster >= CLUST_FIRST && cluster <= pmp->pm_maxcluster) {
892 for (cn = CLUST_FIRST; cn <= pmp->pm_maxcluster; cn++) {
H A Dmsdosfs_vfsops.c378 <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) {

Completed in 289 milliseconds