Searched refs:dc_job (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/util/ |
D | disk_cache.c | 246 struct disk_cache_put_job *dc_job = (struct disk_cache_put_job *) in create_put_job() local 249 if (dc_job) { in create_put_job() 250 dc_job->cache = cache; in create_put_job() 251 memcpy(dc_job->key, key, sizeof(cache_key)); in create_put_job() 252 dc_job->data = dc_job + 1; in create_put_job() 253 memcpy(dc_job->data, data, size); in create_put_job() 254 dc_job->size = size; in create_put_job() 258 dc_job->cache_item_metadata.type = cache_item_metadata->type; in create_put_job() 260 dc_job->cache_item_metadata.num_keys = in create_put_job() 262 dc_job->cache_item_metadata.keys = (cache_key *) in create_put_job() [all …]
|
D | disk_cache_os.c | 656 disk_cache_write_item_to_disk(struct disk_cache_put_job *dc_job, in disk_cache_write_item_to_disk() argument 677 make_cache_file_directory(dc_job->cache, dc_job->key); in disk_cache_write_item_to_disk() 724 int ret = write_all(fd, dc_job->cache->driver_keys_blob, in disk_cache_write_item_to_disk() 725 dc_job->cache->driver_keys_blob_size); in disk_cache_write_item_to_disk() 735 ret = write_all(fd, &dc_job->cache_item_metadata.type, in disk_cache_write_item_to_disk() 742 if (dc_job->cache_item_metadata.type == CACHE_ITEM_TYPE_GLSL) { in disk_cache_write_item_to_disk() 743 ret = write_all(fd, &dc_job->cache_item_metadata.num_keys, in disk_cache_write_item_to_disk() 750 ret = write_all(fd, dc_job->cache_item_metadata.keys[0], in disk_cache_write_item_to_disk() 751 dc_job->cache_item_metadata.num_keys * in disk_cache_write_item_to_disk() 770 size_t file_size = deflate_and_write_to_disk(dc_job->data, dc_job->size, in disk_cache_write_item_to_disk() [all …]
|
D | disk_cache_os.h | 113 disk_cache_write_item_to_disk(struct disk_cache_put_job *dc_job,
|