Lines Matching refs:inode
730 int get_path_inode(const std::string& path, ino_t *inode) { in get_path_inode() argument
737 *inode = buf.st_ino; in get_path_inode()
748 ino_t inode = 0; in write_path_inode() local
752 if (get_path_inode(path, &inode) != 0) { in write_path_inode()
759 if (inode_raw == inode) { in write_path_inode()
763 PLOG(WARNING) << "Mismatched inode value; found " << inode in write_path_inode()
768 inode_raw = inode; in write_path_inode()
783 ino_t inode = 0; in read_path_inode() local
789 inode = inode_raw; in read_path_inode()
794 if (inode != 0) { in read_path_inode()
803 if (ent->d_ino == inode) { in read_path_inode()
807 LOG(DEBUG) << "Resolved path " << resolved << " for inode " << inode in read_path_inode()
815 LOG(WARNING) << "Failed to resolve inode " << inode << "; using " << fallback; in read_path_inode()