Lines Matching refs:mapFds
468 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds, in createMaps() argument
512 mapFds.push_back(unique_fd()); in createMaps()
519 mapFds.push_back(unique_fd()); in createMaps()
526 mapFds.push_back(unique_fd()); in createMaps()
533 mapFds.push_back(unique_fd()); in createMaps()
588 mapFds.push_back(std::move(fd)); in createMaps()
639 static void applyMapRelo(ifstream& elfFile, vector<unique_fd> &mapFds, vector<codeSection>& cs) { in applyMapRelo() argument
659 applyRelo(cs[k].data.data(), rel[i].r_offset, mapFds[j]); in applyMapRelo()
766 vector<unique_fd> mapFds; in loadProg() local
836 ret = createMaps(elfPath, elfFile, mapFds, prefix, sizeOfBpfMapDef); in loadProg()
842 for (int i = 0; i < (int)mapFds.size(); i++) in loadProg()
843 ALOGD("map_fd found at %d is %d in %s\n", i, mapFds[i].get(), elfPath); in loadProg()
845 applyMapRelo(elfFile, mapFds, cs); in loadProg()