Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 8 of 8) sorted by relevance

/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/
Dlogset.rs43 let prev = self.inner.insert(key, value); in insert() localVariable
44 if let Some(prev) = prev { in insert()
45 if prev.ne(&cloned_value) { in insert()
48 prev, cloned_value in insert()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dmod.rs385 pub unsafe fn switch_process(prev: Arc<ProcessControlBlock>, next: Arc<ProcessControlBlock>) { in switch_process()
389 prev.arch_info_irqsave().save_fp_state(); in switch_process()
394 prev.arch_info_irqsave().save_fsbase(); in switch_process()
398 Self::switch_gsbase(&prev, &next); in switch_process()
411 let prev_arch = SpinLockGuard::leak(prev.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
424 SWITCH_RESULT.as_mut().unwrap().get_mut().prev_pcb = Some(prev); in switch_process()
432 unsafe fn switch_gsbase(prev: &Arc<ProcessControlBlock>, next: &Arc<ProcessControlBlock>) { in switch_gsbase()
434 prev.arch_info_irqsave().save_gsbase(); in switch_gsbase()
444 unsafe extern "sysv64" fn switch_to_inner(prev: *mut ArchPCBInfo, next: *mut ArchPCBInfo) { in switch_to_inner()
/DragonOS-0.1.9/kernel/src/arch/riscv64/process/
Dmod.rs52 pub unsafe fn switch_process(prev: Arc<ProcessControlBlock>, next: Arc<ProcessControlBlock>) { in switch_process()
/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dtraits.rs40 let prev = *bits & mask; localVariable
46 prev != 0
/DragonOS-0.1.9/kernel/src/time/
Dtimer.rs322 let prev = TIMER_JIFFIES.fetch_add(add_jiffies, Ordering::SeqCst); in update_timer_jiffies() localVariable
327 return prev + add_jiffies; in update_timer_jiffies()
/DragonOS-0.1.9/kernel/src/libs/
Drbtree.rs196 fn prev(self) -> NodePtr<K, V> { in prev() method
660 let prev = self.tail.prev(); in next_back() localVariable
663 self.tail = prev; in next_back()
739 self.tail = self.tail.prev(); in next_back()
814 self.tail = self.tail.prev(); in next_back()
/DragonOS-0.1.9/docs/kernel/core_api/
Dkernel_api.md11 &emsp;&emsp;初始化一个List结构体,使其prev和next指针指向自身
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs67 let prev = INIT_FLAG.swap(true, Ordering::SeqCst); in init() localVariable
68 if prev { in init()