Home
last modified time | relevance | path

Searched refs:action (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.9/.github/actions/install-apt-packages/
Daction.yml7 - uses: awalsh128/cache-apt-pkgs-action@latest
10 version: ${{ hashFiles('.github/actions/install-apt-packages/action.yml') }}
12 - uses: awalsh128/cache-apt-pkgs-action@latest
15 version: ${{ hashFiles('.github/actions/install-apt-packages/action.yml') }}
/DragonOS-0.1.9/kernel/src/libs/
Dnotifier.rs14 fn notifier_call(&self, action: V, data: Option<&T>) -> i32; in notifier_call()
88 action: V, in call_chain()
99 ret = b.notifier_call(action, data); in call_chain()
135 action: V, in call_chain()
140 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain()
174 action: V, in call_chain()
179 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain()
201 action: V, in call_chain()
205 return self.0.call_chain(action, data, nr_to_call); in call_chain()
/DragonOS-0.1.9/kernel/src/ipc/
Dsignal_types.rs183 action: SigactionType, field
193 action: SigactionType::SaHandler(SaHandlerType::SigDefault), in default()
213 return self.action.is_ignore(); in is_ignore()
216 action: SigactionType, in new()
222 action, in new()
229 pub fn action(&self) -> SigactionType { in action() method
230 self.action in action()
245 pub fn set_action(&mut self, action: SigactionType) { in set_action()
246 self.action = action; in set_action()
263 action: SigactionType::SaHandler(SaHandlerType::SigDefault),
[all …]
Dsignal.rs228 let action = pcb.sig_struct().handlers[self.clone() as usize - 1].action(); in sig_fatal() localVariable
230 match action { in sig_fatal()
370 let action: &mut Sigaction = &mut pcb.sig_struct().handlers[sig as usize - 1]; in do_sigaction() localVariable
381 *(oa) = (*action).clone(); in do_sigaction()
409 *action = *ac; in do_sigaction()
417 if action.is_ignore() { in do_sigaction()
Dsyscall.rs163 } else if new_ka.action().is_customized() { in sigaction()
203 sigaction_handler = match old_sigaction.action() { in sigaction()
/DragonOS-0.1.9/docs/kernel/ipc/
Dsignal.md54 └─────┬─────┘ action │ │ │
56 │ custom action
/DragonOS-0.1.9/kernel/src/exception/
Dhandle.rs207 for action in actions { in do_handle_irq_event()
208 let mut action_inner: SpinLockGuard<'_, InnerIrqAction> = action.inner(); in do_handle_irq_event()
269 let action = desc_inner_guard.actions().first().cloned(); in handle() localVariable
273 if let Some(action) = action { in handle()
274 let action_inner = action.inner(); in handle()
Dmanage.rs167 action: Arc<IrqAction>, in inner_setup_irq()
238 let mut action_guard = action.inner(); in inner_setup_irq()
535 desc_inner_guard.add_action(action.clone()); in inner_setup_irq()
554 self.wake_up_and_wait_for_irq_thread_ready(&desc, Some(action.clone())); in inner_setup_irq()
555 self.wake_up_and_wait_for_irq_thread_ready(&desc, action.inner().secondary()); in inner_setup_irq()
572 action: Option<Arc<IrqAction>>, in wake_up_and_wait_for_irq_thread_ready()
574 if action.is_none() { in wake_up_and_wait_for_irq_thread_ready()
578 let action = action.unwrap(); in wake_up_and_wait_for_irq_thread_ready() localVariable
580 let action_guard = action.inner(); in wake_up_and_wait_for_irq_thread_ready()
587 action in wake_up_and_wait_for_irq_thread_ready()
[all …]
Dsysfs.rs303 for action in actions { in show()
305 len += sysfs_emit_str(&mut buf[len..], &format!(",{}", action.inner().name())) in show()
309 sysfs_emit_str(&mut buf[len..], &format!("{}", action.inner().name())).unwrap(); in show()
Dirqdesc.rs465 pub fn add_action(&mut self, action: Arc<IrqAction>) { in add_action()
466 self.actions.push(action); in add_action()
473 pub fn remove_action(&mut self, action: &Arc<IrqAction>) { in remove_action()
474 self.actions.retain(|a| !Arc::ptr_eq(a, action)); in remove_action()
634 let action: IrqAction = IrqAction { in new() localVariable
650 return Arc::new(action); in new()
/DragonOS-0.1.9/kernel/src/arch/x86_64/ipc/
Dsignal.rs461 match sigaction.action() { in do_signal()
558 match sigaction.action() { in setup_frame()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.9.md1607 * 修改notifier,把action从u64换为泛型。