Lines Matching refs:sr
40 smb_pre_echo(smb_request_t *sr) in smb_pre_echo() argument
42 DTRACE_SMB_START(op__Echo, smb_request_t *, sr); in smb_pre_echo()
47 smb_post_echo(smb_request_t *sr) in smb_post_echo() argument
49 DTRACE_SMB_DONE(op__Echo, smb_request_t *, sr); in smb_post_echo()
55 smb_com_echo(struct smb_request *sr) in smb_com_echo() argument
64 pid_hi = sr->smb_pid >> 16; in smb_com_echo()
65 pid_lo = (uint16_t)sr->smb_pid; in smb_com_echo()
67 if (smbsr_decode_vwv(sr, "w", &necho) != 0) in smb_com_echo()
77 nbytes = sr->smb_bcc; in smb_com_echo()
78 data = smb_srm_zalloc(sr, nbytes); in smb_com_echo()
80 if (smb_mbc_decodef(&sr->smb_data, "#c", nbytes, data)) in smb_com_echo()
89 if (sr->sr_state != SMB_REQ_STATE_ACTIVE) in smb_com_echo()
95 sr->first_smb_com, in smb_com_echo()
96 sr->smb_rcls, in smb_com_echo()
97 sr->smb_reh, in smb_com_echo()
98 sr->smb_err, in smb_com_echo()
99 sr->smb_flg | SMB_FLAGS_REPLY, in smb_com_echo()
100 sr->smb_flg2, in smb_com_echo()
102 sr->smb_sig, in smb_com_echo()
103 sr->smb_tid, in smb_com_echo()
105 sr->smb_uid, in smb_com_echo()
106 sr->smb_mid); in smb_com_echo()
111 if (sr->session->signing.flags & SMB_SIGNING_ENABLED) in smb_com_echo()
112 smb_sign_reply(sr, &reply); in smb_com_echo()
114 (void) smb_session_send(sr->session, 0, &reply); in smb_com_echo()