Home
last modified time | relevance | path

Searched defs:File (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dfile.rs186 pub struct File { struct
191 mode: RwLock<FileMode>, argument
193 file_type: FileType, argument
196 pub private_data: SpinLock<FilePrivateData>, argument
201 impl File { implementation
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 Dmod.rs45 File, enumerator
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs181 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 Dmod.rs94 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 Dexec.rs159 pub fn file_mut(&mut self) -> &mut File { in file_mut()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs64 File(SysKernFilePriv), enumerator
/DragonOS/kernel/src/mm/
H A Ducontext.rs1387 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 Dexecutor.rs39 fn open_file(file_path: &str) -> File { in open_file()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs647 File, enumerator
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs42 File(FATFile), enumerator