Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlckpwdf.c59 static thread_t lck_tid = 0; /* thread that holds the lock */ variable
73 lck_tid = 0; in lckpwdf()
75 if (lck_tid == 0) { in lckpwdf()
81 lck_tid = thr_self(); in lckpwdf()
111 if (lck_tid == thr_self() && fildes >= 0) { in ulckpwdf()
117 lck_tid = 0; in ulckpwdf()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_pwdutil.c66 static thread_t lck_tid = 0; /* thread that holds the lock */ variable
825 lck_tid = 0; in smb_pwd_flck()
828 if (lck_tid == 0) { in smb_pwd_flck()
834 lck_tid = thr_self(); in smb_pwd_flck()
870 if (lck_tid == thr_self() && fildes >= 0) { in smb_pwd_fulck()
876 lck_tid = 0; in smb_pwd_fulck()