Searched refs:get_file_mut_by_fd (Results 1 – 3 of 3) sorted by relevance
251 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read()268 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write()285 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek()
244 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents()
211 pub fn get_file_mut_by_fd(&self, fd: i32) -> Option<&mut File> { in get_file_mut_by_fd() method