Lines Matching defs:KernFSInode
76 let ptr = root_inode.as_ref() as *const KernFSInode as *mut KernFSInode; in new() constant
124 pub struct KernFSInode { struct
125 inner: RwLock<InnerKernFSInode>, argument
129 self_ref: Weak<KernFSInode>, argument
135 children: SpinLock<HashMap<String, Arc<KernFSInode>>>, argument
144 parent: Weak<KernFSInode>, argument
153 impl IndexNode for KernFSInode { implementation
387 impl KernFSInode { impl
389 parent: Option<Arc<KernFSInode>>, in new()
395 ) -> Arc<KernFSInode> { in new()
416 let ptr = inode.as_ref() as *const KernFSInode as *mut KernFSInode; in new() constant
454 ) -> Result<Arc<KernFSInode>, SystemError> { in add_dir()
486 ) -> Result<Arc<KernFSInode>, SystemError> { in add_file()
510 ) -> Result<Arc<KernFSInode>, SystemError> { in inner_create()
591 target: &Arc<KernFSInode>, in add_link()
593 ) -> Result<Arc<KernFSInode>, SystemError> { in add_link()
613 pub fn parent(&self) -> Option<Arc<KernFSInode>> { in parent()
622 pub fn symlink_target(&self) -> Option<Arc<KernFSInode>> { in symlink_target()