Searched refs:max_entries (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/staticlibs/native/bpf_syscall_wrappers/include/ |
D | BpfSyscallWrappers.h | 56 uint32_t max_entries, uint32_t map_flags) { in createMap() argument 61 .max_entries = max_entries, in createMap() 72 … uint32_t max_entries, uint32_t map_flags, const BPF_FD_TYPE inner_map_fd) { in createOuterMap() argument 77 .max_entries = max_entries, in createOuterMap() 290 DEFINE_BPF_GET_FD(map, MaxEntries, max_entries) // int bpfGetFdMaxEntries(const BPF_FD_TYPE map_fd)
|
/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/ |
D | BpfRingbuf.h | 168 int max_entries = android::bpf::bpfGetFdMaxEntries(mRingFd); in Init() local 169 if (max_entries < 0) { in Init() 173 if (max_entries == 0) { in Init() 178 mPosMask = max_entries - 1; in Init() 180 mProducerSize = getpagesize() + 2 * max_entries; in Init()
|
D | bpf_map_def.h | 164 unsigned int max_entries; member
|
D | BpfMap.h | 279 uint32_t max_entries, 283 mMapFd.reset(createMap(map_type, sizeof(Key), sizeof(Value), max_entries,
|
D | bpf_helpers.h | 246 .max_entries = (num_entries), \
|
/packages/modules/Connectivity/netbpfload/ |
D | loader.cpp | 590 unsigned int desired_max_entries = mapDef.max_entries; in mapMatchesExpectations() 613 fd_value_size, mapDef.max_entries, fd_max_entries, desired_map_flags, fd_map_flags); in mapMatchesExpectations() 733 unsigned int max_entries = md[i].max_entries; in createMaps() local 735 if (max_entries < page_size) max_entries = page_size; in createMaps() 771 .max_entries = max_entries, in createMaps()
|