Searched defs:file (Results 1 – 5 of 5) sorted by relevance
250 let mut file: File = File::new(inode, mode)?; in do_open() localVariable269 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read() localVariable273 let file: &mut File = file.unwrap(); in do_read() localVariable286 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write() localVariable290 let file: &mut File = file.unwrap(); in do_write() localVariable303 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek() localVariable307 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
246 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents() localVariable
4 pub mod file; module
1203 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable1245 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable