Searched refs:domain (Results 1 – 7 of 7) sorted by relevance
/DragonOS/kernel/src/exception/ |
H A D | irqdomain.rs | 102 let domain = IrqDomain::new( in create_and_add() localVariable 112 self.add_domain(domain.clone()); in create_and_add() 114 return Some(domain); in create_and_add() 117 fn add_domain(&self, domain: Arc<IrqDomain>) { in add_domain() 118 self.domains.lock_irqsave().push(domain); in add_domain() 122 pub fn remove_domain(&self, domain: &Arc<IrqDomain>) { in remove_domain() 126 .position(|x| Arc::ptr_eq(x, domain)) in remove_domain() 140 pub fn set_default_domain(&self, domain: Arc<IrqDomain>) { in set_default_domain() 141 self.inner.write_irqsave().default_domain = Some(domain); in set_default_domain() 154 domain: &Arc<IrqDomain>, in domain_associate_many() [all …]
|
H A D | irqdata.rs | 48 domain: None, in new() 117 pub fn domain(&self) -> Option<Arc<IrqDomain>> { in domain() method 118 self.inner.lock_irqsave().domain.clone() in domain() 153 domain: Option<Arc<IrqDomain>>, field 164 pub fn domain(&self) -> Option<Arc<IrqDomain>> { in domain() method 165 self.domain.clone() in domain() 168 pub fn set_domain(&mut self, domain: Option<Arc<IrqDomain>>) { in set_domain() 169 self.domain = domain; in set_domain()
|
H A D | irqdesc.rs | 1038 domain: Arc<IrqDomain>, in handle_domain_irq() 1043 irq_domain_manager().resolve_irq_mapping(Some(domain.clone()), hwirq)?; in handle_domain_irq()
|
H A D | irqchip.rs | 282 domain: Weak<IrqDomain>, field
|
/DragonOS/kernel/src/driver/base/map/ |
H A D | mod.rs | 60 domain: Arc<LockedKObjMap>, in kobj_map() 65 if let Some(map) = domain in kobj_map() 85 pub fn kobj_unmap(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber, range: usize) { in kobj_unmap() 86 if let Some(map) = domain in kobj_unmap() 106 pub fn kobj_lookup(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber) -> Option<Arc<dyn KObject>> { in kobj_lookup() 107 if let Some(map) = domain.0.lock().0.get((dev_t.major().data() % 255) as usize) { in kobj_lookup()
|
/DragonOS/kernel/src/driver/irqchip/ |
H A D | riscv_sifive_plic.rs | 634 let domain = priv_data.unwrap().irq_domain.upgrade(); in do_plic_irq() localVariable 635 if domain.is_none() { in do_plic_irq() 639 let domain = domain.unwrap(); in do_plic_irq() localVariable 655 if let Err(e) = GenericIrqHandler::handle_domain_irq(domain.clone(), hwirq, trap_frame) { in do_plic_irq()
|
/DragonOS/ |
H A D | README_EN.md | 20 …e, it aims to provide improved reliability. In the Rust operating system domain, DragonOS consiste…
|