Lines Matching refs:vis_hash
46 static struct hashtable_t *vis_hash;
202 while (hash_iterate(vis_hash, &hashit_count)) {
240 while (hash_iterate(vis_hash, &hashit)) {
340 /* try to add the packet to the vis_hash. return NULL if invalid (e.g. too old,
352 if (vis_hash == NULL)
355 /* see if the packet is already in vis_hash */
357 old_info = hash_find(vis_hash, &search_elem);
372 hash_remove(vis_hash, old_info);
403 if (hash_add(vis_hash, info) < 0) {
595 while (hash_iterate(vis_hash, &hashit)) {
601 hash_remove_bucket(vis_hash, &hashit);
735 if (vis_hash)
740 vis_hash = hash_new(256, vis_info_cmp, vis_info_choose);
741 if (!vis_hash) {
742 pr_err("Can't initialize vis_hash\n");
768 if (hash_add(vis_hash, my_vis_info) < 0) {
798 if (!vis_hash)
805 hash_delete(vis_hash, free_info_ref);
806 vis_hash = NULL;