Searched refs:try_clone (Results 1 – 4 of 4) sorted by relevance
501 pub fn try_clone(&self) -> Option<File> { in try_clone() method681 if let Some(file) = file.try_clone() { in clone()
1059 let new_file = old_file.try_clone().ok_or(SystemError::EBADF)?; in dup()1136 let new_file = old_file.try_clone().ok_or(SystemError::EBADF)?; in do_dup3()
256 let new_address_space = old_address_space.write_irqsave().try_clone().unwrap_or_else(|e| { in copy_mm()
161 pub fn try_clone(&mut self) -> Result<Arc<AddressSpace>, SystemError> { in try_clone() method