Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 11 of 11) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dutils.rs3 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 Ducount.rs3 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 Dkset.rs7 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 Dkobject.rs1 use core::{any::Any, fmt::Debug, hash::Hash, ops::Deref};
/DragonOS/kernel/crates/intertrait/src/
H A Dhasher.rs2 use core::hash::{BuildHasherDefault, Hasher};
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs265 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 Ducontext.rs5 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 Dmod.rs1018 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 Dfutex.rs5 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 Dmod.rs3 hash::Hash,
/DragonOS/kernel/crates/rbpf/
H A DREADME.md692 * Provide built-in support for user-space array and hash BPF maps.