Lines Matching refs:sector
33 * Definitions of a sector tag store.
62 "# of blocks per sector must be non-zero and a power of 2");
68 // Create blocks and sector blocks
77 // Locate next cache sector
80 // Associate a replacement data entry to the sector
83 // Initialize all blocks in this sector
95 // Associate sector block to this block
98 // Associate the sector replacement data to this block
101 // Set its index and sector offset
118 // Get block's sector
122 // When a block in a sector is invalidated, it does not make the tag
123 // invalid automatically, as there might be other blocks in the sector
125 // in the sector.
130 // Invalidate replacement data, as we're invalidating the sector
157 // Get block's sector
162 // the whole sector it belongs to
175 // Get block's sector
180 // sector was not previously present in the cache.
199 // Extract sector tag
202 // The address can only be mapped to a specific location of a sector
206 // Find all possible sector entries that may contain the given address
211 for (const auto& sector : entries) {
212 auto blk = static_cast<SectorBlk*>(sector)->blks[offset];
231 // Check if the sector this address belongs to has been allocated
234 for (const auto& sector : sector_entries) {
235 SectorBlk* sector_blk = static_cast<SectorBlk*>(sector);
243 // If the sector is not present
250 // Get the entry of the victim block within the sector
254 // the currently existing sector is valid.
261 // The whole sector must be evicted to make room for the new sector