Lines Matching refs:prealloc
220 PreallocMode prealloc; member
2284 PreallocMode prealloc = aiocb->truncate.prealloc; in handle_aiocb_truncate() local
2294 if (current_length > offset && prealloc != PREALLOC_MODE_OFF) { in handle_aiocb_truncate()
2299 switch (prealloc) { in handle_aiocb_truncate()
2394 PreallocMode_str(prealloc)); in handle_aiocb_truncate()
2635 PreallocMode prealloc, Error **errp) in raw_regular_truncate() argument
2645 .prealloc = prealloc, in raw_regular_truncate()
2654 bool exact, PreallocMode prealloc, in raw_co_truncate() argument
2669 return raw_regular_truncate(bs, s->fd, offset, prealloc, errp); in raw_co_truncate()
2672 if (prealloc != PREALLOC_MODE_OFF) { in raw_co_truncate()
2674 "non-regular file", PreallocMode_str(prealloc)); in raw_co_truncate()
3020 PreallocMode prealloc; in raw_co_create_opts() local
3037 prealloc = qapi_enum_parse(&PreallocMode_lookup, buf, in raw_co_create_opts()
3051 .preallocation = prealloc, in raw_co_create_opts()