Searched refs:cache_item (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/mesa/program/ |
D | prog_cache.c | 38 struct cache_item struct 44 struct cache_item *next; argument 49 struct cache_item **items; 50 struct cache_item *last; 86 struct cache_item **items; in rehash() 87 struct cache_item *c, *next; in rehash() 113 struct cache_item *c, *next; in clear_cache() 147 calloc(cache->size, sizeof(struct cache_item *)); in _mesa_new_program_cache() 186 struct cache_item *c; in _mesa_search_program_cache() 210 struct cache_item *c = CALLOC_STRUCT(cache_item); in _mesa_program_cache_insert() [all …]
|
/third_party/mesa3d/src/util/ |
D | disk_cache_os.c | 497 parse_and_validate_cache_item(struct disk_cache *cache, void *cache_item, in parse_and_validate_cache_item() argument 503 blob_reader_init(&ci_blob_reader, cache_item, cache_item_size); in parse_and_validate_cache_item() 933 void *cache_item = foz_read_entry(&cache->foz_db, key, &cache_tem_size); in disk_cache_load_item_foz() local 934 if (!cache_item) in disk_cache_load_item_foz() 938 parse_and_validate_cache_item(cache, cache_item, cache_tem_size, size); in disk_cache_load_item_foz() 939 free(cache_item); in disk_cache_load_item_foz()
|