Lines Matching defs:sr
27 smb2_oplock_break_ack(smb_request_t *sr)
41 &sr->smb_data, "wb5.qq",
50 status = smb2sr_lookup_fid(sr, &smb2fid);
53 if ((node = sr->fid_ofile->f_node) == NULL) {
82 smb_oplock_ack(node, sr->fid_ofile, brk);
90 &sr->reply, "wb5.qq",
99 smb2sr_put_error(sr, status);
105 * the SMB2 header and everything, in sr->reply.
109 smb2_oplock_break_notification(smb_request_t *sr, uint8_t brk)
111 smb_ofile_t *ofile = sr->fid_ofile;
131 sr->smb2_cmd_code = SMB2_OPLOCK_BREAK;
132 sr->smb2_hdr_flags = SMB2_FLAGS_SERVER_TO_REDIR;
133 sr->smb_tid = ofile->f_tree->t_tid;
134 sr->smb_pid = 0;
135 sr->smb_uid = 0;
136 sr->smb2_messageid = UINT64_MAX;
137 (void) smb2_encode_header(sr, B_FALSE);
146 &sr->reply, "wb5.qq",