Searched refs:max_entries (Results 1 – 7 of 7) sorted by relevance
/system/bpf/progs/include/ |
D | bpf_helpers.h | 51 .max_entries = (num_entries), \ 105 unsigned int max_entries; member
|
/system/security/keystore/ |
D | auth_token_table.h | 46 explicit AuthTokenTable(size_t max_entries = 32, time_t (*clock_function)() = clock_gettime_raw) 47 : max_entries_(max_entries), last_off_body_(clock_function()), in max_entries_() argument
|
/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() argument 85 attr.max_entries = max_entries; in createMap()
|
D | Loader.cpp | 93 unsigned int max_entries; member 412 md[i].max_entries, md[i].map_flags); in createMaps()
|
/system/bpf/libbpf_android/include/bpf/ |
D | BpfMap.h | 51 BpfMap<Key, Value>(bpf_map_type map_type, uint32_t max_entries, uint32_t map_flags) { 52 int map_fd = createMap(map_type, sizeof(Key), sizeof(Value), max_entries, map_flags);
|
D | BpfUtils.h | 148 int createMap(bpf_map_type map_type, uint32_t key_size, uint32_t value_size, uint32_t max_entries,
|
/system/netd/resolv/ |
D | res_cache.cpp | 1125 int max_entries; member 1251 for (nn = 0; nn < cache->max_entries; nn++) { in cache_flush_locked() 1276 cache->max_entries = CONFIG_MAX_ENTRIES; in resolv_cache_create() 1277 cache->entries = (Entry*) calloc(sizeof(*cache->entries), cache->max_entries); in resolv_cache_create() 1326 int index = key->hash % cache->max_entries; in _cache_lookup_p() 1556 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add() 1558 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add()
|