Searched refs:CLUSTER_FIRST (Results 1 – 12 of 12) sorted by relevance
40 #define CLUSTER_FIRST 0x00000002 macro61 return (cluster >= CLUSTER_FIRST) ? in _FAT_fat_clusterToSector()62 ((cluster - CLUSTER_FIRST) * (sec_t)partition->sectorsPerCluster) + partition->dataStart : in _FAT_fat_clusterToSector()67 …return (cluster >= CLUSTER_FIRST) && (cluster <= partition->fat.lastCluster /* This will catch CLU… in _FAT_fat_isValidCluster()
123 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_writeFatEntry()220 if ((curLink >= CLUSTER_FIRST) && (curLink <= lastCluster)) in _FAT_fat_linkFreeCluster()226 if (firstFree < CLUSTER_FIRST) in _FAT_fat_linkFreeCluster()227 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()244 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()254 if ((cluster >= CLUSTER_FIRST) && (cluster <= lastCluster)) in _FAT_fat_linkFreeCluster()304 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_clearLinks()387 for (curCluster = CLUSTER_FIRST; curCluster <= partition->fat.lastCluster; curCluster++) in _FAT_fat_freeClusterCount()
266 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor_buf()267 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor_buf()
522 …buf->f_blocks = partition->fat.lastCluster - CLUSTER_FIRST + 1; /* Total number of blocks on file … in _FAT_statvfs_r()527 …buf->f_files = partition->fat.lastCluster - CLUSTER_FIRST + 1; /* Total number of file serial numb… in _FAT_statvfs_r()
40 #define CLUSTER_FIRST 0x00000002 macro60 return (cluster >= CLUSTER_FIRST) ? in _FAT_fat_clusterToSector()61 ((cluster - CLUSTER_FIRST) * (sec_t)partition->sectorsPerCluster) + partition->dataStart : in _FAT_fat_clusterToSector()66 …return (cluster >= CLUSTER_FIRST) && (cluster <= partition->fat.lastCluster /* This will catch CLU… in _FAT_fat_isValidCluster()
125 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_writeFatEntry()219 if ((curLink >= CLUSTER_FIRST) && (curLink <= lastCluster)) { in _FAT_fat_linkFreeCluster()226 if (firstFree < CLUSTER_FIRST) { in _FAT_fat_linkFreeCluster()227 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()241 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()251 if ((cluster >= CLUSTER_FIRST) && (cluster <= lastCluster)) in _FAT_fat_linkFreeCluster()302 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_clearLinks()382 for (curCluster = CLUSTER_FIRST; curCluster <= partition->fat.lastCluster; curCluster++) { in _FAT_fat_freeClusterCount()
258 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor_buf()259 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor_buf()
477 …buf->f_blocks = partition->fat.lastCluster - CLUSTER_FIRST + 1; // Total number of blocks on file … in _FAT_statvfs_r()482 …buf->f_files = partition->fat.lastCluster - CLUSTER_FIRST + 1; // Total number of file serial numb… in _FAT_statvfs_r()
40 #define CLUSTER_FIRST 0x00000002 macro64 return (cluster >= CLUSTER_FIRST) ? in _FAT_fat_clusterToSector()65 ((cluster - CLUSTER_FIRST) * (sec_t)partition->sectorsPerCluster) + partition->dataStart : in _FAT_fat_clusterToSector()70 …return (cluster >= CLUSTER_FIRST) && (cluster <= partition->fat.lastCluster /* This will catch CLU… in _FAT_fat_isValidCluster()
128 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_writeFatEntry()222 if ((curLink >= CLUSTER_FIRST) && (curLink <= lastCluster)) { in _FAT_fat_linkFreeCluster()229 if (firstFree < CLUSTER_FIRST) { in _FAT_fat_linkFreeCluster()230 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()244 firstFree = CLUSTER_FIRST; in _FAT_fat_linkFreeCluster()251 if ((cluster >= CLUSTER_FIRST) && (cluster < lastCluster)) in _FAT_fat_linkFreeCluster()299 …if ((cluster < CLUSTER_FIRST) || (cluster > partition->fat.lastCluster /* This will catch CLUSTER_… in _FAT_fat_clearLinks()377 for (curCluster = CLUSTER_FIRST; curCluster <= partition->fat.lastCluster; curCluster++) { in _FAT_fat_freeClusterCount()
238 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor()239 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor()
59 #define CLUSTER_FIRST 0x0002 macro715 if (fatFirstFree < CLUSTER_FIRST) in FAT_FirstFreeCluster()716 fatFirstFree = CLUSTER_FIRST; in FAT_FirstFreeCluster()749 if ((curLink >= CLUSTER_FIRST) && (curLink < fatLastCluster)) in FAT_LinkFreeCluster()763 if ((cluster >= CLUSTER_FIRST) && (cluster < fatLastCluster)) in FAT_LinkFreeCluster()904 fatFirstFree = CLUSTER_FIRST; in FAT_InitFiles()