Lines Matching refs:FatMap
111 (char *)(This->FatMap[slot].data+(bit<<This->sectorShift)), in fatReadSector()
121 (char *) (This->FatMap[slot].data + in fatReadSector()
145 (This->FatMap[slot].data + bit * This->sector_size), in fatWriteSector()
169 if(!This->FatMap[slot].data) { in loadSector()
171 This->FatMap[slot].data = in loadSector()
173 if(!This->FatMap[slot].data) in loadSector()
175 memset(This->FatMap[slot].data, 0xee, in loadSector()
179 if(! (This->FatMap[slot].valid & (ONE << bit))) { in loadSector()
185 This->FatMap[slot].valid); in loadSector()
192 if(This->FatMap[slot].valid) in loadSector()
205 This->FatMap[slot].valid |= ONE << (bit + i); in loadSector()
217 This->FatMap[slot].dirty |= ONE << bit; in loadSector()
220 return This->FatMap[slot].data + (bit << This->sectorShift); in loadSector()
426 if(!This->FatMap[slot].dirty) { in fat_write()
433 if(!(This->FatMap[slot].dirty & (ONE << bit))) in fat_write()
448 This->FatMap[slot].dirty &= ~(ONE<<bit); in fat_write()
525 Stream->FatMap = GetFatMap(Stream); in zero_fat()
526 if (Stream->FatMap == NULL) { in zero_fat()
632 This->FatMap = GetFatMap(This); in check_media_type()
633 if (This->FatMap == NULL) { in check_media_type()
984 if(This->FatMap) { in fs_free()
989 if(This->FatMap[i].data) in fs_free()
990 free(This->FatMap[i].data); in fs_free()
991 free(This->FatMap); in fs_free()