Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dcore.rs250 let mut file: File = File::new(inode, mode)?; in do_open() localVariable
269 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_read() localVariable
273 let file: &mut File = file.unwrap(); in do_read() localVariable
286 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_write() localVariable
290 let file: &mut File = file.unwrap(); in do_write() localVariable
303 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in do_lseek() localVariable
307 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.rs246 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.7/kernel/src/filesystem/fat/
Dentry.rs1203 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable
1245 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable