Home
last modified time | relevance | path

Searched refs:max_entries (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Conntrack_NATApp.cpp41 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/
Dset.c55 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()
Dhash_table.c84 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 …]
Dset.h52 uint32_t max_entries; member
Dhash_table.h55 uint32_t max_entries; member
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Conntrack_NATApp.cpp46 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/
DIPACM_Conntrack_NATApp.h84 int curCnt, max_entries; variable
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Conntrack_NATApp.h88 int curCnt, max_entries; variable