Searched refs:mapFds (Results 1 – 1 of 1) sorted by relevance
/system/bpf/libbpf_android/ |
D | Loader.cpp | 383 static int createMaps(const char* elfPath, ifstream& elfFile, vector<int>& mapFds) { in createMaps() argument 398 mapFds.resize(mapNames.size()); in createMaps() 424 mapFds[i] = fd; in createMaps() 475 static void applyMapRelo(ifstream& elfFile, vector<int> mapFds, vector<codeSection>& cs) { in applyMapRelo() argument 495 applyRelo(cs[k].data.data(), rel[i].r_offset, mapFds[j]); in applyMapRelo() 551 vector<int> mapFds; in loadProg() local 574 ret = createMaps(elfPath, elfFile, mapFds); in loadProg() 580 for (int i = 0; i < (int)mapFds.size(); i++) in loadProg() 581 ALOGD("map_fd found at %d is %d in %s\n", i, mapFds[i], elfPath); in loadProg() 583 applyMapRelo(elfFile, mapFds, cs); in loadProg()
|