/DragonOS/kernel/src/libs/ |
H A D | notifier.rs | 12 fn notifier_call(&self, action: V, data: Option<&T>) -> i32; in notifier_call() 86 action: V, in call_chain() 97 ret = b.notifier_call(action, data); in call_chain() 139 action: V, in call_chain() 144 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain() 178 action: V, in call_chain() 183 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain() 205 action: V, in call_chain() 209 return self.0.call_chain(action, data, nr_to_call); in call_chain()
|
/DragonOS/kernel/src/ipc/ |
H A D | signal_types.rs | 190 action: SigactionType, field 200 action: SigactionType::SaHandler(SaHandlerType::Default), in default() 220 return self.action.is_ignore(); in is_ignore() 223 action: SigactionType, in new() 229 action, in new() 236 pub fn action(&self) -> SigactionType { in action() method 237 self.action in action() 252 pub fn set_action(&mut self, action: SigactionType) { in set_action() 253 self.action = action; in set_action() 270 action: SigactionType::SaHandler(SaHandlerType::Default), [all …]
|
H A D | signal.rs | 250 let action = pcb.sig_struct().handlers[*self as usize - 1].action(); in sig_fatal() localVariable 252 match action { in sig_fatal() 390 let action: &mut Sigaction = &mut pcb.sig_struct().handlers[sig as usize - 1]; in do_sigaction() localVariable 400 *(oa) = *action; in do_sigaction() 426 *action = *ac; in do_sigaction() 434 if action.is_ignore() { in do_sigaction()
|
H A D | syscall.rs | 180 } else if new_ka.action().is_customized() { in sigaction() 219 let sigaction_handler = match old_sigaction.action() { in sigaction()
|
/DragonOS/.github/workflows/ |
H A D | publish-dragonos-docker-image.yml | 16 uses: docker/setup-buildx-action@v2 19 uses: docker/login-action@v2 33 uses: docker/build-push-action@v4
|
/DragonOS/docs/kernel/ipc/ |
H A D | signal.md | 54 └─────┬─────┘ action │ │ │ 56 │ custom action │
|
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 270 for action in actions { in do_handle_irq_event() 271 let mut action_inner: SpinLockGuard<'_, InnerIrqAction> = action.inner(); in do_handle_irq_event() 373 let action = desc_inner_guard.actions().first().cloned(); in handle() localVariable 377 if let Some(action) = action { in handle() 378 let action_inner = action.inner(); in handle()
|
H A D | manage.rs | 168 action: Arc<IrqAction>, in inner_setup_irq() 239 let mut action_guard = action.inner(); in inner_setup_irq() 560 desc_inner_guard.add_action(action.clone()); in inner_setup_irq() 579 self.wake_up_and_wait_for_irq_thread_ready(&desc, Some(action.clone())); in inner_setup_irq() 580 self.wake_up_and_wait_for_irq_thread_ready(&desc, action.inner().secondary()); in inner_setup_irq() 597 action: Option<Arc<IrqAction>>, in wake_up_and_wait_for_irq_thread_ready() 599 if action.is_none() { in wake_up_and_wait_for_irq_thread_ready() 603 let action = action.unwrap(); in wake_up_and_wait_for_irq_thread_ready() localVariable 605 let action_guard = action.inner(); in wake_up_and_wait_for_irq_thread_ready() 612 action in wake_up_and_wait_for_irq_thread_ready() [all …]
|
H A D | sysfs.rs | 304 for action in actions { in show() 306 len += sysfs_emit_str(&mut buf[len..], &format!(",{}", action.inner().name())) in show() 309 len += sysfs_emit_str(&mut buf[len..], &action.inner().name().to_string()).unwrap(); in show()
|
H A D | irqdesc.rs | 481 pub fn add_action(&mut self, action: Arc<IrqAction>) { in add_action() 482 self.actions.push(action); in add_action() 489 pub fn remove_action(&mut self, action: &Arc<IrqAction>) { in remove_action() 490 self.actions.retain(|a| !Arc::ptr_eq(a, action)); in remove_action() 650 let action: IrqAction = IrqAction { in new() localVariable 666 return Arc::new(action); in new()
|
/DragonOS/kernel/src/arch/x86_64/ipc/ |
H A D | signal.rs | 462 match sigaction.action() { in do_signal() 559 match sigaction.action() { in setup_frame()
|
/DragonOS/kernel/src/sched/ |
H A D | fair.rs | 1010 let mut action = UpdateAvgFlags::UPDATE_TG; in dequeue_entity() localVariable 1013 action |= UpdateAvgFlags::DO_DETACH; in dequeue_entity() 1018 self.update_load_avg(se, action); in dequeue_entity()
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.9.md | 1608 * 修改notifier,把action从u64换为泛型。
|