Lines Matching refs:bs
42 qcow2_co_process(BlockDriverState *bs, ThreadPoolFunc *func, void *arg) in qcow2_co_process() argument
45 BDRVQcow2State *s = bs->opaque; in qcow2_co_process()
339 qcow2_co_do_compress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_do_compress() argument
350 qcow2_co_process(bs, qcow2_compress_pool_func, &arg); in qcow2_co_do_compress()
368 qcow2_co_compress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_compress() argument
371 BDRVQcow2State *s = bs->opaque; in qcow2_co_compress()
388 return qcow2_co_do_compress(bs, dest, dest_size, src, src_size, fn); in qcow2_co_compress()
405 qcow2_co_decompress(BlockDriverState *bs, void *dest, size_t dest_size, in qcow2_co_decompress() argument
408 BDRVQcow2State *s = bs->opaque; in qcow2_co_decompress()
425 return qcow2_co_do_compress(bs, dest, dest_size, src, src_size, fn); in qcow2_co_decompress()
457 qcow2_co_encdec(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encdec() argument
461 BDRVQcow2State *s = bs->opaque; in qcow2_co_encdec()
478 return len == 0 ? 0 : qcow2_co_process(bs, qcow2_encdec_pool_func, &arg); in qcow2_co_encdec()
508 qcow2_co_encrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_encrypt() argument
511 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_encrypt()
522 qcow2_co_decrypt(BlockDriverState *bs, uint64_t host_offset, in qcow2_co_decrypt() argument
525 return qcow2_co_encdec(bs, host_offset, guest_offset, buf, len, in qcow2_co_decrypt()