Home
last modified time | relevance | path

Searched defs:inode (Results 1 – 25 of 58) sorted by relevance

123

/DragonOS/kernel/src/filesystem/vfs/
H A Dopen.rs86 let inode = if follow_symlink { in do_fchownat() localVariable
100 let inode = inode.unwrap(); in do_fchownat() localVariable
143 let inode = fd_table.get_file_by_fd(fd).unwrap().inode(); in ksys_fchown() localVariable
173 let inode: Result<Arc<dyn IndexNode>, SystemError> = inode_begin.lookup_follow_symlink( in do_sys_openat2() localVariable
182 let inode: Arc<dyn IndexNode> = match inode { in do_sys_openat2() localVariable
195 let inode: Arc<dyn IndexNode> = parent_inode.create( in do_sys_openat2() localVariable
255 let inode = match pathname { localVariable
259 let inode = if flags.contains(UtimensFlags::AT_SYMLINK_NOFOLLOW) { localVariable
305 let inode = inode_begin.lookup_follow_symlink(path.as_str(), VFS_MAX_FOLLOW_SYMLINK_TIMES)?; localVariable
H A Dfile.rs130 inode: Lazy<Weak<dyn IndexNode>>, field
164 pub fn inode(&self) -> Option<Weak<dyn IndexNode>> { in inode() method
199 inode: Arc<dyn IndexNode>, field
219 let mut inode = inode; in new() localVariable
441 let inode: &Arc<dyn IndexNode> = &self.inode; in readdir() localVariable
494 pub fn inode(&self) -> Arc<dyn IndexNode> { in inode() method
584 let inode = self.inode.downcast_ref::<SocketInode>().unwrap(); in add_epoll() localVariable
590 let inode = self.inode.downcast_ref::<LockedPipeInode>().unwrap(); in add_epoll() localVariable
608 let inode = self.inode.downcast_ref::<SocketInode>().unwrap(); in remove_epoll() localVariable
614 let inode = self.inode.downcast_ref::<LockedPipeInode>().unwrap(); in remove_epoll() localVariable
[all …]
H A Dcore.rs225 let inode: Result<Arc<dyn IndexNode>, SystemError> = in do_unlink_at() localVariable
319 let inode = current_node.lookup_follow_symlink(&rest_path, VFS_MAX_FOLLOW_SYMLINK_TIMES)?; in do_mount() localVariable
347 let inode = do_mkdir_at( in do_mount_mkdir() localVariable
H A Dutils.rs45 let mut inode = ROOT_INODE(); in user_path_at() localVariable
H A Dsyscall.rs98 inode: u64, field
727 let inode = in chdir() localVariable
1379 let inode = ROOT_INODE().lookup_follow_symlink(&remain_path, MAX_PATHLEN)?; in statfs() localVariable
1516 let inode: Result<Arc<dyn IndexNode>, SystemError> = in mknod() localVariable
1570 let inode = inode.lookup(path.as_str())?; in readlink_at() localVariable
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs174 let mut inode = self.0.lock(); in truncate() localVariable
211 let inode: SpinLockGuard<RamFSInode> = self.0.lock(); in read_at() localVariable
244 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in write_at() localVariable
272 let inode = self.0.lock(); in metadata() localVariable
280 let mut inode = self.0.lock(); in set_metadata() localVariable
292 let mut inode = self.0.lock(); in resize() localVariable
310 let mut inode = self.0.lock(); in create_with_data() localVariable
361 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in link() localVariable
389 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in unlink() localVariable
414 let mut inode: SpinLockGuard<RamFSInode> = self.0.lock(); in rmdir() localVariable
[all …]
/DragonOS/kernel/src/filesystem/procfs/
H A Dmod.rs368 let inode = result.root_inode(); in new() localVariable
405 let inode: Arc<dyn IndexNode> = self.root_inode(); in register_pid() localVariable
458 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in open() localVariable
503 let inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in read_at() localVariable
564 let inode = self.0.lock(); in metadata() localVariable
571 let mut inode = self.0.lock(); in set_metadata() localVariable
583 let mut inode = self.0.lock(); in resize() localVariable
600 let mut inode = self.0.lock(); in create_with_data() localVariable
655 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in link() localVariable
683 let mut inode: SpinLockGuard<ProcFSInode> = self.0.lock(); in unlink() localVariable
[all …]
/DragonOS/kernel/src/ipc/
H A Dpipe.rs173 let inode = self.inner.lock(); in readable() localVariable
178 let inode = self.inner.lock(); in writeable() localVariable
206 let mut inode = self.inner.lock(); in read_at() localVariable
300 let inode = self.inner.lock(); in metadata() localVariable
361 let mut inode = self.inner.lock(); in write_at() localVariable
/DragonOS/kernel/src/filesystem/devfs/
H A Dzero_dev.rs35 let inode = ZeroInode { in new() localVariable
100 let mut inode = self.0.lock(); in set_metadata() localVariable
H A Dnull_dev.rs35 let inode = NullInode { in new() localVariable
100 let mut inode = self.0.lock(); in set_metadata() localVariable
H A Dmod.rs424 let inode = self.0.lock(); in find() localVariable
453 let inode: SpinLockGuard<DevFSInode> = self.0.lock(); in get_entry_name() localVariable
525 let mut inode = self.0.lock(); in set_metadata() localVariable
/DragonOS/kernel/src/filesystem/overlayfs/
H A Dentry.rs25 inode: Arc<dyn IndexNode>, field
/DragonOS/kernel/src/virt/kvm/
H A Dvcpu_dev.rs65 let inode = VcpuInode { in new() localVariable
127 let mut inode = self.0.lock(); in set_metadata() localVariable
H A Dvm_dev.rs63 let inode = VmInode { in new() localVariable
125 let mut inode = self.0.lock(); in set_metadata() localVariable
H A Dkvm_dev.rs54 let inode = KvmInode { in new() localVariable
119 let mut inode = self.0.lock(); in set_metadata() localVariable
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs76 let inode = PS2KeyBoardInode { in new() localVariable
154 let mut inode = self.0.write(); in set_metadata() localVariable
/DragonOS/kernel/src/filesystem/sysfs/
H A Dgroup.rs134 let inode = kobj.inode().unwrap(); in remove_group() localVariable
H A Dfile.rs110 let inode = kobj.inode().ok_or(SystemError::EINVAL)?; in create_file() localVariable
209 let inode = kobj.inode().ok_or(SystemError::EINVAL)?; in create_bin_file() localVariable
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs399 let inode = Arc::new(KernFSInode { in new() localVariable
568 let inode = children.get(name).ok_or(SystemError::ENOENT)?; in remove() localVariable
595 let inode = self.inner_create( in add_link() localVariable
/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs33 let inode = ROOT_INODE().find("proc").unwrap_or_else(|_| ROOT_INODE()); in new() localVariable
/DragonOS/kernel/src/driver/open_firmware/
H A Ddevice_node.rs113 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
/DragonOS/kernel/src/driver/pci/test/
H A Dpt_driver.rs124 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs60 inode: Option<Arc<KernFSInode>>, field
452 fn inode(&self) -> Option<Arc<crate::filesystem::kernfs::KernFSInode>> { in inode() method
/DragonOS/kernel/src/driver/input/serio/i8042/
H A Di8042_driver.rs143 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
/DragonOS/kernel/src/driver/rtc/
H A Drtc_cmos.rs158 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method

123