Home
last modified time | relevance | path

Searched refs:NumClusters (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/sbin/fsck_msdos/
H A Dfat.c58 || (*next >= boot->NumClusters && *next < CLUST_EOFS)) { in checkclnum()
85 fat = calloc(boot->NumClusters, sizeof(struct fatEntry)); in readfat()
150 for (cl = CLUST_FIRST; cl < boot->NumClusters;) { in readfat()
170 if (cl >= boot->NumClusters) in readfat()
281 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) in comparefat()
292 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; p = q) { in clearchain()
313 for (p = head; p >= CLUST_FIRST && p < boot->NumClusters; in tryclear()
337 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()
346 p >= CLUST_FIRST && p < boot->NumClusters && in checkfat()
362 for (head = CLUST_FIRST; head < boot->NumClusters; head++) { in checkfat()
[all …]
H A Dboot.c256 boot->NumClusters = (boot->NumSectors - boot->ClusterOffset) / boot->SecPerClust; in readboot()
260 else if (boot->NumClusters < (CLUST_RSRVD&CLUST12_MASK)) in readboot()
262 else if (boot->NumClusters < (CLUST_RSRVD&CLUST16_MASK)) in readboot()
266 boot->NumClusters); in readboot()
282 if (boot->NumFatEntries < boot->NumClusters) { in readboot()
284 boot->NumClusters, boot->FATsecs); in readboot()
H A Ddir.c227 if (boot->RootCl < CLUST_FIRST || boot->RootCl >= boot->NumClusters) { in resetDosDirSection()
290 while (startcl >= CLUST_FIRST && startcl < boot->NumClusters) { in delete()
367 if (dir->head < CLUST_FIRST || dir->head >= boot->NumClusters) in checksize()
427 if (dir->parent && (cl < CLUST_FIRST || cl >= boot->NumClusters)) { in readDosDirSection()
682 || dirent.head >= boot->NumClusters in readDosDirSection()
691 || dirent.head >= boot->NumClusters) in readDosDirSection()
725 if (dirent.head >= CLUST_FIRST && dirent.head < boot->NumClusters) in readDosDirSection()
832 } while ((cl = fat[cl].next) >= CLUST_FIRST && cl < boot->NumClusters); in readDosDirSection()
932 if (lfcl < CLUST_FIRST || lfcl >= boot->NumClusters) { in reconnect()
H A Ddosfs.h70 cl_t NumClusters; /* # of entries in a FAT */ member
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DClustering.cpp196 size_t NumClusters = 0; in clusterizeNaive() local
207 ++NumClusters; // this opcode's sched class, then new cluster begins. in clusterizeNaive()
210 assert(NumClusters <= NumOpcodes && in clusterizeNaive()
212 assert(NumClusters <= Points_.size() && in clusterizeNaive()
215 Clusters_.reserve(NumClusters); // We already know how many clusters there is. in clusterizeNaive()
238 assert(Clusters_.size() == NumClusters); in clusterizeNaive()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSwitchLoweringUtils.cpp176 unsigned NumClusters = Last - First + 1; in findJumpTables() local
179 if (NumClusters >= MinJumpTableEntries && in findJumpTables()
355 size_t NumClusters = Last - First + 1; in findBitTestClusters() local
357 sizeof(Clusters[0]) * NumClusters); in findBitTestClusters()
358 DstIndex += NumClusters; in findBitTestClusters()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp11514 unsigned NumClusters = W.LastCluster - W.FirstCluster + 1; in visitSwitch() local
11516 if (NumClusters > 3 && TM.getOptLevel() != CodeGenOpt::None && in visitSwitch()