Lines Matching defs:taid
50 * ht_insert(taid, id, key)
53 * if key == taid->wildcard, the key is inserted as a wildcard
58 ht_insert(table_id_t *taid, key_t id, int key)
62 hash_table table = taid->table;
65 if (key == taid->wildcard) {
67 ++taid->stats.num_dontcare;
95 if (taid->info.dontcareonly == B_TRUE) {
96 taid->info.dontcareonly = B_FALSE;
112 ++taid->stats.num_inserted;
113 if (taid->info.dontcareonly == B_TRUE) {
114 taid->info.dontcareonly = B_FALSE;
147 * ht_retrieve(taid, key, fid_table)
155 ht_retrieve(table_id_t *taid, int key, ht_match_t *fid_table)
159 hash_table table = taid->table;
162 if (key == taid->wildcard) {
167 if ((num_found = ipgpc_mark_found(taid->info.mask,
177 * remove_num_inserted(taid)
183 remove_num_inserted(table_id_t *taid)
185 --taid->stats.num_inserted;
186 if (taid->stats.num_inserted <= 0) {
187 taid->info.dontcareonly = B_TRUE;
192 * ht_remove(taid, id, key)
198 ht_remove(table_id_t *taid, key_t id, int key)
200 hash_table table = taid->table;
206 if (key == taid->wildcard) {
208 --taid->stats.num_dontcare;
217 remove_num_inserted(taid);
240 remove_num_inserted(taid);