Home
last modified time | relevance | path

Searched refs:ProtFlags (Results 1 – 13 of 13) sorted by relevance

/third_party/rust/crates/rustix/tests/mm/
Dmmap.rs9 use rustix::mm::{mmap, munmap, MapFlags, ProtFlags}; in test_mmap()
31 ProtFlags::READ, in test_mmap()
49 ProtFlags::READ, in test_mmap()
63 use rustix::mm::{mmap_anonymous, munmap, MapFlags, ProtFlags}; in test_mmap_anonymous()
68 let addr = mmap_anonymous(null_mut(), 8192, ProtFlags::READ, MapFlags::PRIVATE).unwrap(); in test_mmap_anonymous()
78 use rustix::mm::{mmap_anonymous, mprotect, munmap, MapFlags, MprotectFlags, ProtFlags}; in test_mprotect()
83 let addr = mmap_anonymous(null_mut(), 8192, ProtFlags::READ, MapFlags::PRIVATE).unwrap(); in test_mprotect()
97 use rustix::mm::{mlock, mmap_anonymous, munlock, munmap, MapFlags, ProtFlags}; in test_mlock()
103 let addr = mmap_anonymous(null_mut(), 8192, ProtFlags::READ, MapFlags::PRIVATE).unwrap(); in test_mlock()
134 use rustix::mm::{madvise, mmap_anonymous, munmap, Advice, MapFlags, ProtFlags}; in test_madvise()
[all …]
/third_party/rust/crates/nix/test/sys/
Dtest_mman.rs1 use nix::sys::mman::{mmap, MapFlags, ProtFlags};
10 ProtFlags::PROT_READ | ProtFlags::PROT_WRITE, in test_mmap_anonymous()
35 ProtFlags::PROT_READ | ProtFlags::PROT_WRITE, in test_mremap_grow()
93 ProtFlags::PROT_READ | ProtFlags::PROT_WRITE, in test_mremap_shrink()
/third_party/rust/crates/rustix/src/mm/
Dmmap.rs17 pub use backend::mm::types::{MapFlags, MprotectFlags, ProtFlags};
39 prot: ProtFlags, in mmap() argument
67 prot: ProtFlags, in mmap_anonymous() argument
Dmod.rs13 mlock, mmap, mmap_anonymous, mprotect, munlock, munmap, MapFlags, MprotectFlags, ProtFlags,
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
Dsyscalls.rs14 Advice, MapFlags, MlockFlags, MprotectFlags, MremapFlags, MsyncFlags, ProtFlags,
48 prot: ProtFlags, in mmap() argument
90 prot: ProtFlags, in mmap_anonymous() argument
Dtypes.rs10 pub struct ProtFlags: u32 {
/third_party/rust/crates/rustix/src/backend/libc/mm/
Dsyscalls.rs12 use super::types::{MapFlags, MprotectFlags, MsyncFlags, ProtFlags};
72 prot: ProtFlags, in mmap() argument
99 prot: ProtFlags, in mmap_anonymous() argument
Dtypes.rs10 pub struct ProtFlags: c::c_int {
/third_party/rust/crates/nix/src/sys/
Dmman.rs15 pub struct ProtFlags: c_int {
422 prot: ProtFlags, in mmap() argument
537 prot: ProtFlags, in mprotect() argument
/third_party/rust/crates/nix/
DCONVENTIONS.md55 pub struct ProtFlags: libc::c_int {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetClient.h663 JITTargetAddress RemoteSegAddr, unsigned ProtFlags) { in setProtections() argument
664 if (auto Err = callB<mem::SetProtections>(Id, RemoteSegAddr, ProtFlags)) { in setProtections()
DOrcRemoteTargetRPCAPI.h258 JITTargetAddress Dst, uint32_t ProtFlags)> {
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dconv.rs383 impl<'a, Num: ArgNumber> From<crate::backend::mm::types::ProtFlags> for ArgReg<'a, Num> {
385 fn from(flags: crate::backend::mm::types::ProtFlags) -> Self { in from()