Searched refs:sizeOfBpfProgDef (Results 1 – 1 of 1) sorted by relevance
313 size_t sizeOfBpfProgDef) { in readProgDefs() argument321 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() argument397 ret = readProgDefs(elfFile, pd, sizeOfBpfProgDef); in readCodeSections()795 size_t sizeOfBpfProgDef = in loadProg() local821 if (sizeOfBpfProgDef < DEFAULT_SIZEOF_BPF_PROG_DEF) { in loadProg()[all …]