Lines Matching refs:valid
26 unsigned long *valid; member
43 cache->valid = bitmap_zalloc(cache_size, map->alloc_flags); in regcache_flat_init()
44 if (!cache->valid) in regcache_flat_init()
61 bitmap_free(cache->valid); in regcache_flat_exit()
79 __set_bit(index, cache->valid); in regcache_flat_populate()
90 if (test_bit(index, cache->valid)) in regcache_flat_populate()
97 __set_bit(index, cache->valid); in regcache_flat_populate()
111 if (unlikely(!test_bit(index, cache->valid))) in regcache_flat_read()
126 if (unlikely(!test_bit(index, cache->valid))) in regcache_flat_sparse_read()
141 __set_bit(index, cache->valid); in regcache_flat_write()
153 bitmap_clear(cache->valid, bitmap_min, bitmap_max + 1 - bitmap_min); in regcache_flat_drop()