Searched refs:foz_db (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/util/
H A Dfossilize_db.h75 struct foz_db { struct
86 foz_prepare(struct foz_db *foz_db, char *cache_path);
89 foz_destroy(struct foz_db *foz_db);
92 foz_read_entry(struct foz_db *foz_db, const uint8_t *cache_key_160bit,
96 foz_write_entry(struct foz_db *foz_db, const uint8_t *cache_key_160bit,
H A Dfossilize_db.c111 update_foz_index(struct foz_db *foz_db, FILE *db_idx, unsigned file_idx) argument
159 struct foz_db_entry *entry = ralloc(foz_db->mem_ctx,
173 _mesa_hash_table_u64_insert(foz_db->index_db, key, entry);
199 load_foz_dbs(struct foz_db *foz_db, FILE *db_idx, uint8_t file_idx, argument
211 int err = lock_file_with_timeout(foz_db->file[file_idx], 100000000);
238 sizeof(stream_reference_magic_and_version), foz_db->file[file_idx]) !=
247 fflush(foz_db->file[file_idx]);
251 flock(fileno(foz_db
269 foz_prepare(struct foz_db * foz_db,char * cache_path) argument
344 foz_destroy(struct foz_db * foz_db) argument
365 foz_read_entry(struct foz_db * foz_db,const uint8_t * cache_key_160bit,size_t * size) argument
435 foz_write_entry(struct foz_db * foz_db,const uint8_t * cache_key_160bit,const void * blob,size_t blob_size) argument
540 foz_prepare(struct foz_db * foz_db,char * filename) argument
549 foz_destroy(struct foz_db * foz_db) argument
554 foz_read_entry(struct foz_db * foz_db,const uint8_t * cache_key_160bit,size_t * size) argument
561 foz_write_entry(struct foz_db * foz_db,const uint8_t * cache_key_160bit,const void * blob,size_t size) argument
[all...]
H A Ddisk_cache_os.h54 struct foz_db foz_db; member in struct:disk_cache
H A Ddisk_cache_os.c876 void *cache_item = foz_read_entry(&cache->foz_db, key, &cache_tem_size);
896 bool r = foz_write_entry(&dc_job->cache->foz_db, dc_job->key,
907 return foz_prepare(&cache->foz_db, cache->path);
H A Ddisk_cache.c238 foz_destroy(&cache->foz_db);

Completed in 6 milliseconds