Lines Matching refs:tdqcow_state
79 struct tdqcow_state *state;
82 static int decompress_cluster(struct tdqcow_state *s, uint64_t cluster_offset);
95 static void free_aio_state(struct tdqcow_state* s) in free_aio_state()
105 struct tdqcow_state *s = (struct tdqcow_state *)driver->data; in init_aio_state()
166 static int qcow_set_key(struct tdqcow_state *s, const char *key) in qcow_set_key()
210 struct tdqcow_state *s = aio->state; in tdqcow_complete()
222 struct tdqcow_state *prv; in async_read()
224 prv = (struct tdqcow_state *)driver->data; in async_read()
250 struct tdqcow_state *prv; in async_write()
252 prv = (struct tdqcow_state *)driver->data; in async_write()
278 static void encrypt_sectors(struct tdqcow_state *s, int64_t sector_num, in encrypt_sectors()
380 static uint64_t get_cluster_offset(struct tdqcow_state *s, in get_cluster_offset()
617 static int qcow_is_allocated(struct tdqcow_state *s, int64_t sector_num, in qcow_is_allocated()
659 static int decompress_cluster(struct tdqcow_state *s, uint64_t cluster_offset) in decompress_cluster()
733 tdqcow_load_l1_table(struct tdqcow_state *s, QCowHeader *header) in tdqcow_load_l1_table()
872 struct tdqcow_state *s = (struct tdqcow_state *)driver->data; in tdqcow_open()
986 struct tdqcow_state *s = (struct tdqcow_state *)driver->data; in tdqcow_queue_read()
1055 struct tdqcow_state *s = (struct tdqcow_state *)driver->data; in tdqcow_queue_write()
1114 tdqcow_update_checksum(struct tdqcow_state *s) in tdqcow_update_checksum()
1164 struct tdqcow_state *s = (struct tdqcow_state *)driver->data; in tdqcow_close()
1322 static int qcow_make_empty(struct tdqcow_state *s) in qcow_make_empty()
1342 static int qcow_get_cluster_size(struct tdqcow_state *s) in qcow_get_cluster_size()
1349 static int qcow_compress_cluster(struct tdqcow_state *s, int64_t sector_num, in qcow_compress_cluster()
1434 struct tdqcow_state *child = (struct tdqcow_state *)driver->data; in tdqcow_get_parent_id()
1471 struct tdqcow_state *c = (struct tdqcow_state *)driver->data; in tdqcow_validate_parent()
1472 struct tdqcow_state *p = (struct tdqcow_state *)pdriver->data; in tdqcow_validate_parent()
1493 .private_data_size = sizeof(struct tdqcow_state),