Home | History | Annotate | Download | only in fsck_msdos

Lines Matching refs:cl

227 	cl_t cl;
246 cl = fat[boot->RootCl].next;
247 if (cl < CLUST_FIRST
248 || (cl >= CLUST_RSRVD && cl< CLUST_EOFS)
250 if (cl == CLUST_FREE)
252 else if (cl >= CLUST_RSRVD)
254 rsrvdcltype(cl));
421 cl_t cl;
424 for (cl = dir->head; (sz += boot->ClusterSize) < dir->size;)
425 cl = fat[cl].next;
426 clearchain(boot, fat, fat[cl].next);
427 fat[cl].next = CLUST_EOF;
448 cl_t cl;
453 cl = dir->head;
455 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
465 off = cl * boot->SecPerClust + boot->ClusterOffset;
505 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters);
532 cl_t cl, valcl = ~0, invcl = ~0, empcl = ~0;
541 cl = dir->head;
542 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) {
559 off = cl * boot->SecPerClust + boot->ClusterOffset;
583 empcl = cl;
598 cl, p - buffer, 1) == FSFATAL)
600 q = empcl == cl ? empty : buffer;
627 valcl = cl;
636 invcl = cl;
680 invcl = cl;
755 invcl, vallfn ? valcl : cl, cl,
760 ? (valcl == cl && vallfn != buffer)
968 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters);