Lines Matching refs:secondToLast
796 emergencyEndOfDirectory(int fd, int32_t secondToLast)
801 if (readCluster(fd, secondToLast, &(dirdata.bytes), &dirdatasize,
805 secondToLast);
815 markClusterModified(secondToLast);
819 makeNewEndOfDirectory(struct pcdir *entry, int32_t secondToLast,
828 * scenario, the secondToLast argument is not a valid cluster
831 * the second scenario, the secondToLast cluster we received
835 if (secondToLast == 0) {
838 writeFATEntry(secondToLast, newCluster);
844 createNewEndOfDirectory(int fd, struct pcdir *entry, int32_t secondToLast)
850 if (((freeCluster = findAFreeCluster(secondToLast)) != 0)) {
859 makeNewEndOfDirectory(entry, secondToLast,
864 if (secondToLast == 0) {
882 emergencyEndOfDirectory(fd, secondToLast);