Lines Matching defs:cluster
244 perror(gettext("No memory for cached cluster info"));
251 perror(gettext("No memory for cached copy of cluster"));
309 * Get cluster bytes off the disk. We always read those bytes into
312 * read, even if it's short of a full cluster. This is for future use
330 perror(gettext("No memory for a cluster data buffer"));
411 gettext("Out of memory for cluster information"));
472 * Allocate entries in our sparse array of cluster information.
487 * at least one other cluster as we never return a value if we didn't
703 * systems, the root directory is in a file area cluster just
828 * scenario, the secondToLast argument is not a valid cluster
830 * cluster for the directory to this new start cluster. In
831 * the second scenario, the secondToLast cluster we received
887 * Given a directory entry and a cluster number, search through
888 * the cluster chain for the entry and make the cluster previous
889 * to the given cluster in the chain the last cluster in the file.
895 truncAtCluster(int fd, struct pcdir *entry, int32_t cluster)
903 while (follow != cluster && follow >= FIRST_CLUSTER &&
909 if (follow != cluster) {
911 * We didn't find the cluster they wanted to trunc at
920 gettext("Chain truncation at unit #%d\n"), cluster);
983 * Subtract out the bad cluster from the remaining size
984 * We always assume the cluster being deleted from the
986 * for the last cluster of the file, so that is why
1027 * split a cluster allocation chain into two cluster chains
1028 * around a given cluster (problemCluster). This results in two
1033 * starting cluster of the orphan chain to the caller (*orphanStart).
1059 * User has requested that an orphaned cluster chain be freed back
1085 * Rewrite the InUse field for a cluster chain. Can be used on a partial
1128 * User has requested that an orphaned cluster chain be brought back
1130 * in the root directory and point it at the cluster chain.
1145 * A cluster isn't really InUse() unless it is referenced,
1147 * to note that the cluster is NOT in use.
1155 * While marking clusters as bad, we can create orphan cluster
1184 * We'll go through the whole FAT and mark the first cluster
1246 * the last cluster in the loop to be last
1248 * back to the first cluster.
1259 * cluster somehow got assigned to multiple files and/or
1260 * because of a loop in the cluster chain. In either
1262 * cluster of contention. Then, we will want to run
1324 * Look up FAT entry of next link in cluster chain,
1338 * cluster entry, but when they only have a directory entry pointer
1339 * and not the cluster number. We have to go dig up what cluster
1462 * caller wants to read cluster clusterNum. We should return
1465 * we should allocate cache space to the cluster, otherwise we
1550 * on meta-data. We may break up some cluster chains