Searched refs:leak (Results 1 – 9 of 9) sorted by relevance
32 let mut sig: &mut sighand_struct = Box::leak(Box::new(sighand_struct::default())); in process_copy_sighand()88 let sig: &mut signal_struct = Box::leak(Box::new(signal_struct::default())); in process_copy_signal()103 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in process_copy_signal()
43 Box::leak(Box::new(SigQueue::default())) as *mut SigQueue as *mut c_void; in initial_proc_init_signal()
120 let fd_vec: &mut FileDescriptorVec = Box::leak(FileDescriptorVec::new()); in init_files()153 let new_fd_vec: &mut FileDescriptorVec = Box::leak(Box::new(old_fds.clone())); in copy_files()
30 RT_SCHEDULER_PTR = Box::leak(Box::new(SchedulerRT::new())); in sched_rt_init()119 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()126 .push(Box::leak(Box::new(LinkedList::new()))); in new()
30 CFS_SCHEDULER_PTR = Box::leak(Box::new(SchedulerCFS::new())); in sched_cfs_init()129 .push(Box::leak(Box::new(CFSQueue::new(null_mut())))); in new()
264 pub fn leak(this: Self) -> &'rwlock T { in leak() method333 pub fn leak(this: Self) -> &'rwlock T { in leak() method344 pub fn leak(this: Self) -> &'rwlock T { in leak() method
52 let root_inode = Box::leak(Box::new(mount_fs.root_inode())); in vfs_init()131 let new_root_inode = Box::leak(Box::new(new_fs.root_inode())); in migrate_virtual_filesystem()
53 SOFTIRQ_HANDLER_PTR = Box::leak(Box::new(Softirq::default())); in softirq_init()
77 Box::leak(Box::new([0u8; (1 << 20) as usize])) as *mut u8 as usize; in ahci_rust_init()