Lines Matching +full:enable +full:- +full:integration +full:- +full:tests
2 // Use of this source code is governed by a BSD-style license that can be
5 //! crate for the vmm-swap feature.
10 if #[cfg(all(unix, feature = "enable"))] {
16 // this is public only for integration tests.
21 // this is public only for integration tests.
23 // this is public only for integration tests.
36 /// Current state of vmm-swap.
43 /// vmm-swap is ready. userfaultfd is disabled until vmm-swap is enabled.
51 /// swap-out is in progress.
55 /// swap-in is in progress.
64 /// |---------------------|----------------------------------------------|
66 /// | `Pending` | transition record of `swap enable` |
80 /// Current metrics of vmm-swap.
82 /// This is only available while vmm-swap is enabled.
88 /// count of pages copied from the vmm-swap file.
107 /// Current vmm-swap [SwapState].
109 /// Current [SwapMetrics] of vmm-swap.
117 pub fn dummy() -> Self { in dummy()