Searched refs:max_entries (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 41 max_entries = 0; in NatApp() 70 max_entries = pConfig->GetNatMaxEntries(); in Init() 72 size = (sizeof(nat_table_entry) * max_entries); in Init() 144 memset(cache, 0, sizeof(nat_table_entry) * max_entries); in AddTable() 148 ret = ipa_nat_add_ipv4_tbl(pub_ip, max_entries, &nat_table_hdl); in AddTable() 159 for(cnt = 0; cnt < max_entries; cnt++) in AddTable() 201 for(cnt = 0; cnt < max_entries; cnt++) in Reset() 239 for(; cnt < max_entries; cnt++) in ChkForDup() 266 for(; cnt < max_entries; cnt++) in DeleteEntry() 328 for(; cnt < max_entries; cnt++) in AddEntry() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | set.c | 55 uint32_t max_entries, size, rehash; member 58 #define ENTRY(max_entries, size, rehash) \ argument 59 { max_entries, size, rehash, \ 130 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_set_init() 336 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in set_rehash() 358 ht->max_entries = hash_sizes[ht->size_index].max_entries; in set_rehash() 379 while (hash_sizes[size_index].max_entries < entries) in _mesa_set_resize() 399 if (ht->entries >= ht->max_entries) { in set_search_or_add() 401 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in set_search_or_add()
|
D | hash_table.c | 84 uint32_t max_entries, size, rehash; member 87 #define ENTRY(max_entries, size, rehash) \ argument 88 { max_entries, size, rehash, \ 160 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_hash_table_init() 394 if (ht->size_index == new_size_index && ht->deleted_entries == ht->max_entries) { in _mesa_hash_table_rehash() 416 ht->max_entries = hash_sizes[ht->size_index].max_entries; in _mesa_hash_table_rehash() 437 if (ht->entries >= ht->max_entries) { in hash_table_insert() 439 } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { in hash_table_insert() 734 if (size < ht->max_entries) in _mesa_hash_table_reserve() 737 if (hash_sizes[i].max_entries >= size) { in _mesa_hash_table_reserve() [all …]
|
D | set.h | 52 uint32_t max_entries; member
|
D | hash_table.h | 55 uint32_t max_entries; member
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 46 max_entries = 0; in NatApp() 88 max_entries = pConfig->GetNatMaxEntries(); in Init() 90 size = (sizeof(nat_table_entry) * max_entries); in Init() 174 memset(cache, 0, sizeof(nat_table_entry) * max_entries); in AddTable() 178 ret = ipa_nat_add_ipv4_tbl(pub_ip, max_entries, &nat_table_hdl); in AddTable() 202 for(cnt = 0; cnt < max_entries; cnt++) in AddTable() 278 for(cnt = 0; cnt < max_entries; cnt++) in DeleteTable() 316 for(; cnt < max_entries; cnt++) in ChkForDup() 344 for(; cnt < max_entries; cnt++) in DeleteEntry() 422 for(; cnt < max_entries; cnt++) in AddEntry() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Conntrack_NATApp.h | 84 int curCnt, max_entries; variable
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Conntrack_NATApp.h | 88 int curCnt, max_entries; variable
|