Searched refs:file_cp (Results 1 – 1 of 1) sorted by relevance
384 let file_cp: Box<File> = file.try_clone().ok_or(SystemError::EBADF)?; in dup() localVariable387 let res = current_pcb().alloc_fd(*file_cp, None).map(|x| x as usize); in dup()432 let file_cp = file.try_clone(); in dup2() localVariable433 if file_cp.is_none() { in dup2()438 .alloc_fd(*file_cp.unwrap(), Some(newfd)) in dup2()