Lines Matching refs:elfPath
468 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds, in createMaps() argument
474 string fname = pathToFilename(string(elfPath), true); in createMaps()
667 static int loadCodeSections(const char* elfPath, vector<codeSection>& cs, const string& license, in loadCodeSections() argument
674 string fname = pathToFilename(string(elfPath), true); in loadCodeSections()
723 ALOGD("bpf_prog_load lib call for %s (%s) returned fd: %d (%s)\n", elfPath, in loadCodeSections()
762 int loadProg(const char* elfPath, bool* isCritical, const char* prefix) { in loadProg() argument
772 ifstream elfFile(elfPath, ios::in | ios::binary); in loadProg()
780 ALOGE("Couldn't find license in %s\n", elfPath); in loadProg()
785 elfPath, (char*)license.data()); in loadProg()
801 BPFLOADER_VERSION, elfPath, bpfLoaderMinVer); in loadProg()
808 BPFLOADER_VERSION, elfPath, bpfLoaderMaxVer); in loadProg()
813 BPFLOADER_VERSION, elfPath, bpfLoaderMinVer, bpfLoaderMaxVer); in loadProg()
829 ALOGE("Couldn't read all code sections in %s\n", elfPath); in loadProg()
836 ret = createMaps(elfPath, elfFile, mapFds, prefix, sizeOfBpfMapDef); in loadProg()
838 ALOGE("Failed to create maps: (ret=%d) in %s\n", ret, elfPath); in loadProg()
843 ALOGD("map_fd found at %d is %d in %s\n", i, mapFds[i].get(), elfPath); in loadProg()
847 ret = loadCodeSections(elfPath, cs, string(license.data()), prefix); in loadProg()