Home
last modified time | relevance | path

Searched refs:FallocateFlags (Results 1 - 10 of 10) sorted by relevance

/third_party/rust/crates/rustix/tests/fs/
H A Dinvalid_offset.rs45 use rustix::fs::{cwd, fallocate, openat, FallocateFlags, Mode, OFlags}; in invalid_offset_fallocate()
56 fallocate(&file, FallocateFlags::empty(), u64::MAX, 1).unwrap_err(); in invalid_offset_fallocate()
57 fallocate(&file, FallocateFlags::empty(), i64::MAX as u64 + 1, 1).unwrap_err(); in invalid_offset_fallocate()
58 fallocate(&file, FallocateFlags::empty(), 0, u64::MAX).unwrap_err(); in invalid_offset_fallocate()
59 fallocate(&file, FallocateFlags::empty(), 0, i64::MAX as u64 + 1).unwrap_err(); in invalid_offset_fallocate()
/third_party/rust/crates/rustix/src/fs/
H A Dfd.rs23 pub use backend::fs::types::FallocateFlags;
227 /// `posix_fallocate` and not the more general form, no `FallocateFlags` values
249 pub fn fallocate<Fd: AsFd>(fd: Fd, mode: FallocateFlags, offset: u64, len: u64) -> io::Result<()> { in fallocate()
H A Dmod.rs160 pub use fd::{fallocate, FallocateFlags};
/third_party/rust/crates/nix/src/
H A Dfcntl.rs646 pub struct FallocateFlags: c_int { structure names
685 mode: FallocateFlags, in fallocate()
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dtypes.rs471 pub struct FallocateFlags: u32 { structure names
H A Dsyscalls.rs27 Access, Advice, AtFlags, FallocateFlags, FileType, FlockOperation, MemfdFlags, Mode, OFlags,
295 mode: FallocateFlags,
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dsyscalls.rs88 use crate::fs::FallocateFlags;
1166 mode: FallocateFlags,
1196 mode: FallocateFlags,
H A Dtypes.rs702 pub struct FallocateFlags: i32 { structure names
/third_party/rust/crates/rustix/src/backend/linux_raw/
H A Dconv.rs503 impl<'a, Num: ArgNumber> From<crate::fs::FallocateFlags> for ArgReg<'a, Num> {
505 fn from(flags: crate::fs::FallocateFlags) -> Self { in from()
/third_party/rust/crates/nix/test/
H A Dtest_fcntl.rs364 fallocate(fd, FallocateFlags::empty(), 0, 100).unwrap(); in test_fallocate()

Completed in 9 milliseconds