Home
last modified time | relevance | path

Searched defs:fs (Results 1 – 25 of 37) sorted by relevance

12

/DragonOS/kernel/src/filesystem/fat/
H A Dmod.rs3 pub mod fs; module
H A Dfs.rs116 fs: Weak<FATFileSystem>, field
1425 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in write_at() localVariable
1451 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in create() localVariable
1477 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
1500 let fs: &Arc<FATFileSystem> = &guard.fs.upgrade().unwrap(); in resize() localVariable
1699 let fs = old_inode_guard.fs.upgrade().unwrap(); in move_to() localVariable
1726 let fs = old_inode_guard.fs.upgrade().unwrap(); in move_to() localVariable
1890 fs: &'a FATFileSystem, field
/DragonOS/kernel/src/filesystem/devfs/
H A Dzero_dev.rs25 fs: Weak<DevFS>, field
91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
H A Dnull_dev.rs25 fs: Weak<DevFS>, field
91 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
H A Dmod.rs251 fs: Weak<DevFS>, field
448 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/virt/kvm/
H A Dvcpu_dev.rs54 fs: Weak<DevFS>, field
118 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
H A Dvm_dev.rs52 fs: Weak<DevFS>, field
116 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
H A Dkvm_dev.rs44 fs: Weak<DevFS>, field
110 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs130 fs: Weak<DevPtsFs>, field
186 fn fs(&self) -> alloc::sync::Arc<dyn super::vfs::FileSystem> { in fs() method
233 let fs = guard.fs.upgrade().unwrap(); in create_with_data() localVariable
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs69 fs: Weak<DevFS>, field
165 fn fs(&self) -> alloc::sync::Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs125 fs: Weak<ProcFS>, field
555 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
812 let fs = procfs_inode.fs(); in procfs_register_pid() localVariable
829 let fs: Arc<dyn FileSystem> = procfs_inode.fs(); in procfs_unregister_pid() localVariable
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs66 fs: Weak<RamFS>, field
159 let fs = RamFS::new(); in make_ramfs() localVariable
263 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs100 fs: Weak<OverlayFS>, field
197 let fs = OverlayFS { in make_overlayfs() localVariable
291 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/namespaces/
H A Dmod.rs24 pub fs: Arc<SpinLock<FsStruct>>, field
H A Dnamespace.rs113 let fs = current.fs_struct(); in commit_nsset() localVariable
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs71 let fs = Arc::new(Self { in new() localVariable
127 fs: RwLock<Weak<KernFS>>, field
297 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs87 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/mm/
H A Dfault.rs352 let fs = pfm.vma().lock_irqsave().vm_file().unwrap().inode().fs(); in do_read_fault() localVariable
571 let fs = pfm.vma().lock_irqsave().vm_file().unwrap().inode().fs(); in do_fault_around() localVariable
/DragonOS/kernel/src/perf/
H A Dkprobe.rs106 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/driver/tty/pty/
H A Dunix98pty.rs256 let fs = pts_root_inode in ptmx_open() localVariable
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs106 fs: RwLock<Weak<DevFS>>, field
278 fn fs(&self) -> Arc<dyn crate::filesystem::vfs::FileSystem> { in fs() method
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs239 fn fs(&self) -> Arc<dyn FileSystem> { in fs() method
/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs223 pub fn fs(&self) -> &Arc<KernFS> { in fs() method
/DragonOS/kernel/src/ipc/
H A Dpipe.rs436 fn fs(&self) -> Arc<(dyn FileSystem)> { in fs() method
/DragonOS/kernel/src/sched/
H A Dmod.rs229 let fs = 32 - fact_hi.leading_zeros(); in calculate_delta() localVariable
244 let fs = 32 - fact_hi.leading_zeros(); in calculate_delta() localVariable

12