Home
last modified time | relevance | path

Searched refs:upper_inode (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/filesystem/overlayfs/
H A Dmod.rs97 upper_inode: SpinLock<Option<Arc<dyn IndexNode>>>, // 读写层 field
112 upper_inode: SpinLock::new(upper), in new()
156 let upper_inode = ROOT_INODE() in make_overlayfs() localVariable
162 Some(upper_inode), in make_overlayfs()
220 let mut upper_inode = self.upper_inode.lock(); in create_whiteout() localVariable
221 if let Some(ref upper_inode) = *upper_inode { in create_whiteout()
222 upper_inode.mknod(name, whiteout_mode, WHITEOUT_DEV)?; in create_whiteout()
230 *upper_inode = Some(new_inode); in create_whiteout()
243 let upper_inode = self.upper_inode.lock(); in has_whiteout() localVariable
244 if let Some(ref upper_inode) = *upper_inode { in has_whiteout()
[all …]
H A Dcopy_up.rs11 let mut upper_inode = self.upper_inode.lock(); in copy_up() localVariable
12 if upper_inode.is_some() { in copy_up()
27 *upper_inode = Some(new_upper_inode); in copy_up()
33 let upper_inode = self.upper_inode.lock(); in create_upper_inode() localVariable
34 let upper_root_inode = upper_inode in create_upper_inode()