Home
last modified time | relevance | path

Searched refs:CLUSTER_FIRST (Results 1 – 12 of 12) sorted by relevance

/dports/games/retroarch/RetroArch-1.9.7/deps/libfat/
H A Dfile_allocation_table.h40 #define CLUSTER_FIRST 0x00000002 macro
61 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()
H A Dfile_allocation_table.c123 …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()
H A Dpartition.c266 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor_buf()
267 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor_buf()
H A Dfatdir.c522 …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()
/dports/games/retroarch/RetroArch-1.9.7/wii/libogc/libfat/
H A Dfile_allocation_table.h40 #define CLUSTER_FIRST 0x00000002 macro
60 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()
H A Dfile_allocation_table.c125 …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()
H A Dpartition.c258 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor_buf()
259 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor_buf()
H A Dfatdir.c477 …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()
/dports/games/libretro-desmume2015/desmume2015-d6128e6/desmume/src/utils/libfat/
H A Dfile_allocation_table.h40 #define CLUSTER_FIRST 0x00000002 macro
64 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()
H A Dfile_allocation_table.c128 …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()
H A Dpartition.c238 partition->fat.lastCluster = clusterCount + CLUSTER_FIRST - 1; in _FAT_partition_constructor()
239 partition->fat.firstFree = CLUSTER_FIRST; in _FAT_partition_constructor()
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/ds/arm9/source/fat/
H A Dgba_nds_fat.c59 #define CLUSTER_FIRST 0x0002 macro
715 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()