Home
last modified time | relevance | path

Searched defs:file (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.5/kernel/src/filesystem/vfs/
Dcore.rs232 let mut file: File = File::new(inode, mode)?; in do_open() localVariable
251 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read() localVariable
255 let file: &mut File = file.unwrap(); in do_read() localVariable
268 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write() localVariable
272 let file: &mut File = file.unwrap(); in do_write() localVariable
285 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek() localVariable
289 let file: &mut File = file.unwrap(); in do_lseek() localVariable
DVFS.h93 #define vfs_file_can_read(file) (((file)->mode) & VFS_FILE_MODE_READ) argument
94 #define vfs_file_can_write(file) (((file)->mode) & VFS_FILE_MODE_WRITE) argument
95 #define vfs_file_can_rw(file) ((((file)->mode) & VFS_FILE_MODE_RW) == VFS_FILE_MODE_RW) argument
Dsyscall.rs244 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in sys_getdents() localVariable
Dmod.rs4 pub mod file; module
/DragonOS-0.1.5/kernel/src/filesystem/fat/
Dentry.rs1192 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable
1234 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable