Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c1513 smb_share_t *cache_ent; in smb_shr_cache_addent() local
1516 if ((cache_ent = malloc(sizeof (smb_share_t))) == NULL) in smb_shr_cache_addent()
1524 bcopy(si, cache_ent, sizeof (smb_share_t)); in smb_shr_cache_addent()
1527 cache_ent->shr_refcnt = 1; in smb_shr_cache_addent()
1529 if (ht_add_item(smb_shr_cache.sc_cache, cache_ent->shr_name, cache_ent) in smb_shr_cache_addent()
1532 cache_ent->shr_name); in smb_shr_cache_addent()
1533 free(cache_ent); in smb_shr_cache_addent()