Lines Matching refs:elfPath
410 static int createMaps(const char* elfPath, ifstream& elfFile, vector<unique_fd>& mapFds) { in createMaps() argument
415 string fname = pathToFilename(string(elfPath), true); in createMaps()
534 static int loadCodeSections(const char* elfPath, vector<codeSection>& cs, const string& license) { in loadCodeSections() argument
540 string fname = pathToFilename(string(elfPath), true); in loadCodeSections()
577 ALOGD("bpf_prog_load lib call for %s (%s) returned fd: %d (%s)\n", elfPath, in loadCodeSections()
616 int loadProg(const char* elfPath, bool* isCritical) { in loadProg() argument
626 ifstream elfFile(elfPath, ios::in | ios::binary); in loadProg()
634 ALOGE("Couldn't find license in %s\n", elfPath); in loadProg()
639 elfPath, (char*)license.data()); in loadProg()
644 ALOGE("Couldn't read all code sections in %s\n", elfPath); in loadProg()
651 ret = createMaps(elfPath, elfFile, mapFds); in loadProg()
653 ALOGE("Failed to create maps: (ret=%d) in %s\n", ret, elfPath); in loadProg()
658 ALOGD("map_fd found at %d is %d in %s\n", i, mapFds[i].get(), elfPath); in loadProg()
662 ret = loadCodeSections(elfPath, cs, string(license.data())); in loadProg()