Searched refs:ProtectionKey (Results 1 – 8 of 8) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/mpk/ |
| H A D | enabled.rs | 24 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 D | disabled.rs | 13 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 D | on_demand.rs | 8 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 D | pooling.rs | 55 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 D | memory.rs | 4 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 D | allocator.rs | 6 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 D | memory_pool.rs | 64 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 D | store.rs | 93 use crate::runtime::vm::mpk::ProtectionKey; 535 pkey: Option<ProtectionKey>, 2534 pub(crate) fn get_pkey(&self) -> Option<ProtectionKey> { in get_pkey() argument
|