Lines Matching refs:logs
491 vhdx_log_flush(BlockDriverState *bs, BDRVVHDXState *s, VHDXLogSequence *logs) in vhdx_log_flush() argument
502 cnt = logs->count; in vhdx_log_flush()
514 ret = vhdx_log_peek_hdr(bs, &logs->log, &hdr_tmp); in vhdx_log_flush()
531 ret = vhdx_log_read_desc(bs, s, &logs->log, &desc_entries, true); in vhdx_log_flush()
539 ret = vhdx_log_read_sectors(bs, &logs->log, §ors_read, in vhdx_log_flush()
671 vhdx_log_search(BlockDriverState *bs, BDRVVHDXState *s, VHDXLogSequence *logs) in vhdx_log_search() argument
737 *logs = candidate; in vhdx_log_search()
759 VHDXLogSequence logs = { 0 }; in vhdx_parse_log() local
804 ret = vhdx_log_search(bs, s, &logs); in vhdx_parse_log()
809 if (logs.valid) { in vhdx_parse_log()
823 ret = vhdx_log_flush(bs, s, &logs); in vhdx_parse_log()
1049 VHDXLogSequence logs = { .valid = true, in vhdx_log_write_and_flush() local
1065 logs.log = s->log; in vhdx_log_write_and_flush()
1073 ret = vhdx_log_flush(bs, s, &logs); in vhdx_log_write_and_flush()
1078 s->log = logs.log; in vhdx_log_write_and_flush()