Home
last modified time | relevance | path

Searched refs:leak (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.9/kernel/src/sched/
Drt.rs115 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()
122 .push(Box::leak(Box::new(LinkedList::new()))); in new()
Dcfs.rs129 .push(Box::leak(Box::new(CFSQueue::new(idle_pcb)))); in new()
/DragonOS-0.1.9/kernel/src/libs/
Drwlock.rs401 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method
479 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method
497 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method
Dspinlock.rs44 pub unsafe fn leak(this: Self) -> &'a mut T { in leak() method
/DragonOS-0.1.9/docs/community/ChangeLog/V0.1.x/
DV0.1.8.md62 - feature: spinlock守卫新增leak,spinlock新增force unlock功能.(#329)
177 … 修正rwlock有的地方由于未使用ManuallyDrop导致的use after free && spinlock守卫新增leak,spinlock新增force unlock功能.(#329)
180 2. spinlock守卫新增leak,spinlock新增force unlock功能.
DV0.1.9.md2155 fix pci_irq.c - memory leak - wrong irq_name allocated length (#367)
/DragonOS-0.1.9/kernel/src/driver/acpi/
Dmod.rs206 MMIOSpaceGuard::leak(mmio_guard); in map_physical_region()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dmod.rs75 Box::leak(Box::new([0u8; (1 << 20) as usize])) as *mut u8 as usize; in ahci_init()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dmod.rs410 let next_arch = SpinLockGuard::leak(next.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
411 let prev_arch = SpinLockGuard::leak(prev.arch_info_irqsave()) as *mut ArchPCBInfo; in switch_process()
/DragonOS-0.1.9/kernel/src/exception/
Dsoftirq.rs39 __SORTIRQ_VECTORS = Box::leak(Box::new(Softirq::new())); in softirq_init()
/DragonOS-0.1.9/kernel/src/mm/
Dmmio_buddy.rs687 pub unsafe fn leak(self) { in leak() method