Searched refs:sizeOfBpfProgDef (Results 1 – 1 of 1) sorted by relevance
402 size_t sizeOfBpfProgDef) { in readProgDefs() argument407 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() argument486 ret = readProgDefs(elfFile, pd, sizeOfBpfProgDef); in readCodeSections()1131 size_t sizeOfBpfProgDef = in loadProg() local1170 if (sizeOfBpfProgDef < DEFAULT_SIZEOF_BPF_PROG_DEF) { in loadProg()[all …]