Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/
H A Dfat.c169 findClusterEntryInFAT(int32_t currentCluster) in findClusterEntryInFAT() argument
173 idx = currentCluster * 4; in findClusterEntryInFAT()
175 idx = currentCluster * 2; in findClusterEntryInFAT()
177 idx = currentCluster + currentCluster/2; in findClusterEntryInFAT()
208 readFATEntry(int32_t currentCluster) in readFATEntry() argument
213 ep = findClusterEntryInFAT(currentCluster); in readFATEntry()
226 if (currentCluster & 1) { in readFATEntry()
247 writeFATEntry(int32_t currentCluster, int32_t value) in writeFATEntry() argument
252 ep = findClusterEntryInFAT(currentCluster); in writeFATEntry()
258 if (currentCluster & 1) { in writeFATEntry()
H A Ddir.c419 int32_t currentCluster, int depth, char *recordPath, int *pathLen) in catalogEntry() argument
424 storeInfoAboutEntry(fd, dp, longdp, depth, currentCluster, in catalogEntry()
490 visitNodes(int fd, int32_t currentCluster, ClusterContents *dirData, in visitNodes() argument
527 longStart = currentCluster; in visitNodes()
568 *lastDirCluster = currentCluster; in visitNodes()
576 if ((currentCluster == FAKE_ROOTDIR_CLUST) || in visitNodes()
577 (lastInFAT(currentCluster))) { in visitNodes()
578 *lastDirCluster = currentCluster; in visitNodes()
581 traverseDir(fd, nextInChain(currentCluster), in visitNodes()
H A Dfsck_pcfs.h179 extern int32_t readFATEntry(int32_t currentCluster);
181 extern int32_t nextInChain(int32_t currentCluster);
202 extern void writeFATEntry(int32_t currentCluster, int32_t value);
H A Dclusters.c1315 nextInChain(int32_t currentCluster) in nextInChain() argument
1320 if (currentCluster < FIRST_CLUSTER || currentCluster > LastCluster) in nextInChain()
1327 nextCluster = readFATEntry(currentCluster); in nextInChain()