Lines Matching refs:hash_entry

449     lm_searcher_hash_entry_t *hash_entry = NULL;  in lm_searcher_mirror_hash_insert()  local
473 hash_entry = &context->searcher_hash.searcher_table[h_val]; in lm_searcher_mirror_hash_insert()
476 temp_ipv6 = hash_entry->num_ipv6 + (is_ipv4 ? 0 : 1); in lm_searcher_mirror_hash_insert()
477 temp_ipv4 = hash_entry->num_ipv4 + is_ipv4; in lm_searcher_mirror_hash_insert()
481 if (temp_depth_ipv4 < hash_entry->depth_ipv4) { in lm_searcher_mirror_hash_insert()
482 temp_depth_ipv4 = hash_entry->depth_ipv4; in lm_searcher_mirror_hash_insert()
491 hash_entry->num_ipv6 = temp_ipv6; in lm_searcher_mirror_hash_insert()
492 hash_entry->num_ipv4 = temp_ipv4; in lm_searcher_mirror_hash_insert()
493 hash_entry->depth_ipv4 = temp_depth_ipv4; in lm_searcher_mirror_hash_insert()
496 … if (context->searcher_hash.hash_depth_reached < hash_entry->depth_ipv4 + hash_entry->num_ipv6) { in lm_searcher_mirror_hash_insert()
497 … context->searcher_hash.hash_depth_reached = hash_entry->depth_ipv4 + hash_entry->num_ipv6; in lm_searcher_mirror_hash_insert()
518 lm_searcher_hash_entry_t *hash_entry = NULL; in lm_searcher_mirror_hash_remove() local
539 hash_entry = &context->searcher_hash.searcher_table[h_val]; in lm_searcher_mirror_hash_remove()
542 DbgBreakIf(!hash_entry->num_ipv6); in lm_searcher_mirror_hash_remove()
543 hash_entry->num_ipv6--; in lm_searcher_mirror_hash_remove()
547 DbgBreakIf(!hash_entry->num_ipv4); in lm_searcher_mirror_hash_remove()
548 hash_entry->num_ipv4--; in lm_searcher_mirror_hash_remove()
549 if (hash_entry->num_ipv4 < hash_entry->depth_ipv4) in lm_searcher_mirror_hash_remove()
551 hash_entry->depth_ipv4 = hash_entry->num_ipv4; in lm_searcher_mirror_hash_remove()