Home
last modified time | relevance | path

Searched refs:V (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dnotifier.rs10 pub trait NotifierBlock<V: Clone + Copy, T>: Debug + Send + Sync {
12 fn notifier_call(&self, action: V, data: Option<&T>) -> i32; in notifier_call() argument
20 struct NotifierChain<V: Clone + Copy, T>(Vec<Arc<dyn NotifierBlock<V, T>>>);
22 impl<V: Clone + Copy, T> NotifierChain<V, T> {
31 block: Arc<dyn NotifierBlock<V, T>>, in register() argument
65 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<V, T>>) -> Result<(), SystemError> { in unregister() argument
86 action: V, in call_chain() argument
106 pub struct AtomicNotifierChain<V: Clone + Copy, T>(SpinLock<NotifierChain<V, T>>);
108 impl<V: Clone + Copy, T> Default for AtomicNotifierChain<V, T> {
114 impl<V: Clone + Copy, T> AtomicNotifierChain<V, T> {
[all …]
H A Drbtree.rs34 struct RBTreeNode<K: Ord + Debug, V: Debug> {
36 left: NodePtr<K, V>,
37 right: NodePtr<K, V>,
38 parent: NodePtr<K, V>,
40 value: V,
43 impl<K: Ord + Debug, V: Debug> RBTreeNode<K, V> {
45 fn pair(self) -> (K, V) { in pair() argument
50 impl<K, V> Debug for RBTreeNode<K, V>
53 V: Debug,
62 struct NodePtr<K: Ord + Debug, V: Debug>(*mut RBTreeNode<K, V>);
[all …]
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dlogset.rs14 pub struct LogSet<K, V> {
15 inner: BTreeMap<K, V>,
16 backend: Box<dyn LogSetBackend<K, V>>,
23 impl<K: Ord, V: Clone + PartialEq + Debug> LogSet<K, V> {
24 pub fn new(name: String, backend: Option<Box<dyn LogSetBackend<K, V>>>) -> Self { in new()
39 pub fn insert(&mut self, key: K, value: V) { in insert() argument
68 pub fn get(&self, key: &K) -> Option<&V> { in get() argument
72 pub fn get_mut(&mut self, key: &K) -> Option<&mut V> { in get_mut() argument
76 pub fn remove(&mut self, key: &K) -> Option<V> { in remove() argument
84 pub fn iter(&self) -> impl Iterator<Item = (&K, &V)> { in iter() argument
[all …]
/DragonOS/docs/kernel/boot/
H A Dbootloader.md7 ## RISC-V 64
9 DragonOS在RISC-V 64上,启动流程为:
/DragonOS/docs/introduction/
H A Dbuild_system.md96 **请留意,若您的Linux系统是在虚拟机中运行的,还请您在您的VMware/Virtual Box虚拟机的处理器设置选项卡中,开启Intel VT-x或AMD-V选项,否则,DragonOS将无法…
/DragonOS/
H A DREADME_EN.md24 … significant efforts are being made to promote cloud platform support, RISC-V compatibility, and t…