Home | History | Annotate | Download | only in fat

Lines Matching defs:chain

26  * A directory that is stored in a cluster chain.
46 final ClusterChain chain;
48 protected ClusterChainDirectory(ClusterChain chain, boolean isRoot) {
50 super((int)(chain.getLengthOnDisk() / FatDirectoryEntry.SIZE),
51 chain.isReadOnly(), isRoot);
53 this.chain = chain;
57 ClusterChain chain) throws IOException {
60 new ClusterChainDirectory(chain, true);
70 "only FAT32 stores root directory in a cluster chain");
88 this.chain.readData(0, data);
94 chain.writeData(0, data);
95 final long trueSize = chain.getLengthOnDisk();
101 chain.writeData(toWrite, fill);
106 * Returns the first cluster of the chain that stores this directory for
114 return isRoot() ? 0 : chain.getStartCluster();
118 chain.setChainLength(0);
133 sizeChanged(chain.setSize(Math.max(size, chain.getClusterSize())));