Searched refs:leak (Results 1 – 11 of 11) sorted by relevance
33 let mut sig: &mut sighand_struct = Box::leak(Box::new(sighand_struct::default())); in process_copy_sighand()89 let sig: &mut signal_struct = Box::leak(Box::new(signal_struct::default())); in process_copy_signal()104 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()
127 let fd_vec: &mut FileDescriptorVec = Box::leak(FileDescriptorVec::new()); in init_files()160 let new_fd_vec: &mut FileDescriptorVec = Box::leak(old_fds.clone()); in copy_files()368 return Box::leak(Box::new(FpState::default())) as *mut FpState as usize as *mut c_void; in rs_dup_fpstate()374 let state: &mut FpState = Box::leak(Box::new(s.clone())); in rs_dup_fpstate()
30 RT_SCHEDULER_PTR = Box::leak(Box::new(SchedulerRT::new())); in sched_rt_init()122 result.cpu_queue[cpu_id as usize].push(Box::leak(Box::new(RTQueue::new()))); in new()129 .push(Box::leak(Box::new(LinkedList::new()))); in new()
30 CFS_SCHEDULER_PTR = Box::leak(Box::new(SchedulerCFS::new())); in sched_cfs_init()125 .push(Box::leak(Box::new(CFSQueue::new(null_mut())))); in new()
114 __SYS_DEVICES_INODE = Box::leak(Box::new(devices)); in new()121 __SYS_BUS_INODE = Box::leak(Box::new(bus)); in new()128 __SYS_CLASS_INODE = Box::leak(Box::new(class)); in new()135 __SYS_FS_INODE = Box::leak(Box::new(fs)); 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
86 let f = Box::leak(Box::new(FpState::default())); in fp_state_save()
54 let root_inode = Box::leak(Box::new(mount_fs.root_inode())); in vfs_init()148 let new_root_inode = Box::leak(Box::new(new_fs.root_inode())); in migrate_virtual_filesystem()
78 Box::leak(Box::new([0u8; (1 << 20) as usize])) as *mut u8 as usize; in ahci_rust_init()
42 __SORTIRQ_VECTORS = Box::leak(Box::new(Softirq::new())); in softirq_init()