Searched refs:leak (Results 1 – 11 of 11) sorted by relevance
115 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()
129 .push(Box::leak(Box::new(CFSQueue::new(idle_pcb)))); in new()
401 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method479 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method497 pub unsafe fn leak(this: Self) -> &'rwlock T { in leak() method
44 pub unsafe fn leak(this: Self) -> &'a mut T { in leak() method
62 - 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功能.
2155 fix pci_irq.c - memory leak - wrong irq_name allocated length (#367)
206 MMIOSpaceGuard::leak(mmio_guard); in map_physical_region()
75 Box::leak(Box::new([0u8; (1 << 20) as usize])) as *mut u8 as usize; in ahci_init()
410 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()
39 __SORTIRQ_VECTORS = Box::leak(Box::new(Softirq::new())); in softirq_init()
687 pub unsafe fn leak(self) { in leak() method