/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 86 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 D | file.rs | 130 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 D | core.rs | 225 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 D | utils.rs | 45 let mut inode = ROOT_INODE(); in user_path_at() localVariable
|
H A D | syscall.rs | 98 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 D | mod.rs | 174 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 D | mod.rs | 368 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 D | pipe.rs | 173 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 D | zero_dev.rs | 35 let inode = ZeroInode { in new() localVariable 100 let mut inode = self.0.lock(); in set_metadata() localVariable
|
H A D | null_dev.rs | 35 let inode = NullInode { in new() localVariable 100 let mut inode = self.0.lock(); in set_metadata() localVariable
|
H A D | mod.rs | 424 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 D | entry.rs | 25 inode: Arc<dyn IndexNode>, field
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | vcpu_dev.rs | 65 let inode = VcpuInode { in new() localVariable 127 let mut inode = self.0.lock(); in set_metadata() localVariable
|
H A D | vm_dev.rs | 63 let inode = VmInode { in new() localVariable 125 let mut inode = self.0.lock(); in set_metadata() localVariable
|
H A D | kvm_dev.rs | 54 let inode = KvmInode { in new() localVariable 119 let mut inode = self.0.lock(); in set_metadata() localVariable
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 76 let inode = PS2KeyBoardInode { in new() localVariable 154 let mut inode = self.0.write(); in set_metadata() localVariable
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | group.rs | 134 let inode = kobj.inode().unwrap(); in remove_group() localVariable
|
H A D | file.rs | 110 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 D | mod.rs | 399 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 D | namespace.rs | 33 let inode = ROOT_INODE().find("proc").unwrap_or_else(|_| ROOT_INODE()); in new() localVariable
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | device_node.rs | 113 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
|
/DragonOS/kernel/src/driver/pci/test/ |
H A D | pt_driver.rs | 124 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 60 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 D | i8042_driver.rs | 143 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
|
/DragonOS/kernel/src/driver/rtc/ |
H A D | rtc_cmos.rs | 158 fn inode(&self) -> Option<Arc<KernFSInode>> { in inode() method
|