Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs176 let mut file: File = File::new(inode, mode)?; in open() localVariable
208 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in read() localVariable
212 let file: &mut File = file.unwrap(); in read() localVariable
226 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in write() localVariable
230 let file: &mut File = file.unwrap(); in write() localVariable
244 let file: Option<&mut File> = current_pcb().get_file_mut_by_fd(fd); in lseek() localVariable
248 let file: &mut File = file.unwrap(); in lseek() localVariable
317 let file: &mut File = match current_pcb().get_file_mut_by_fd(fd) { in getdents() 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
Dmod.rs5 pub mod file; module
/DragonOS-0.1.8/user/apps/test_sqlite3/
Dmain.c77 void file() in file() function
/DragonOS-0.1.8/kernel/src/process/
Dexec.rs98 file: Option<File>, field
165 let file = File::new(inode, FileMode::O_RDONLY)?; in load_binary_file() localVariable
/DragonOS-0.1.8/kernel/src/libs/
Delf.rs298 let file = param.file_mut(); in do_load_file() localVariable
405 let file = param.file_mut(); in parse_segments() localVariable
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs1212 let mut file: FATFile = FATFile::default(); in to_dir_entry() localVariable
1254 let mut file = FATFile::default(); in to_dir_entry_with_long_name() localVariable