Lines Matching refs:of
185 smb_ofile_t *of; in smb_notify_act1() local
193 if ((of = sr->fid_ofile) == NULL) in smb_notify_act1()
195 nc = &of->f_notify; in smb_notify_act1()
196 node = of->f_node; in smb_notify_act1()
202 if ((of->f_granted_access & FILE_LIST_DIRECTORY) == 0) in smb_notify_act1()
205 mutex_enter(&of->f_mutex); in smb_notify_act1()
211 if (of->f_state != SMB_OFILE_STATE_OPEN) { in smb_notify_act1()
212 mutex_exit(&of->f_mutex); in smb_notify_act1()
246 mutex_exit(&of->f_mutex); in smb_notify_act1()
272 smb_ofile_t *of; in smb_notify_act2() local
279 if ((of = sr->fid_ofile) == NULL) in smb_notify_act2()
281 nc = &of->f_notify; in smb_notify_act2()
321 mutex_enter(&of->f_mutex); in smb_notify_act2()
326 mutex_exit(&of->f_mutex); in smb_notify_act2()
348 smb_ofile_t *of; in smb_notify_act3() local
352 of = sr->fid_ofile; in smb_notify_act3()
353 ASSERT(of != NULL); in smb_notify_act3()
354 nc = &of->f_notify; in smb_notify_act3()
389 mutex_enter(&of->f_mutex); in smb_notify_act3()
393 mutex_exit(&of->f_mutex); in smb_notify_act3()
408 smb_ofile_t *of; in smb_notify_get_events() local
413 of = sr->fid_ofile; in smb_notify_get_events()
414 ASSERT(of != NULL); in smb_notify_get_events()
415 ASSERT(MUTEX_HELD(&of->f_mutex)); in smb_notify_get_events()
416 nc = &of->f_notify; in smb_notify_get_events()
644 smb_notify_ofile(smb_ofile_t *of, uint_t action, const char *name) in smb_notify_ofile() argument
650 SMB_OFILE_VALID(of); in smb_notify_ofile()
652 mutex_enter(&of->f_mutex); in smb_notify_ofile()
653 nc = &of->f_notify; in smb_notify_ofile()
687 smb_notify_encode_action(of, action, name); in smb_notify_ofile()
714 mutex_exit(&of->f_mutex); in smb_notify_ofile()
721 smb_notify_encode_action(smb_ofile_t *of, in smb_notify_encode_action() argument
724 smb_notify_t *nc = &of->f_notify; in smb_notify_encode_action()
732 ASSERT(MUTEX_HELD(&of->f_mutex)); in smb_notify_encode_action()