/third_party/mesa3d/src/util/ |
D | disk_cache.h | 79 struct disk_cache; 178 struct disk_cache * 186 disk_cache_destroy(struct disk_cache *cache); 192 disk_cache_wait_for_idle(struct disk_cache *cache); 198 disk_cache_remove(struct disk_cache *cache, const cache_key key); 210 disk_cache_put(struct disk_cache *cache, const cache_key key, 226 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, 244 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size); 256 disk_cache_put_key(struct disk_cache *cache, const cache_key key); 269 disk_cache_has_key(struct disk_cache *cache, const cache_key key); [all …]
|
D | disk_cache_os.h | 46 struct disk_cache { struct 83 struct disk_cache *cache; argument 101 disk_cache_evict_lru_item(struct disk_cache *cache); 104 disk_cache_evict_item(struct disk_cache *cache, char *filename); 107 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key, 111 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size); 114 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key); 127 disk_cache_load_cache_index(void *mem_ctx, struct disk_cache *cache); 130 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache, 134 disk_cache_destroy_mmap(struct disk_cache *cache);
|
D | disk_cache.c | 71 struct disk_cache * 76 struct disk_cache *cache = NULL; in disk_cache_create() 91 cache = rzalloc(NULL, struct disk_cache); in disk_cache_create() 239 disk_cache_destroy(struct disk_cache *cache) in disk_cache_destroy() 255 disk_cache_wait_for_idle(struct disk_cache *cache) in disk_cache_wait_for_idle() 261 disk_cache_remove(struct disk_cache *cache, const cache_key key) in disk_cache_remove() 272 create_put_job(struct disk_cache *cache, const cache_key key, in create_put_job() 370 disk_cache_put(struct disk_cache *cache, const cache_key key, in disk_cache_put() 393 disk_cache_put_nocopy(struct disk_cache *cache, const cache_key key, in disk_cache_put_nocopy() 419 disk_cache_get(struct disk_cache *cache, const cache_key key, size_t *size) in disk_cache_get() [all …]
|
D | disk_cache_os.c | 387 make_cache_file_directory(struct disk_cache *cache, const cache_key key) in make_cache_file_directory() 432 disk_cache_evict_lru_item(struct disk_cache *cache) in disk_cache_evict_lru_item() 481 disk_cache_evict_item(struct disk_cache *cache, char *filename) in disk_cache_evict_item() 497 parse_and_validate_cache_item(struct disk_cache *cache, void *cache_item, in parse_and_validate_cache_item() 570 disk_cache_load_item(struct disk_cache *cache, char *filename, size_t *size) in disk_cache_load_item() 618 disk_cache_get_cache_filename(struct disk_cache *cache, const cache_key key) in disk_cache_get_cache_filename() 929 disk_cache_load_item_foz(struct disk_cache *cache, const cache_key key, in disk_cache_load_item_foz() 961 disk_cache_load_cache_index(void *mem_ctx, struct disk_cache *cache) in disk_cache_load_cache_index() 968 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache, in disk_cache_mmap_cache_index() 1026 disk_cache_destroy_mmap(struct disk_cache *cache) in disk_cache_destroy_mmap()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_disk_cache.h | 29 struct disk_cache; 40 lima_vs_disk_cache_retrieve(struct disk_cache *cache, 44 lima_fs_disk_cache_retrieve(struct disk_cache *cache, 48 lima_vs_disk_cache_store(struct disk_cache *cache, 53 lima_fs_disk_cache_store(struct disk_cache *cache,
|
D | lima_disk_cache.c | 37 lima_vs_disk_cache_store(struct disk_cache *cache, in lima_vs_disk_cache_store() 65 lima_fs_disk_cache_store(struct disk_cache *cache, in lima_fs_disk_cache_store() 92 lima_vs_disk_cache_retrieve(struct disk_cache *cache, in lima_vs_disk_cache_retrieve() 144 lima_fs_disk_cache_retrieve(struct disk_cache *cache, in lima_fs_disk_cache_retrieve() 204 screen->disk_cache = disk_cache_create(screen->base.get_name(&screen->base), timestamp, 0); in lima_disk_cache_init()
|
D | lima_screen.h | 97 struct disk_cache *disk_cache; member
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_disk_cache.c | 50 compiler->disk_cache = disk_cache_create(renderer, timestamp, etna_mesa_debug); in etna_disk_cache_init() 56 if (!compiler->disk_cache) in etna_disk_cache_init_shader_key() 89 disk_cache_compute_key(compiler->disk_cache, blob.data, blob.size, cache_key); in compute_variant_key() 126 if (!compiler->disk_cache) in etna_disk_cache_retrieve() 141 void *buffer = disk_cache_get(compiler->disk_cache, cache_key, &size); in etna_disk_cache_retrieve() 162 if (!compiler->disk_cache) in etna_disk_cache_store() 181 disk_cache_put(compiler->disk_cache, cache_key, blob.data, blob.size, NULL); in etna_disk_cache_store()
|
D | etnaviv_compiler.h | 56 struct disk_cache *disk_cache; member
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_disk_cache.c | 68 compiler->disk_cache = disk_cache_create(renderer, timestamp, driver_flags); in ir3_disk_cache_init() 75 if (!compiler->disk_cache) in ir3_disk_cache_init_shader_key() 118 disk_cache_compute_key(shader->compiler->disk_cache, blob.data, blob.size, in compute_variant_key() 219 if (!shader->compiler->disk_cache) in ir3_disk_cache_retrieve() 233 void *buffer = disk_cache_get(shader->compiler->disk_cache, cache_key, &size); in ir3_disk_cache_retrieve() 258 if (!shader->compiler->disk_cache) in ir3_disk_cache_store() 279 disk_cache_put(shader->compiler->disk_cache, cache_key, blob.data, blob.size, NULL); in ir3_disk_cache_store()
|
D | ir3_compiler.h | 47 struct disk_cache *disk_cache; member
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
D | crocus_disk_cache.c | 48 crocus_disk_cache_compute_key(struct disk_cache *cache, in crocus_disk_cache_compute_key() 78 crocus_disk_cache_store(struct disk_cache *cache, in crocus_disk_cache_store() 139 struct disk_cache *cache = screen->disk_cache; in crocus_disk_cache_retrieve() 155 void *buffer = disk_cache_get(screen->disk_cache, cache_key, &size); in crocus_disk_cache_retrieve() 258 screen->disk_cache = disk_cache_create(renderer, timestamp, driver_flags); in crocus_disk_cache_init()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | nir_load_libclc.c | 301 struct disk_cache *disk_cache, in nir_load_libclc_shader() argument 314 if (disk_cache) { in nir_load_libclc_shader() 315 disk_cache_compute_key(disk_cache, clc.cache_key, in nir_load_libclc_shader() 319 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in nir_load_libclc_shader() 360 if (disk_cache) { in nir_load_libclc_shader() 364 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in nir_load_libclc_shader()
|
D | nir_spirv.h | 130 struct disk_cache *disk_cache,
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_disk_cache.c | 73 screen->disk_cache = disk_cache_create(renderer, timestamp, 0); in v3d_disk_cache_init() 79 v3d_disk_cache_compute_key(struct disk_cache *cache, in v3d_disk_cache_compute_key() 112 struct disk_cache *cache = screen->disk_cache; in v3d_disk_cache_retrieve() 196 struct disk_cache *cache = screen->disk_cache; in v3d_disk_cache_store()
|
D | v3d_screen.h | 90 struct disk_cache *disk_cache; member
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
D | iris_disk_cache.c | 48 iris_disk_cache_compute_key(struct disk_cache *cache, in iris_disk_cache_compute_key() 78 iris_disk_cache_store(struct disk_cache *cache, in iris_disk_cache_store() 153 struct disk_cache *cache = screen->disk_cache; in iris_disk_cache_retrieve() 169 void *buffer = disk_cache_get(screen->disk_cache, cache_key, &size); in iris_disk_cache_retrieve() 286 screen->disk_cache = disk_cache_create(renderer, timestamp, driver_flags); in iris_disk_cache_init()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_kernel.h | 29 struct disk_cache; 63 struct disk_cache *disk_cache,
|
D | brw_kernel.c | 33 load_clc_shader(struct brw_compiler *compiler, struct disk_cache *disk_cache, in load_clc_shader() argument 40 nir_shader *nir = nir_load_libclc_shader(64, disk_cache, in load_clc_shader() 254 struct disk_cache *disk_cache, in brw_kernel_from_spirv() argument 300 spirv_options.clc_shader = load_clc_shader(compiler, disk_cache, in brw_kernel_from_spirv()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_physical_device.h | 34 struct disk_cache; 63 struct disk_cache *disk_cache; member
|
D | vk_pipeline_cache.c | 339 struct disk_cache *disk_cache = cache->base.device->physical->disk_cache; in vk_pipeline_cache_lookup_object() local 340 if (disk_cache != NULL && cache->object_cache != NULL) { in vk_pipeline_cache_lookup_object() 342 disk_cache_compute_key(disk_cache, key_data, key_size, cache_key); in vk_pipeline_cache_lookup_object() 345 uint8_t *data = disk_cache_get(disk_cache, cache_key, &data_size); in vk_pipeline_cache_lookup_object() 424 struct disk_cache *disk_cache = cache->base.device->physical->disk_cache; in vk_pipeline_cache_add_object() local 425 if (object->ops->serialize != NULL && disk_cache) { in vk_pipeline_cache_add_object() 431 disk_cache_compute_key(disk_cache, object->key_data, in vk_pipeline_cache_add_object() 434 disk_cache_put(disk_cache, cache_key, blob.data, blob.size, NULL); in vk_pipeline_cache_add_object()
|
/third_party/mesa3d/src/util/tests/ |
D | cache_test.cpp | 96 does_cache_contain(struct disk_cache *cache, const cache_key key) in does_cache_contain() 111 cache_exists(struct disk_cache *cache) in cache_exists() 133 struct disk_cache *cache; in test_disk_cache_create() 229 struct disk_cache *cache; in test_put_and_get() 407 struct disk_cache *cache; in test_put_key_and_get_key() 478 struct disk_cache *cache1 = disk_cache_create("test_between_instances", in test_put_and_get_between_instances() 480 struct disk_cache *cache2 = disk_cache_create("test_between_instances", in test_put_and_get_between_instances()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 302 struct disk_cache *disk_cache = device->pdevice->disk_cache; in v3dv_pipeline_cache_search_for_pipeline() local 308 if (disk_cache && device->instance->pipeline_cache_enabled) { in v3dv_pipeline_cache_search_for_pipeline() 310 disk_cache_compute_key(disk_cache, sha1_key, 20, cache_key); in v3dv_pipeline_cache_search_for_pipeline() 313 uint8_t *buffer = disk_cache_get(disk_cache, cache_key, &buffer_size); in v3dv_pipeline_cache_search_for_pipeline() 475 struct disk_cache *disk_cache = device->pdevice->disk_cache; in pipeline_cache_upload_shared_data() local 476 if (disk_cache) { in pipeline_cache_upload_shared_data() 481 disk_cache_compute_key(disk_cache, shared_data->sha1_key, 20, cache_key); in pipeline_cache_upload_shared_data() 488 disk_cache_put(disk_cache, cache_key, binary.data, binary.size, NULL); in pipeline_cache_upload_shared_data()
|
/third_party/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_screen.h | 69 struct disk_cache *disk_cache; member
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | device.hpp | 36 struct disk_cache; 120 disk_cache *clc_cache;
|