crosvm/cros_async/src
Noah Gold 9da4030ab0 cros_async: use portable enum for fallocate modes
fallocate modes were previously unix specific constants, which won't work after
we add support for Winodws. Here, we've put a generic abstraction in place so
that each platform can implement the details as appropriate.

Thanks to acourbot@ for suggesting the splits in this series.

BUG=b:213147081
TEST=see final CL in series.

Change-Id: I822ad6c4a26eea716482029e8a6c0489aa72c595
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3583613
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Noah Gold <nkgold@google.com>
2022-04-19 05:37:42 +00:00
..
blocking cros_async: Depend on base, not sys_util 2022-03-21 19:52:56 +00:00
sync Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
unix base: upstream Tube cross platform support. 2022-03-22 19:00:54 +00:00
win base: upstream Tube cross platform support. 2022-03-22 19:00:54 +00:00
async_types.rs base: upstream Tube cross platform support. 2022-03-22 19:00:54 +00:00
audio_streams_async.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
blocking.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
complete.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
event.rs cros_async: make AsyncEvent use base::Event 2022-04-19 05:37:40 +00:00
executor.rs cros_async: Depend on base, not sys_util 2022-03-21 19:52:56 +00:00
fd_executor.rs cros_async: Depend on base, not sys_util 2022-03-21 19:52:56 +00:00
io_ext.rs cros_async: use portable enum for fallocate modes 2022-04-19 05:37:42 +00:00
lib.rs cros_async: use portable enum for fallocate modes 2022-04-19 05:37:42 +00:00
mem.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
poll_source.rs cros_async: use portable enum for fallocate modes 2022-04-19 05:37:42 +00:00
queue.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
select.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
sync.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00
timer.rs cros_async: make AsyncTimer use base::Timer 2022-04-19 05:37:41 +00:00
uring_executor.rs cros_async: Depend on base, not sys_util 2022-03-21 19:52:56 +00:00
uring_source.rs cros_async: use portable enum for fallocate modes 2022-04-19 05:37:42 +00:00
waker.rs Refactoring: Move common/cros_async to cros_async 2022-03-21 19:52:56 +00:00