Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c43 static HT_HANDLE *smb_netbios_cache = 0; variable
56 if (smb_netbios_cache == NULL) { in smb_netbios_cache_init()
57 smb_netbios_cache = ht_create_table(NETBIOS_HTAB_SZ, in smb_netbios_cache_init()
59 if (smb_netbios_cache == NULL) { in smb_netbios_cache_init()
64 (void) ht_register_callback(smb_netbios_cache, hash_callback); in smb_netbios_cache_init()
65 ht_set_cmpfn(smb_netbios_cache, smb_netbios_match); in smb_netbios_cache_init()
76 ht_destroy_table(smb_netbios_cache); in smb_netbios_cache_fini()
77 smb_netbios_cache = NULL; in smb_netbios_cache_fini()
85 (void) ht_clean_table(smb_netbios_cache); in smb_netbios_cache_clean()
96 item = ht_findfirst(smb_netbios_cache, &iter->nbc_hti); in smb_netbios_cache_getfirst()
[all …]