Lines Matching refs:inode
666 int get_path_inode(const std::string& path, ino_t *inode) { in get_path_inode() argument
673 *inode = buf.st_ino; in get_path_inode()
684 ino_t inode = 0; in write_path_inode() local
688 if (get_path_inode(path, &inode) != 0) { in write_path_inode()
695 if (inode_raw == inode) { in write_path_inode()
699 PLOG(WARNING) << "Mismatched inode value; found " << inode in write_path_inode()
704 inode_raw = inode; in write_path_inode()
719 ino_t inode = 0; in read_path_inode() local
725 inode = inode_raw; in read_path_inode()
730 if (inode != 0) { in read_path_inode()
739 if (ent->d_ino == inode) { in read_path_inode()
743 LOG(DEBUG) << "Resolved path " << resolved << " for inode " << inode in read_path_inode()
751 LOG(WARNING) << "Failed to resolve inode " << inode << "; using " << fallback; in read_path_inode()