Home
last modified time | relevance | path

Searched refs:get_file_mut_by_fd (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dcore.rs269 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()
Dsyscall.rs246 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents()
/DragonOS-0.1.7/kernel/src/process/
Dprocess.rs233 pub fn get_file_mut_by_fd(&self, fd: i32) -> Option<&mut File> { in get_file_mut_by_fd() method
303 let f = self.get_file_mut_by_fd(fd)?; in get_socket()