Lines Matching refs:sizeOfBpfProgDef
402 size_t sizeOfBpfProgDef) { in readProgDefs() argument
407 if (pdData.size() % sizeOfBpfProgDef) { in readProgDefs()
409 pdData.size(), sizeOfBpfProgDef); in readProgDefs()
413 int progCount = pdData.size() / sizeOfBpfProgDef; in readProgDefs()
415 size_t trimmedSize = std::min(sizeOfBpfProgDef, sizeof(struct bpf_prog_def)); in readProgDefs()
426 dataPtr += sizeOfBpfProgDef; in readProgDefs()
477 static int readCodeSections(ifstream& elfFile, vector<codeSection>& cs, size_t sizeOfBpfProgDef) { in readCodeSections() argument
486 ret = readProgDefs(elfFile, pd, sizeOfBpfProgDef); in readCodeSections()
1131 size_t sizeOfBpfProgDef = in loadProg() local
1170 if (sizeOfBpfProgDef < DEFAULT_SIZEOF_BPF_PROG_DEF) { in loadProg()
1171 ALOGE("sizeof(bpf_prog_def) of %zu is too small (< %d)", sizeOfBpfProgDef, in loadProg()
1176 ret = readCodeSections(elfFile, cs, sizeOfBpfProgDef); in loadProg()