Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/smbsrv/libmlsvc/common/
H A Dmlsvc_domain.c54 typedef struct smb_dclocator { struct
63 static smb_dclocator_t smb_dclocator; variable
128 (void) mutex_lock(&smb_dclocator.sdl_mtx); in smb_locate_dc()
130 if (!smb_dclocator.sdl_locate) { in smb_locate_dc()
131 smb_dclocator.sdl_locate = B_TRUE; in smb_locate_dc()
132 (void) strlcpy(smb_dclocator.sdl_domain, domain, in smb_locate_dc()
134 (void) strlcpy(smb_dclocator.sdl_dc, dc, MAXHOSTNAMELEN); in smb_locate_dc()
135 (void) cond_broadcast(&smb_dclocator.sdl_cv); in smb_locate_dc()
138 while (smb_dclocator.sdl_locate) { in smb_locate_dc()
141 rc = cond_reltimedwait(&smb_dclocator.sdl_cv, in smb_locate_dc()
[all …]