/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/src/ ! |
H A D | main.rs | 6 use aya_ebpf::maps::HashMap; 38 static SYSCALL_LIST: HashMap<u32, u32> = 39 HashMap::<u32, u32>::with_max_entries(1024, 0);
|
/DragonOS/user/apps/user-manage/src/parser/ ! |
H A D | cmd.rs | 1 use std::collections::HashMap; 82 pub options: HashMap<CmdOption, String>, 95 pub options: HashMap<CmdOption, String>,
|
H A D | parser.rs | 3 use std::collections::HashMap; 19 let mut options = HashMap::new(); in parse() 104 let mut options = HashMap::new(); in parse()
|
/DragonOS/user/apps/test_ebpf/src/ ! |
H A D | main.rs | 1 use aya::maps::HashMap; 35 let blocklist: HashMap<_, u32, u32> = in main() 36 HashMap::try_from(bpf.map("SYSCALL_LIST").unwrap()).unwrap(); in main()
|
/DragonOS/kernel/src/driver/virtio/ ! |
H A D | irq.rs | 2 use hashbrown::HashMap; 27 map: RwLock<HashMap<Arc<DeviceId>, Arc<dyn VirtIODevice>>>, 33 map: RwLock::new(HashMap::new()), in new()
|
/DragonOS/kernel/src/driver/base/block/ ! |
H A D | gendisk.rs | 7 use hashbrown::HashMap; 151 data: HashMap<u32, Arc<GenDisk>>, 158 data: HashMap::new(), in new() 184 type Target = HashMap<u32, Arc<GenDisk>>;
|
H A D | manager.rs | 4 use hashbrown::HashMap; 41 disks: HashMap<BlockDevName, Arc<dyn BlockDevice>>, 47 disks: HashMap::new(), in new()
|
/DragonOS/kernel/src/mm/ ! |
H A D | c_adapter.rs | 6 use hashbrown::HashMap; 16 …static ref C_ALLOCATION_MAP: SpinLock<HashMap<VirtAddr, (VirtAddr, usize, usize)>> = SpinLock::new…
|
/DragonOS/kernel/src/driver/pci/ ! |
H A D | root.rs | 4 use hashbrown::HashMap; 233 pci_root: HashMap<SegmentGroupNumber, Arc<PciRoot>>, 240 pci_root: HashMap::new(), in new()
|
/DragonOS/kernel/src/namespaces/ ! |
H A D | ucount.rs | 7 use hashbrown::HashMap; 178 counts: Mutex<HashMap<UKey, Arc<UCounts>>>, 184 counts: Mutex::new(HashMap::new()), in new()
|
/DragonOS/kernel/src/net/socket/ ! |
H A D | mod.rs | 10 use hashbrown::HashMap; 54 …pub static ref HANDLE_MAP: RwLock<HashMap<GlobalSocketHandle, SocketHandleItem>> = RwLock::new(Has… 497 tcp_port_table: SpinLock<HashMap<u16, Pid>>, 499 udp_port_table: SpinLock<HashMap<u16, Pid>>, 505 tcp_port_table: SpinLock::new(HashMap::new()), in new() 506 udp_port_table: SpinLock::new(HashMap::new()), in new()
|
/DragonOS/kernel/src/driver/block/cache/ ! |
H A D | cached_block_device.rs | 2 use hashbrown::HashMap; 336 map: HashMap<BlockId, CacheBlockAddr>, 342 map: HashMap::new(), in new()
|
/DragonOS/kernel/src/ipc/ ! |
H A D | shm.rs | 19 use hashbrown::{HashMap, HashSet}; 120 id2shm: HashMap<ShmId, KernelShm>, 122 key2id: HashMap<ShmKey, ShmId>, 129 id2shm: HashMap::new(), in new() 130 key2id: HashMap::new(), in new()
|
/DragonOS/kernel/crates/rbpf/src/ ! |
H A D | lib.rs | 34 type HashMap<K, V> = BTreeMap<K, V>; typedef 123 helpers: HashMap<u32, ebpf::Helper>, 154 helpers: HashMap::new(), in new() 1208 helpers: &HashMap<u32, fn(u64, u64, u64, u64, u64) -> u64>, in register_helper_set() 1750 helpers: &HashMap<u32, fn(u64, u64, u64, u64, u64) -> u64>, in register_helper_set()
|
H A D | jit.rs | 15 use crate::{ebpf, HashMap}; 100 special_targets: HashMap<isize, usize>, 109 special_targets: HashMap::new(), in new() 479 helpers: &HashMap<u32, ebpf::Helper>, in jit_compile() 987 helpers: &HashMap<u32, ebpf::Helper>, in new()
|
H A D | cranelift.rs | 22 use super::{Error, HashMap, HashSet}; 39 helpers: HashMap<u32, ebpf::Helper>, 40 helper_func_refs: HashMap<u32, FuncRef>, 61 pub(crate) fn new(helpers: HashMap<u32, ebpf::Helper>) -> Self { in new() 97 helper_func_refs: HashMap::new(), in new()
|
/DragonOS/kernel/crates/intertrait/src/ ! |
H A D | lib.rs | 74 use hashbrown::HashMap; 104 static CASTER_MAP: once_cell::sync::Lazy<HashMap<(TypeId, TypeId), BoxedCaster, BuildFastHasher>> = 122 static mut CASTER_MAP: Option<HashMap<(TypeId, TypeId), BoxedCaster, BuildFastHasher>> = None; 125 pub fn caster_map() -> &'static HashMap<(TypeId, TypeId), BoxedCaster, BuildFastHasher> { in caster_map()
|
/DragonOS/kernel/src/driver/tty/ ! |
H A D | tty_driver.rs | 8 use hashbrown::HashMap; 132 ttys: SpinLock<HashMap<usize, Arc<TtyCore>>>, 172 ttys: SpinLock::new(HashMap::new()), in new() 242 pub fn ttys(&self) -> SpinLockGuard<HashMap<usize, Arc<TtyCore>>> { in ttys()
|
/DragonOS/kernel/src/filesystem/kernfs/ ! |
H A D | mod.rs | 8 use hashbrown::HashMap; 115 children: SpinLock::new(HashMap::new()), in create_root_inode() 135 children: SpinLock<HashMap<String, Arc<KernFSInode>>>, 411 children: SpinLock::new(HashMap::new()), in new()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ ! |
H A D | mod.rs | 7 use hashbrown::HashMap; 138 consoles: HashMap<usize, Arc<VirtConsole>>, 152 let consoles = HashMap::new(); in new()
|
/DragonOS/kernel/src/libs/futex/ ! |
H A D | futex.rs | 13 use hashbrown::HashMap; 35 data: SpinLock<HashMap<FutexKey, FutexHashBucket>>, 39 pub fn futex_map() -> SpinLockGuard<'static, HashMap<FutexKey, FutexHashBucket>> { in futex_map() 214 data: SpinLock::new(HashMap::new()), in init()
|
/DragonOS/kernel/src/exception/ ! |
H A D | irqdomain.rs | 8 use hashbrown::HashMap; 516 map: HashMap::new(), in new() 577 map: HashMap<HardwareIrqNumber, Arc<IrqData>>,
|
/DragonOS/kernel/src/driver/base/device/ ! |
H A D | bus.rs | 26 use hashbrown::HashMap; 242 kset_bus_map: RwLock<HashMap<Arc<KSet>, Arc<dyn Bus>>>, 248 kset_bus_map: RwLock::new(HashMap::new()), in new()
|
/DragonOS/user/apps/user-manage/src/check/ ! |
H A D | check.rs | 7 collections::{HashMap, HashSet}, 311 fn parse_options(options: &HashMap<CmdOption, String>) -> UModInfo { in parse_options()
|
/DragonOS/kernel/src/process/ ! |
H A D | mod.rs | 17 use hashbrown::HashMap; 86 static ALL_PROCESS: SpinLock<Option<HashMap<Pid, Arc<ProcessControlBlock>>>> = SpinLock::new(None); 131 ALL_PROCESS.lock_irqsave().replace(HashMap::new()); in init()
|