Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dcore.rs251 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()
Dsyscall.rs244 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents()
/DragonOS-0.1.5/kernel/src/process/
Dprocess.rs211 pub fn get_file_mut_by_fd(&self, fd: i32) -> Option<&mut File> { in get_file_mut_by_fd() method