Searched refs:new_fd (Results 1 – 2 of 2) sorted by relevance
206 let new_fd = fd.unwrap(); in alloc_fd() localVariable207 let x = &mut fds.fds[new_fd as usize]; in alloc_fd()210 return Ok(new_fd); in alloc_fd()
520 let new_fd = current_pcb().alloc_fd(File::new(new_socket, FileMode::O_RDWR)?, None)?; in do_accept() localVariable530 return Ok(new_fd as i64); in do_accept()