Searched refs:VCTOCP (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/netsmb/ |
H A D | smb_conn.c | 409 smb_co_init(VCTOCP(vcp), SMBL_VC, "smb_vc ilock", "smb_vc"); in smb_vc_create() 487 smb_co_addchild(&smb_vclist, VCTOCP(vcp)); in smb_vc_create() 528 smb_co_done(VCTOCP(vcp)); in smb_vc_free() 547 smb_co_ref(VCTOCP(vcp)); in smb_vc_ref() 553 smb_co_rele(VCTOCP(vcp), scred); in smb_vc_rele() 562 cp = VCTOCP(vcp); in smb_vc_get() 572 smb_co_put(VCTOCP(vcp), scred); in smb_vc_put() 581 cp = VCTOCP(vcp); in smb_vc_lock() 594 cp = VCTOCP(vcp); in smb_vc_unlock() 655 SMBCO_FOREACH(scp, VCTOCP(vcp)) { in smb_vc_lookupshare() [all …]
|
H A D | smb_smb.c | 137 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_NEGOTIATE, scred, &rqp); in smb_smb_negotiate() 314 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_SESSION_SETUP_ANDX, scred, &rqp); in smb_smb_ssnsetup() 450 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_LOGOFF_ANDX, scred, &rqp); in smb_smb_ssnclose() 932 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_ECHO, scred, &rqp); in smb_smb_echo()
|
H A D | smb_conn.h | 307 #define VCTOCP(vcp) (&(vcp)->obj) macro
|