Searched refs:cache_entry (Results 1 – 6 of 6) sorted by relevance
87 FX_CACHED_SECTOR *cache_entry; in _fx_utility_logical_sector_cache_entry_read() local110 cache_entry = &(media_ptr -> fx_media_sector_cache[index]); in _fx_utility_logical_sector_cache_entry_read()114 …if ((cache_entry -> fx_cached_sector_valid) && (cache_entry -> fx_cached_sector == logical_sector)) in _fx_utility_logical_sector_cache_entry_read()119 media_ptr -> fx_media_memory_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()129 …else if (((cache_entry + 1) -> fx_cached_sector_valid) && ((cache_entry + 1) -> fx_cached_sector =… in _fx_utility_logical_sector_cache_entry_read()134 … media_ptr -> fx_media_memory_buffer = (cache_entry + 1) -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()144 …temp_storage.fx_cached_sector_memory_buffer = (cache_entry) -> fx_cached_sector_memory_b… in _fx_utility_logical_sector_cache_entry_read()145 … temp_storage.fx_cached_sector = (cache_entry) -> fx_cached_sector; in _fx_utility_logical_sector_cache_entry_read()146 …temp_storage.fx_cached_sector_buffer_dirty = (cache_entry) -> fx_cached_sector_buffer_d… in _fx_utility_logical_sector_cache_entry_read()147 … temp_storage.fx_cached_sector_valid = (cache_entry) -> fx_cached_sector_valid; in _fx_utility_logical_sector_cache_entry_read()[all …]
87 FX_CACHED_SECTOR *cache_entry; in _fx_utility_logical_sector_flush() local118 cache_entry = media_ptr -> fx_media_sector_cache_list_ptr; in _fx_utility_logical_sector_flush()121 while ((cache_size--) && (cache_entry -> fx_cached_sector)) in _fx_utility_logical_sector_flush()142 if ((cache_entry -> fx_cached_sector_valid) && in _fx_utility_logical_sector_flush()143 (cache_entry -> fx_cached_sector >= starting_sector) && in _fx_utility_logical_sector_flush()144 (cache_entry -> fx_cached_sector <= ending_sector)) in _fx_utility_logical_sector_flush()149 if (cache_entry -> fx_cached_sector_buffer_dirty) in _fx_utility_logical_sector_flush()167 … media_ptr -> fx_media_driver_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_flush()169 … media_ptr -> fx_media_driver_logical_sector = cache_entry -> fx_cached_sector; in _fx_utility_logical_sector_flush()171 … media_ptr -> fx_media_driver_logical_sector = (ULONG)cache_entry -> fx_cached_sector; in _fx_utility_logical_sector_flush()[all …]
108 FX_CACHED_SECTOR *cache_entry; in _fx_utility_logical_sector_read() local144 …cache_entry = _fx_utility_logical_sector_cache_entry_read(media_ptr, logical_sector, &previous_cac… in _fx_utility_logical_sector_read()147 if (cache_entry == FX_NULL) in _fx_utility_logical_sector_read()174 if ((cache_entry -> fx_cached_sector_valid) && in _fx_utility_logical_sector_read()175 (cache_entry -> fx_cached_sector_buffer_dirty)) in _fx_utility_logical_sector_read()190 … media_ptr -> fx_media_driver_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_read()192 media_ptr -> fx_media_driver_logical_sector = cache_entry -> fx_cached_sector; in _fx_utility_logical_sector_read()194 media_ptr -> fx_media_driver_logical_sector = (ULONG)cache_entry -> fx_cached_sector; in _fx_utility_logical_sector_read()197 media_ptr -> fx_media_driver_sector_type = cache_entry -> fx_cached_sector_type; in _fx_utility_logical_sector_read()200 if (cache_entry -> fx_cached_sector_type != FX_DATA_SECTOR) in _fx_utility_logical_sector_read()[all …]
100 FX_CACHED_SECTOR *cache_entry; in _fx_utility_logical_sector_write() local140 cache_entry = &(media_ptr -> fx_media_sector_cache[index]); in _fx_utility_logical_sector_write()142 for (i = 0; i < FX_SECTOR_CACHE_DEPTH; i++, cache_entry++) in _fx_utility_logical_sector_write()148 …if ((cache_entry -> fx_cached_sector_valid) && (cache_entry -> fx_cached_sector == logical_sector)) in _fx_utility_logical_sector_write()160 cache_entry = media_ptr -> fx_media_sector_cache_list_ptr; in _fx_utility_logical_sector_write()168 …if ((cache_entry -> fx_cached_sector_valid) && (cache_entry -> fx_cached_sector == logical_sector)) in _fx_utility_logical_sector_write()177 if (cache_entry -> fx_cached_sector_next_used) in _fx_utility_logical_sector_write()181 cache_entry = cache_entry -> fx_cached_sector_next_used; in _fx_utility_logical_sector_write()190 !(cache_found && (cache_entry -> fx_cached_sector_memory_buffer == buffer_ptr))) in _fx_utility_logical_sector_write()200 cache_entry -> fx_cached_sector_valid = FX_FALSE; in _fx_utility_logical_sector_write()[all …]
317 FX_CACHED_SECTOR cache_entry; in ftest_0_entry() local324 ram_disk.fx_media_sector_cache_list_ptr = &cache_entry; in ftest_0_entry()326 cache_entry.fx_cached_sector_memory_buffer = NULL; in ftest_0_entry()327 cache_entry.fx_cached_sector_next_used = NULL; in ftest_0_entry()
247 … cache_entry = FX_NULL; \