Home
last modified time | relevance | path

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

/system/bpf/libbpf_android/
DLoader.cpp469 const char* prefix, size_t sizeOfBpfMapDef) { in createMaps() argument
480 if (mdData.size() % sizeOfBpfMapDef) { in createMaps()
482 mdData.size(), sizeOfBpfMapDef); in createMaps()
486 int mapCount = mdData.size() / sizeOfBpfMapDef; in createMaps()
488 size_t trimmedSize = std::min(sizeOfBpfMapDef, sizeof(struct bpf_map_def)); in createMaps()
500 dataPtr += sizeOfBpfMapDef; in createMaps()
793 size_t sizeOfBpfMapDef = in loadProg() local
815 if (sizeOfBpfMapDef < DEFAULT_SIZEOF_BPF_MAP_DEF) { in loadProg()
816 ALOGE("sizeof(bpf_map_def) of %zu is too small (< %d)\n", sizeOfBpfMapDef, in loadProg()
836 ret = createMaps(elfPath, elfFile, mapFds, prefix, sizeOfBpfMapDef); in loadProg()