Searched refs:FallocateMode (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/sys_util/src/ |
D | lib.rs | 233 pub enum FallocateMode { enum 242 mode: FallocateMode, in fallocate() argument 260 FallocateMode::PunchHole => libc::FALLOC_FL_PUNCH_HOLE, in fallocate() 261 FallocateMode::ZeroRange => libc::FALLOC_FL_ZERO_RANGE, in fallocate() 262 FallocateMode::Allocate => 0, in fallocate()
|
D | write_zeroes.rs | 11 use crate::FallocateMode; 21 fallocate(self, FallocateMode::PunchHole, true, offset, length as u64) in punch_hole() 91 if fallocate(self, FallocateMode::ZeroRange, true, offset, length as u64).is_ok() { in write_zeroes_at()
|
D | file_traits.rs | 11 use crate::{fallocate, FallocateMode}; 68 fallocate(self, FallocateMode::Allocate, true, offset, len) in allocate()
|