Home
last modified time | relevance | path

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

/freebsd/sys/netsmb/
H A Dsmb_conn.c51 static struct smb_connobj smb_vclist; variable
79 smb_co_init(&smb_vclist, SMBL_SM, "smbsm ilock", "smbsm"); in smb_sm_init()
80 sx_xlock(&smb_vclist.co_interlock); in smb_sm_init()
81 smb_co_unlock(&smb_vclist); in smb_sm_init()
82 sx_unlock(&smb_vclist.co_interlock); in smb_sm_init()
91 if (smb_vclist.co_usecount > 1) { in smb_sm_done()
92 SMBERROR("%d connections still active\n", smb_vclist.co_usecount - 1); in smb_sm_done()
95 smb_co_done(&smb_vclist); in smb_sm_done()
104 sx_xlock(&smb_vclist.co_interlock); in smb_sm_lockvclist()
105 error = smb_co_lock(&smb_vclist); in smb_sm_lockvclist()
[all …]