Lines Matching refs:trie
310 struct net_trie trie; member
558 static void necp_free_domain_trie(struct necp_domain_trie *trie);
1655 struct necp_domain_trie* __single trie = NULL; in necp_session_remove_all_domain_tries() local
1657 LIST_FOREACH_SAFE(trie, &session->domain_tries, owner_chain, temp_trie) { in necp_session_remove_all_domain_tries()
1658 if (os_ref_release_locked(&trie->refcount) == 0) { in necp_session_remove_all_domain_tries()
1660 LIST_REMOVE(trie, chain); in necp_session_remove_all_domain_tries()
1662 LIST_REMOVE(trie, owner_chain); in necp_session_remove_all_domain_tries()
1663 necp_free_domain_trie(trie); in necp_session_remove_all_domain_tries()
1707 struct necp_domain_trie* __single trie = NULL; in necp_session_trie_dump_all() local
1708 LIST_FOREACH(trie, &necp_global_domain_trie_list, chain) { in necp_session_trie_dump_all()
1709 if (trie->trie_request != NULL) { in necp_session_trie_dump_all()
1710 memcpy((u_int8_t *)ptr, (u_int8_t *)trie->trie_request, sizeof(struct necp_domain_trie_request)); in necp_session_trie_dump_all()
6059 if (net_trie_init_with_mem(&new_trie->trie, trie_request->data, trie_request->total_mem_size, in necp_create_domain_trie()
6121 return net_trie_search(&necp_trie->trie, (const uint8_t *)domain, length, in necp_match_domain_with_trie()