Searched refs:get_file_mut_by_fd (Results 1 – 3 of 3) sorted by relevance
269 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read()286 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write()303 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek()
246 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents()
233 pub fn get_file_mut_by_fd(&self, fd: i32) -> Option<&mut File> { in get_file_mut_by_fd() method303 let f = self.get_file_mut_by_fd(fd)?; in get_socket()