Searched refs:clst (Results 1 – 1 of 1) sorted by relevance
1134 DWORD clst /* Cluster# to be converted */ in clst2sect()1137 clst -= 2; /* Cluster number is origin from 2 */ in clst2sect()1138 if (clst >= fs->n_fatent - 2) return 0; /* Is it invalid cluster number? */ in clst2sect()1139 return fs->database + fs->csize * clst; /* Start sector number of the cluster */ in clst2sect()1151 DWORD clst /* Cluster number to get the value */ in get_fat() argument1159 if (clst < 2 || clst >= fs->n_fatent) { /* Check if in valid range */ in get_fat()1167 bc = (UINT)clst; bc += bc / 2; in get_fat()1172 val = (clst & 1) ? (wc >> 4) : (wc & 0xFFF); /* Adjust bit position */ in get_fat()1176 if (move_window(fs, fs->fatbase + (clst / (SS(fs) / 2))) != FR_OK) break; in get_fat()1177 val = ld_word(fs->win + clst * 2 % SS(fs)); /* Simple WORD array */ in get_fat()[all …]