Lines Matching refs:mapFds
617 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds, in createMaps() argument
664 mapFds.push_back(unique_fd()); in createMaps()
671 mapFds.push_back(unique_fd()); in createMaps()
678 mapFds.push_back(unique_fd()); in createMaps()
685 mapFds.push_back(unique_fd()); in createMaps()
693 mapFds.push_back(unique_fd()); in createMaps()
704 mapFds.push_back(unique_fd()); in createMaps()
837 mapFds.push_back(std::move(fd)); in createMaps()
890 static void applyMapRelo(ifstream& elfFile, vector<unique_fd> &mapFds, vector<codeSection>& cs) { in applyMapRelo() argument
910 applyRelo(cs[k].data.data(), rel[i].r_offset, mapFds[j]); in applyMapRelo()
1098 vector<unique_fd> mapFds; in loadProg() local
1185 ret = createMaps(elfPath, elfFile, mapFds, location.prefix, sizeOfBpfMapDef, bpfloader_ver); in loadProg()
1191 for (int i = 0; i < (int)mapFds.size(); i++) in loadProg()
1192 ALOGV("map_fd found at %d is %d in %s", i, mapFds[i].get(), elfPath); in loadProg()
1194 applyMapRelo(elfFile, mapFds, cs); in loadProg()