Lines Matching refs:cluster_index
389 size_t cluster_index = block_index / mount->cluster_size;
393 search->index, cluster_index, cluster_offset);
395 if (!search->data || search->data_index != cluster_index) {
410 // determine cluster corresponding to cluster_index
411 for (size_t clsidx = cluster_index;
420 FAT_DEBUG_F("dir cluster %zu is cluster %"PRIu32, cluster_index, cluster);
441 search->data_index = cluster_index;
741 size_t cluster_index = cluster_for_offset(offset, mount);
744 cluster_index, cluster_offset);
759 // determine cluster corresponding to cluster_index
764 for (size_t clsidx = cluster_index; clsidx > 0; clsidx--) {
770 FAT_DEBUG_F("file cluster %zu is cluster %"PRIu32, cluster_index, cluster);