Searched defs:File (Results 1 – 10 of 10) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | file.rs | 186 pub struct File { struct 191 mode: RwLock<FileMode>, argument 193 file_type: FileType, argument 196 pub private_data: SpinLock<FilePrivateData>, argument 201 impl File { argument 489 pub fn try_clone(&self) -> Option<File> { in try_clone() 620 impl Drop for File { implementation 705 pub fn alloc_fd(&mut self, file: File, fd: Option<i32>) -> Result<i32, SystemError> { in alloc_fd() 731 pub fn get_file_by_fd(&self, fd: i32) -> Option<Arc<File>> { in get_file_by_fd() 743 pub fn drop_fd(&mut self, fd: i32) -> Result<Arc<File>, SystemError> { in drop_fd()
|
H A D | mod.rs | 45 File, enumerator
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 181 fn process_logs(&self, kmem_file: &mut File, channel_header: &ObjectWrapper<MMLogChannel<1>>) { in process_logs() 229 fn open_kmem_file(&self) -> std::io::Result<std::fs::File> { in open_kmem_file()
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 94 file: Weak<File>, in new() 112 pub fn file(&self) -> Weak<File> { in file() 603 dst_file: Arc<File>, in ep_insert() 642 dst_file: Option<Arc<File>>, in ep_remove()
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 159 pub fn file_mut(&mut self) -> &mut File { in file_mut()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 64 File(SysKernFilePriv), enumerator
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 1387 file: Option<Arc<File>>, in new() 1412 pub fn vm_file(&self) -> Option<Arc<File>> { in vm_file() 1607 file: Option<Arc<File>>, in zeroed()
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 39 fn open_file(file_path: &str) -> File { in open_file()
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | mod.rs | 647 File, enumerator
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | entry.rs | 42 File(FATFile), enumerator
|