Home
last modified time | relevance | path

Searched refs:sizeOfBpfProgDef (Results 1 – 1 of 1) sorted by relevance

/system/bpf/libbpf_android/
DLoader.cpp313 size_t sizeOfBpfProgDef) { in readProgDefs() argument
321 if (pdData.size() % sizeOfBpfProgDef) { in readProgDefs()
323 pdData.size(), sizeOfBpfProgDef); in readProgDefs()
327 int progCount = pdData.size() / sizeOfBpfProgDef; in readProgDefs()
329 size_t trimmedSize = std::min(sizeOfBpfProgDef, sizeof(struct bpf_prog_def)); in readProgDefs()
340 dataPtr += sizeOfBpfProgDef; in readProgDefs()
388 static int readCodeSections(ifstream& elfFile, vector<codeSection>& cs, size_t sizeOfBpfProgDef) { in readCodeSections() argument
397 ret = readProgDefs(elfFile, pd, sizeOfBpfProgDef); in readCodeSections()
795 size_t sizeOfBpfProgDef = in loadProg() local
821 if (sizeOfBpfProgDef < DEFAULT_SIZEOF_BPF_PROG_DEF) { in loadProg()
[all …]