Searched refs:lower_inode (Results 1 – 2 of 2) sorted by relevance
/DragonOS/kernel/src/filesystem/overlayfs/ |
H A D | mod.rs | 98 lower_inode: Option<Arc<dyn IndexNode>>, // 只读层 field 106 lower_inode: Option<Arc<dyn IndexNode>>, in new() 113 lower_inode, in new() 174 … let lower_inode = ROOT_INODE().lookup(dir).map_err(|_| SystemError::EINVAL)?; // 处理错误 in make_overlayfs() localVariable 176 mnt: Arc::new(OvlInode::new(dir.clone(), None, Some(lower_inode))), in make_overlayfs() 267 if let Some(lower_inode) = &self.lower_inode { in read_at() 268 return lower_inode.read_at(offset, len, buf, data); in read_at() 300 if let Some(ref lower_inode) = self.lower_inode { in metadata() 301 return lower_inode.metadata(); in metadata() 317 if let Some(lower_inode) = &self.lower_inode { in list() [all …]
|
H A D | copy_up.rs | 16 let lower_inode = self.lower_inode.as_ref().ok_or(SystemError::ENOENT)?; in copy_up() localVariable 18 let metadata = lower_inode.metadata()?; in copy_up() 23 lower_inode.read_at(0, metadata.size as usize, &mut buffer, lock.lock())?; in copy_up()
|