Home
last modified time | relevance | path

Searched refs:ProtectionKey (Results 1 – 8 of 8) sorted by relevance

/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/mpk/
H A Denabled.rs24 pub fn keys(max: usize) -> &'static [ProtectionKey] { in keys() argument
33 allocated.push(ProtectionKey { in keys()
46 static KEYS: OnceLock<Vec<ProtectionKey>> = OnceLock::new();
77 pub struct ProtectionKey { struct
82 impl ProtectionKey { argument
137 pub fn or(self, pkey: ProtectionKey) -> Self { in or()
202 allow(ProtectionMask::all().or(ProtectionKey { id: 5, stripe: 0 })); in check_masking()
208 allow(ProtectionMask::zero().or(ProtectionKey { id: 5, stripe: 0 })); in check_masking()
H A Ddisabled.rs13 pub fn keys(_: usize) -> &'static [ProtectionKey] { in keys() argument
26 pub enum ProtectionKey {} enum
28 impl ProtectionKey { implementation
54 pub fn or(self, _: ProtectionKey) -> Self { in or()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/
H A Don_demand.rs8 use crate::runtime::vm::mpk::ProtectionKey;
206 fn next_available_pkey(&self) -> Option<ProtectionKey> { in next_available_pkey() argument
213 fn restrict_to_pkey(&self, _: ProtectionKey) { in restrict_to_pkey() argument
H A Dpooling.rs55 mpk::{self, ProtectionKey, ProtectionMask},
865 fn next_available_pkey(&self) -> Option<ProtectionKey> { in next_available_pkey() argument
869 fn restrict_to_pkey(&self, pkey: ProtectionKey) { in restrict_to_pkey() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/trampoline/
H A Dmemory.rs4 use crate::runtime::vm::mpk::ProtectionKey;
245 fn next_available_pkey(&self) -> Option<ProtectionKey> { in next_available_pkey() argument
249 fn restrict_to_pkey(&self, _: ProtectionKey) { in restrict_to_pkey() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/
H A Dallocator.rs6 use crate::runtime::vm::mpk::ProtectionKey;
284 fn next_available_pkey(&self) -> Option<ProtectionKey>; in next_available_pkey() argument
292 fn restrict_to_pkey(&self, pkey: ProtectionKey); in restrict_to_pkey() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/instance/allocator/pooling/
H A Dmemory_pool.rs64 runtime::vm::mpk::{self, ProtectionKey, ProtectionMask},
84 pkey: Option<ProtectionKey>,
290 pub fn next_available_pkey(&self) -> Option<ProtectionKey> { in next_available_pkey() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dstore.rs93 use crate::runtime::vm::mpk::ProtectionKey;
535 pkey: Option<ProtectionKey>,
2534 pub(crate) fn get_pkey(&self) -> Option<ProtectionKey> { in get_pkey() argument