Home
last modified time | relevance | path

Searched refs:disk_cache (Results 1 – 11 of 11) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Ddisk_cache.h80 struct disk_cache;
164 struct disk_cache *
172 disk_cache_destroy(struct disk_cache *cache);
178 disk_cache_wait_for_idle(struct disk_cache *cache);
184 disk_cache_remove(struct disk_cache *cache, const cache_key key);
196 disk_cache_put(struct disk_cache *cache, const cache_key key,
212 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key,
230 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size);
242 disk_cache_put_key(struct disk_cache *cache, const cache_key key);
255 disk_cache_has_key(struct disk_cache *cache, const cache_key key);
[all …]
Ddisk_cache_os.h59 struct disk_cache { struct
106 struct disk_cache *foz_ro_cache; argument
117 struct disk_cache *cache;
136 disk_cache_evict_lru_item(struct disk_cache *cache);
139 disk_cache_evict_item(struct disk_cache *cache, char *filename);
142 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key,
146 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size);
149 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key);
162 disk_cache_load_cache_index_foz(void *mem_ctx, struct disk_cache *cache);
165 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache,
[all …]
Ddisk_cache.c74 disk_cache_init_queue(struct disk_cache *cache) in disk_cache_init_queue()
95 static struct disk_cache *
102 struct disk_cache *cache = NULL; in disk_cache_type_create()
114 cache = rzalloc(NULL, struct disk_cache); in disk_cache_type_create()
262 struct disk_cache *
267 struct disk_cache *cache; in disk_cache_create()
303 disk_cache_destroy(struct disk_cache *cache) in disk_cache_destroy()
331 disk_cache_wait_for_idle(struct disk_cache *cache) in disk_cache_wait_for_idle()
337 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove()
353 create_put_job(struct disk_cache *cache, const cache_key key, in create_put_job()
[all …]
Ddisk_cache_os.c396 make_cache_file_directory(struct disk_cache *cache, const cache_key key) in make_cache_file_directory()
441 disk_cache_evict_lru_item(struct disk_cache *cache) in disk_cache_evict_lru_item()
490 disk_cache_evict_item(struct disk_cache *cache, char *filename) in disk_cache_evict_item()
506 parse_and_validate_cache_item(struct disk_cache *cache, void *cache_item, in parse_and_validate_cache_item()
589 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size) in disk_cache_load_item()
637 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key) in disk_cache_get_cache_filename()
968 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key, in disk_cache_load_item_foz()
1000 disk_cache_load_cache_index_foz(void *mem_ctx, struct disk_cache *cache) in disk_cache_load_cache_index_foz()
1007 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache, in disk_cache_mmap_cache_index()
1077 disk_cache_destroy_mmap(struct disk_cache *cache) in disk_cache_destroy_mmap()
[all …]
DAndroid.bp95 "disk_cache.c",
Dmeson.build51 'disk_cache.c',
52 'disk_cache.h',
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_physical_device.h38 struct disk_cache;
87 struct disk_cache *disk_cache; member
Dvk_pipeline_cache.c359 struct disk_cache *disk_cache = cache->base.device->physical->disk_cache; in vk_pipeline_cache_lookup_object() local
360 if (!cache->skip_disk_cache && disk_cache && cache->object_cache) { in vk_pipeline_cache_lookup_object()
362 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key); in vk_pipeline_cache_lookup_object()
365 uint8_t *data = disk_cache_get(disk_cache, cache_key, &data_size); in vk_pipeline_cache_lookup_object()
428 struct disk_cache *disk_cache = cache->base.device->physical->disk_cache; in vk_pipeline_cache_add_object() local
429 if (!cache->skip_disk_cache && object->ops->serialize && disk_cache) { in vk_pipeline_cache_add_object()
435 disk_cache_compute_key(disk_cache, object->key_data, in vk_pipeline_cache_add_object()
438 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in vk_pipeline_cache_add_object()
454 struct disk_cache *disk_cache = cache->base.device->physical->disk_cache; in vk_pipeline_cache_create_and_insert_object() local
455 if (!cache->skip_disk_cache && disk_cache) { in vk_pipeline_cache_create_and_insert_object()
[all …]
Dvk_physical_device.c57 pdevice->disk_cache = NULL; in vk_physical_device_init()
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dcache_test.cpp97 does_cache_contain(struct disk_cache *cache, const cache_key key) in does_cache_contain()
112 cache_exists(struct disk_cache *cache) in cache_exists()
131 poll_disk_cache_get(struct disk_cache *cache, in poll_disk_cache_get()
154 struct disk_cache *cache; in test_disk_cache_create()
252 struct disk_cache *cache; in test_put_and_get()
430 struct disk_cache *cache; in test_put_key_and_get_key()
501 struct disk_cache *cache1 = disk_cache_create("test_between_instances", in test_put_and_get_between_instances()
503 struct disk_cache *cache2 = disk_cache_create("test_between_instances", in test_put_and_get_between_instances()
550 struct disk_cache *cache[2]; in test_put_and_get_between_instances_with_eviction()
831 struct disk_cache *cache_sf_wr = disk_cache_create("combined_test", in TEST_F()
[all …]
/hardware/google/gfxstream/guest/mesa/
Dmeson.build1450 # This is really only required for util/disk_cache.h