Searched defs:file (Results 1 – 7 of 7) sorted by relevance
176 let mut file: File = File::new(inode, mode)?; in open() localVariable208 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in read() localVariable212 let file: &mut File = file.unwrap(); in read() localVariable226 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in write() localVariable230 let file: &mut File = file.unwrap(); in write() localVariable244 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in lseek() localVariable248 let file: &mut File = file.unwrap(); in lseek() localVariable317 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in getdents() 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
5 pub mod file; module
77 void file() in file() function
98 file: Option<File>, field165 let file = File::new(inode, FileMode::O_RDONLY)?; in load_binary_file() localVariable
298 let file = param.file_mut(); in do_load_file() localVariable405 let file = param.file_mut(); in parse_segments() localVariable
1212 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable1254 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable