Searched refs:hash (Results 1 – 11 of 11) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | utils.rs | 3 use core::hash::Hash; 96 fn hash<H: core::hash::Hasher>(&self, state: &mut H) { in hash() method 97 self.0.hash(state) in hash()
|
/DragonOS/kernel/src/namespaces/ |
H A D | ucount.rs | 3 use core::{hash::Hash, sync::atomic::AtomicU32}; 164 fn hash<H: core::hash::Hasher>(&self, state: &mut H) { in hash() method 166 user_ns_ptr.hash(state); in hash() 167 self.uid.hash(state) in hash()
|
/DragonOS/kernel/src/driver/base/ |
H A D | kset.rs | 7 use core::hash::Hash; 32 fn hash<H: core::hash::Hasher>(&self, state: &mut H) { in hash() method 33 self.self_ref.as_ptr().hash(state); in hash() 34 self.inner.read().name.hash(state); in hash()
|
H A D | kobject.rs | 1 use core::{any::Any, fmt::Debug, hash::Hash, ops::Deref};
|
/DragonOS/kernel/crates/intertrait/src/ |
H A D | hasher.rs | 2 use core::hash::{BuildHasherDefault, Hasher};
|
/DragonOS/kernel/src/driver/base/block/ |
H A D | block_device.rs | 265 impl core::hash::Hash for BlockDevName { 266 fn hash<H: core::hash::Hasher>(&self, state: &mut H) { in hash() method 267 self.name.hash(state); in hash()
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 5 hash::Hasher, 1087 impl core::hash::Hash for LockedVMA { 1088 fn hash<H: Hasher>(&self, state: &mut H) { in hash() method 1089 self.id.hash(state); in hash() 1372 impl core::hash::Hash for VMA { 1373 fn hash<H: Hasher>(&self, state: &mut H) { in hash() method 1374 self.region.hash(state); in hash() 1375 self.flags.hash(state); in hash() 1376 self.mapped.hash(state); in hash()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | mod.rs | 1018 impl core::hash::Hash for DeviceId { 1019 fn hash<H: core::hash::Hasher>(&self, state: &mut H) { in hash() method 1020 self.id().hash(state); in hash()
|
/DragonOS/kernel/src/libs/futex/ |
H A D | futex.rs | 5 use core::hash::{Hash, Hasher}; 187 fn hash<H: Hasher>(&self, state: &mut H) { in hash() method 188 self.address.hash(state); in hash()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 3 hash::Hash,
|
/DragonOS/kernel/crates/rbpf/ |
H A D | README.md | 692 * Provide built-in support for user-space array and hash BPF maps.
|