Home
last modified time | relevance | path

Searched refs:cache_entry_ptr (Results 1 – 3 of 3) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_utility_FAT_entry_read.c95 FX_FAT_CACHE_ENTRY *cache_entry_ptr; in _fx_utility_FAT_entry_read() local
130 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_read()
135 if ((cache_entry_ptr -> fx_fat_cache_entry_cluster) == cluster) in _fx_utility_FAT_entry_read()
139 *entry_ptr = cache_entry_ptr -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
146 else if (((cache_entry_ptr + 1) -> fx_fat_cache_entry_cluster) == cluster) in _fx_utility_FAT_entry_read()
150 *entry_ptr = (cache_entry_ptr + 1) -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
153 temp_cache_entry = *(cache_entry_ptr); in _fx_utility_FAT_entry_read()
154 *(cache_entry_ptr) = *(cache_entry_ptr + 1); in _fx_utility_FAT_entry_read()
155 *(cache_entry_ptr + 1) = temp_cache_entry; in _fx_utility_FAT_entry_read()
160 else if (((cache_entry_ptr + 2) -> fx_fat_cache_entry_cluster) == cluster) in _fx_utility_FAT_entry_read()
[all …]
Dfx_utility_FAT_entry_write.c83 FX_FAT_CACHE_ENTRY *cache_entry_ptr; in _fx_utility_FAT_entry_write() local
136 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_write()
143 if (((cache_entry_ptr + i) -> fx_fat_cache_entry_cluster) == cluster) in _fx_utility_FAT_entry_write()
148 (cache_entry_ptr + i) -> fx_fat_cache_entry_value = next_cluster; in _fx_utility_FAT_entry_write()
149 (cache_entry_ptr + i) -> fx_fat_cache_entry_dirty = 1; in _fx_utility_FAT_entry_write()
215 *(cache_entry_ptr + 3) = *(cache_entry_ptr + 2); in _fx_utility_FAT_entry_write()
216 *(cache_entry_ptr + 2) = *(cache_entry_ptr + 1); in _fx_utility_FAT_entry_write()
217 *(cache_entry_ptr + 1) = *(cache_entry_ptr); in _fx_utility_FAT_entry_write()
220 cache_entry_ptr -> fx_fat_cache_entry_dirty = 1; in _fx_utility_FAT_entry_write()
221 cache_entry_ptr -> fx_fat_cache_entry_cluster = cluster; in _fx_utility_FAT_entry_write()
[all …]
Dfx_media_open.c149 FX_CACHED_SECTOR *cache_entry_ptr; local
385 cache_entry_ptr = media_ptr -> fx_media_sector_cache;
390 cache_entry_ptr -> fx_cached_sector_memory_buffer = (UCHAR *)memory_ptr;
391 cache_entry_ptr -> fx_cached_sector = (~(ULONG64)0);
392 cache_entry_ptr -> fx_cached_sector_buffer_dirty = FX_FALSE;
393 cache_entry_ptr -> fx_cached_sector_valid = FX_FALSE;
394 cache_entry_ptr -> fx_cached_sector_next_used = cache_entry_ptr + 1;
397 cache_entry_ptr++;
404 cache_entry_ptr--;
405 cache_entry_ptr -> fx_cached_sector_next_used = FX_NULL;