Searched refs:createMap (Results 1 – 6 of 6) sorted by relevance
/system/netd/libnetdbpf/ |
D | BpfNetworkStatsTest.cpp | 83 mFakeCookieTagMap = BpfMap<uint64_t, UidTag>(createMap( in SetUp() 87 mFakeAppUidStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp() 92 createMap(BPF_MAP_TYPE_HASH, sizeof(struct StatsKey), sizeof(struct StatsValue), in SetUp() 97 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(IfaceValue), TEST_MAP_SIZE, 0)); in SetUp() 100 mFakeIfaceStatsMap = BpfMap<uint32_t, StatsValue>(createMap( in SetUp()
|
/system/netd/server/ |
D | TrafficControllerTest.cpp | 81 mFakeCookieTagMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint64_t), in SetUp() 86 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp() 89 mFakeAppUidStatsMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), in SetUp() 93 mFakeStatsMapA.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(struct StatsKey), in SetUp() 98 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), 1, 0)); in SetUp() 101 mFakeUidOwnerMap.reset(createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(UidOwnerValue), in SetUp() 105 createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint8_t), TEST_MAP_SIZE, 0)); in SetUp()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfUtils.h | 148 int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, uint32_t max_entries,
|
D | BpfMap.h | 52 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
|
/system/bpf/libbpf_android/ |
D | BpfUtils.cpp | 78 int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, uint32_t max_entries, in createMap() function
|
D | BpfMapTest.cpp | 64 mMapFd = createMap(BPF_MAP_TYPE_HASH, sizeof(uint32_t), sizeof(uint32_t), TEST_MAP_SIZE, in SetUp()
|