rustix/backend/libc/fs/
mod.rs1#[cfg(all(feature = "alloc", not(any(target_os = "espidf", target_os = "redox"))))]
2pub(crate) mod dir;
3#[cfg(linux_kernel)]
4pub mod inotify;
5#[cfg(not(any(
6 target_os = "espidf",
7 target_os = "haiku",
8 target_os = "horizon",
9 target_os = "vita",
10 target_os = "wasi"
11)))]
12pub(crate) mod makedev;
13#[cfg(not(windows))]
14pub(crate) mod syscalls;
15pub(crate) mod types;
16
17#[cfg(all(linux_raw_dep, any(target_arch = "sparc", target_arch = "sparc64")))]
19pub(crate) const EXT4_IOC_RESIZE_FS: crate::ioctl::Opcode = 0x8008_6610;
20
21#[cfg(all(
22 linux_raw_dep,
23 not(any(target_arch = "sparc", target_arch = "sparc64"))
24))]
25pub(crate) const EXT4_IOC_RESIZE_FS: crate::ioctl::Opcode =
26 linux_raw_sys::ioctl::EXT4_IOC_RESIZE_FS as crate::ioctl::Opcode;