Home
last modified time | relevance | path

Searched refs:replace (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/driver/
H A Dof.rs37 bp_guard.arch.fdt_vaddr.replace(vaddr); in map_fdt()
/DragonOS/kernel/src/libs/
H A Drbtree.rs1309 let mut replace = node.right().min_node(); in delete() localVariable
1311 self.root = replace; in delete()
1313 node.parent().set_left(replace); in delete()
1315 node.parent().set_right(replace); in delete()
1320 child = replace.right(); in delete()
1321 parent = replace.parent(); in delete()
1322 color = replace.get_color(); in delete()
1324 parent = replace; in delete()
1330 replace.set_right(node.right()); in delete()
1331 node.right().set_parent(replace); in delete()
[all …]
/DragonOS/kernel/src/time/
H A Dclocksource.rs479 cs_watchdog.watchdog.replace(cs); in clocksource_enqueue_watchdog()
589 locked_watchdog.watchdog.replace(new_wd); in clocksource_dequeue_watchdog()
1004 CUR_CLOCKSOURCE.lock().replace(best.clone()); in clocksource_select()
1009 CUR_CLOCKSOURCE.lock().replace(best.clone()); in clocksource_select()
1017 cur_clocksource.replace(clocksource_default_clock()); in clocksource_boot_finish()
1040 WATCHDOG_KTHREAD.replace(pcb); in init_watchdog_kthread()
H A Dtimekeeping.rs123 timekeeper.clock.replace(clock.clone()); in timekeeper_setup_internals()
274 timekeeper.clock.replace(clock.clone()); in logarithmic_accumulation()
/DragonOS/kernel/src/driver/rtc/
H A Dmod.rs40 write.replace(general_device); in register_default_rtc()
H A Drtc_cmos.rs94 guard.replace(general_rtc_device.clone()); in probe()
/DragonOS/kernel/src/process/
H A Dkthread.rs210 self.result_pcb.lock().replace(pcb); in set_create_ok()
322 KTHREAD_DAEMON_PCB.replace(pcb); in init_stage2()
H A Dmod.rs131 ALL_PROCESS.lock_irqsave().replace(HashMap::new()); in init()
/DragonOS/docs/introduction/
H A Dbuild_system.md152 replace-with = 'dragonos-gitee' \n \
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs316 current_framework.replace(framework); in scm_framework_enable()
/DragonOS/kernel/src/exception/
H A Dirqdesc.rs994 desc_inner.percpu_affinity_mut().replace(affinity.clone()); in set_percpu_devid()
998 .replace(smp_cpu_manager().possible_cpus().clone()); in set_percpu_devid()
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dpages.rs535 mem::replace(self, Rawlink::none()) in take()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs913 let old_handle = core::mem::replace(&mut self.handles[handle_index], new_handle); in accept()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md163 kernel). Users are also able to replace it with a custom verifier.