Lines Matching refs:prealloc
3282 m->prealloc = true; in preallocate_co()
4299 PreallocMode prealloc, BdrvRequestFlags flags, Error **errp) in qcow2_co_truncate() argument
4308 if (prealloc != PREALLOC_MODE_OFF && prealloc != PREALLOC_MODE_METADATA && in qcow2_co_truncate()
4309 prealloc != PREALLOC_MODE_FALLOC && prealloc != PREALLOC_MODE_FULL) in qcow2_co_truncate()
4312 PreallocMode_str(prealloc)); in qcow2_co_truncate()
4345 if (prealloc != PREALLOC_MODE_OFF) { in qcow2_co_truncate()
4413 if (data_file_is_raw(bs) && prealloc == PREALLOC_MODE_OFF) { in qcow2_co_truncate()
4422 prealloc = PREALLOC_MODE_METADATA; in qcow2_co_truncate()
4426 switch (prealloc) { in qcow2_co_truncate()
4434 ret = bdrv_co_truncate(s->data_file, offset, exact, prealloc, 0, in qcow2_co_truncate()
4443 ret = preallocate_co(bs, old_length, offset, prealloc, errp); in qcow2_co_truncate()
4461 ret = preallocate_co(bs, old_length, offset, prealloc, errp); in qcow2_co_truncate()
4534 ret = bdrv_co_truncate(bs->file, new_file_size, false, prealloc, in qcow2_co_truncate()
4545 ret = bdrv_co_truncate(bs->file, new_file_size, false, prealloc, 0, in qcow2_co_truncate()
4578 .prealloc = !subclusters_need_allocation, in qcow2_co_truncate()
4638 if (prealloc != PREALLOC_MODE_OFF) { in qcow2_co_truncate()
5084 PreallocMode prealloc; in qcow2_measure() local
5110 prealloc = qapi_enum_parse(&PreallocMode_lookup, optstr, in qcow2_measure()
5210 if (prealloc == PREALLOC_MODE_FULL || prealloc == PREALLOC_MODE_FALLOC) { in qcow2_measure()