Searched refs:key_tail (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/md/dm-pcache/ |
| H A D | cache_gc.c | 21 …struct pcache_cache *cache, struct pcache_cache_pos *dirty_tail, struct pcache_cache_pos *key_tail) in need_gc() argument 30 key_addr = cache_pos_addr(key_tail); in need_gc() 40 to_copy = min(PCACHE_KSET_ONMEDIA_SIZE_MAX, PCACHE_SEG_SIZE - key_tail->seg_off); in need_gc() 50 key_tail->cache_seg->cache_seg_id, key_tail->seg_off, in need_gc() 82 cur_seg = cache->key_tail.cache_seg; in last_kset_gc() 87 cache->key_tail.cache_seg = next_seg; in last_kset_gc() 88 cache->key_tail.seg_off = 0; in last_kset_gc() 103 struct pcache_cache_pos dirty_tail, key_tail; in pcache_cache_gc_fn() local 122 cache_pos_copy(&key_tail, &cache->key_tail); in pcache_cache_gc_fn() 125 if (!need_gc(cache, &dirty_tail, &key_tail)) in pcache_cache_gc_fn() [all …]
|
| H A D | cache.h | 162 struct pcache_cache_pos key_tail; member 608 &cache->key_tail, ++cache->key_tail_seq, in cache_encode_key_tail() 615 &cache->key_tail, &cache->key_tail_seq, in cache_decode_key_tail()
|
| H A D | dm_pcache.c | 415 cache->key_tail.cache_seg->cache_seg_id, in dm_pcache_status() 416 cache->key_tail.seg_off); in dm_pcache_status()
|
| H A D | cache.c | 203 cache_pos_copy(&cache->key_tail, &cache->key_head); in cache_tail_init()
|
| H A D | cache_key.c | 764 cache_pos_copy(&pos_tail, &cache->key_tail); in cache_replay()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-pcache.rst | 98 ``key_tail`` First key-set that may be reclaimed by GC. 132 * The pair *(key_tail, dirty_tail)* delimit clean/dirty and live/dead ksets. 145 from *key_tail*, frees segments whose every key has been invalidated, and 146 advances *key_tail*. 163 * *System crash* – on attach, the driver replays ksets from *key_tail* to
|