Searched defs:file (Results 1 – 5 of 5) sorted by relevance
232 let mut file: File = File::new(inode, mode)?; in do_open() localVariable251 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read() localVariable255 let file: &mut File = file.unwrap(); in do_read() localVariable268 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write() localVariable272 let file: &mut File = file.unwrap(); in do_write() localVariable285 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek() localVariable289 let file: &mut File = file.unwrap(); in do_lseek() localVariable
93 #define vfs_file_can_read(file) (((file)->mode) & VFS_FILE_MODE_READ) argument94 #define vfs_file_can_write(file) (((file)->mode) & VFS_FILE_MODE_WRITE) argument95 #define vfs_file_can_rw(file) ((((file)->mode) & VFS_FILE_MODE_RW) == VFS_FILE_MODE_RW) argument
244 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents() localVariable
4 pub mod file; module
1192 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable1234 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable