Lines Matching refs:of
30 smb_ofile_t *of = NULL; in smb2_write() local
106 of = sr->fid_ofile; in smb2_write()
131 switch (of->f_tree->t_res_type & STYPE_MASK) { in smb2_write()
134 if (!smb_node_is_dir(of->f_node)) { in smb2_write()
136 rc = smb_lock_range_access(sr, of->f_node, in smb2_write()
145 (of->f_node->flags & NODE_FLAGS_WRITE_THROUGH) != 0) { in smb2_write()
148 rc = smb_fsop_write(sr, of->f_cr, of->f_node, of, in smb2_write()
153 (void) smb_oplock_break_WRITE(of->f_node, of); in smb2_write()
161 if (of->f_written == B_FALSE) { in smb2_write()
162 of->f_written = B_TRUE; in smb2_write()
163 smb_node_notify_modified(of->f_node); in smb2_write()
207 mutex_enter(&of->f_mutex); in smb2_write()
208 of->f_seek_pos = Offset + XferCount; in smb2_write()
209 mutex_exit(&of->f_mutex); in smb2_write()