Lines Matching refs:inode
310 Ok(inode) => inode, in add_dir()
424 let inode = self.0.lock(); in find() localVariable
426 if inode.metadata.file_type != FileType::Dir { in find()
432 return Ok(inode.self_ref.upgrade().ok_or(SystemError::ENOENT)?); in find()
435 return Ok(inode.parent.upgrade().ok_or(SystemError::ENOENT)?); in find()
439 return Ok(inode in find()
453 let inode: SpinLockGuard<DevFSInode> = self.0.lock(); in get_entry_name() localVariable
454 if inode.metadata.file_type != FileType::Dir { in get_entry_name()
468 let mut key: Vec<String> = inode in get_entry_name()
483 …node_id={inode_id:?}, to find={to_find:?}", key_len=key.len(), inode_id = inode.metadata.inode_id,… in get_entry_name()
525 let mut inode = self.0.lock(); in set_metadata() localVariable
526 inode.metadata.atime = metadata.atime; in set_metadata()
527 inode.metadata.mtime = metadata.mtime; in set_metadata()
528 inode.metadata.ctime = metadata.ctime; in set_metadata()
529 inode.metadata.mode = metadata.mode; in set_metadata()
530 inode.metadata.uid = metadata.uid; in set_metadata()
531 inode.metadata.gid = metadata.gid; in set_metadata()