Lines Matching refs:sr
57 smb_pre_flush(smb_request_t *sr)
61 rc = smbsr_decode_vwv(sr, "w", &sr->smb_fid);
63 DTRACE_SMB_1(op__Flush__start, smb_request_t *, sr);
69 smb_post_flush(smb_request_t *sr)
71 DTRACE_SMB_1(op__Flush__done, smb_request_t *, sr);
75 smb_com_flush(smb_request_t *sr)
82 rc = smbsr_encode_empty_result(sr);
86 if (sr->smb_fid != 0xffff) {
87 smbsr_lookup_file(sr);
88 if (sr->fid_ofile == NULL) {
89 smbsr_error(sr, NT_STATUS_INVALID_HANDLE,
93 smb_ofile_flush(sr, sr->fid_ofile);
95 flist = &sr->tid_tree->t_ofile_list;
100 smb_ofile_flush(sr, file);
107 rc = smbsr_encode_empty_result(sr);