Home
last modified time | relevance | path

Searched refs:func (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.9/kernel/src/process/
Dkthread.rs108 Self::UsizeClosure((func, arg)) => func(arg), in run()
109 Self::EmptyClosure((func, _arg)) => func(), in run()
110 Self::StaticUsizeClosure((func, arg)) => func(arg), in run()
111 Self::StaticEmptyClosure((func, _arg)) => func(), in run()
112 Self::IrqThread((func, arg)) => { in run()
113 func(arg).map(|_| 0).unwrap_or_else(|e| e.to_posix_errno()) in run()
144 pub fn new(func: KernelThreadClosure, name: String) -> Arc<Self> { in new()
146 closure: SpinLock::new(Some(Box::new(func))), in new()
329 pub fn create(func: KernelThreadClosure, name: String) -> Option<Arc<ProcessControlBlock>> { in create()
330 let info = KernelThreadCreateInfo::new(func, name); in create()
[all …]
Dptrace.h24 unsigned long func; member
Dfork.rs108 pub func: VirtAddr, field
131 func: null_addr, in new()
/DragonOS-0.1.9/kernel/src/exception/
Dmsi.rs84 func: Option<&'static dyn MsiDescFunc>, field
111 func: None, in new()
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dmod.rs119 pub func: ::core::ffi::c_ulong, field
148 func: 0, in new()
/DragonOS-0.1.9/docs/community/code_contribution/
Dc-coding-style.md126 void *func(char* s, int **p);
/DragonOS-0.1.9/kernel/src/time/
Dtimer.rs126 let func = timer.timer_func.take(); in run() localVariable
128 let r = func.map(|mut f| f.run()).unwrap_or(Ok(())); in run()
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md458 Patch add abort func (#120)
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs246 pub(super) fn set_driver_funcs(&mut self, func: Weak<dyn ConsoleSwitch>) { in set_driver_funcs()
247 self.driver_funcs = Some(func); in set_driver_funcs()