Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_helpers.h238 #define DEFINE_BPF_MAP_BASE(the_map, TYPE, keysize, valuesize, num_entries, \ argument
246 .max_entries = (num_entries), \
316 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument
320 num_entries, usr, grp, md, selinux, pindir, share, \
323 BPF_MAP_ASSERT_OK(BPF_MAP_TYPE_##TYPE, (num_entries), (md)); \
356 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument
357 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \
362 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument
363 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, \
366 #define DEFINE_BPF_MAP_RO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument
[all …]
/packages/modules/Connectivity/bpf_progs/
Dnetd.c62 #define DEFINE_BPF_MAP_NO_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
63 DEFINE_BPF_MAP_EXT(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \
69 #define DEFINE_BPF_MAP_RO_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
70 DEFINE_BPF_MAP_EXT(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \
76 #define DEFINE_BPF_MAP_RW_NETD(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries) \ argument
77 DEFINE_BPF_MAP_UGM(the_map, TYPE, TypeOfKey, TypeOfValue, num_entries, \
/packages/modules/Bluetooth/system/bta/le_audio/
Dclient_parser.cc257 uint8_t num_entries; in ParseAseCtpNotification() local
265 STREAM_TO_UINT8(num_entries, value); in ParseAseCtpNotification()
267 if (len != kCtpNtfMinLen + (num_entries * kCtpAseEntryMinLen)) { in ParseAseCtpNotification()
272 for (int i = 0; i < num_entries; i++) { in ParseAseCtpNotification()
284 ctp_opcode_map_string[ntf.op], ntf.op, (int)num_entries); in ParseAseCtpNotification()
285 for (size_t i = 0; i < num_entries; i++) in ParseAseCtpNotification()
/packages/modules/Bluetooth/system/gd/common/
Dlist_map_test.cc331 int num_entries = 0xFFFF; // 2^16 = 65535 in TEST() local
335 for (int key = 0; key < num_entries; key++) { in TEST()
340 for (int key = 0; key < num_entries; key++) { in TEST()
345 for (int key = 0; key < num_entries; key++) { in TEST()
/packages/modules/DnsResolver/
Dres_cache.cpp973 num_entries = 0; in flush()
993 int num_entries = 0; member
1141 std::string buf = fmt::format("MRU LIST ({:2d}): ", cache->num_entries); in cache_dump_mru_locked()
1188 cache->num_entries += 1; in _cache_add_p()
1190 LOG(DEBUG) << __func__ << ": entry " << e->id << " added (count=" << cache->num_entries << ")"; in _cache_add_p()
1200 LOG(DEBUG) << __func__ << ": entry " << e->id << " removed (count=" << cache->num_entries - 1 in _cache_remove_p()
1206 cache->num_entries -= 1; in _cache_remove_p()
1379 if (cache->num_entries >= cache->get_max_cache_entries()) { in resolv_cache_add()
1381 if (cache->num_entries >= cache->get_max_cache_entries()) { in resolv_cache_add()