Lines Matching refs:fnode

371 	smb_node_t	*fnode;  in smb_fsop_create_file_with_stream()  local
383 sr->tid_tree->t_snode, dnode, fname, &fnode); in smb_fsop_create_file_with_stream()
385 if (smb_fsop_access(sr, sr->user_cr, fnode, in smb_fsop_create_file_with_stream()
387 smb_node_release(fnode); in smb_fsop_create_file_with_stream()
393 attr, &fnode); in smb_fsop_create_file_with_stream()
398 rc = smb_fsop_create_stream(sr, cr, dnode, fnode, sname, flags, attr, in smb_fsop_create_file_with_stream()
405 fnode->od_name, flags, cr); in smb_fsop_create_file_with_stream()
409 smb_node_release(fnode); in smb_fsop_create_file_with_stream()
429 smb_node_t *dnode, smb_node_t *fnode, char *sname, int flags, in smb_fsop_create_stream() argument
445 rc = smb_vop_getattr(fnode->vp, NULL, &fattr, 0, kcr); in smb_fsop_create_stream()
449 rc = smb_vop_stream_create(fnode->vp, sname, in smb_fsop_create_stream()
466 *ret_snode = smb_stream_node_lookup(sr, cr, fnode, xattrdvp, in smb_fsop_create_stream()
478 FILE_ACTION_ADDED_STREAM, fnode->od_name); in smb_fsop_create_stream()
737 smb_node_t *fnode; in smb_fsop_remove() local
768 fnode = dnode->n_dnode; in smb_fsop_remove()
769 rc = smb_vop_stream_remove(fnode->vp, name, flags, cr); in smb_fsop_remove()
772 if ((rc == 0) && fnode->n_dnode) { in smb_fsop_remove()
773 smb_node_notify_change(fnode->n_dnode, in smb_fsop_remove()
774 FILE_ACTION_REMOVED_STREAM, fnode->od_name); in smb_fsop_remove()
791 sr->tid_tree->t_snode, dnode, fname, &fnode); in smb_fsop_remove()
802 rc = smb_vop_stream_remove(fnode->vp, sname, flags, cr); in smb_fsop_remove()
804 smb_node_release(fnode); in smb_fsop_remove()
863 smb_fsop_remove_streams(smb_request_t *sr, cred_t *cr, smb_node_t *fnode) in smb_fsop_remove_streams() argument
873 ASSERT(fnode); in smb_fsop_remove_streams()
874 ASSERT(fnode->n_magic == SMB_NODE_MAGIC); in smb_fsop_remove_streams()
875 ASSERT(fnode->n_state != SMB_NODE_STATE_DESTROYING); in smb_fsop_remove_streams()
877 if (SMB_TREE_CONTAINS_NODE(sr, fnode) == 0) in smb_fsop_remove_streams()
894 status = smb_odir_openat(sr, fnode, &od, B_FALSE); in smb_fsop_remove_streams()
1967 smb_node_t *fnode, in smb_fsop_lookup_stream() argument
1992 rc = smb_vop_stream_lookup(fnode->vp, sname, &vp, od_name, in smb_fsop_lookup_stream()
2000 *ret_snode = smb_stream_node_lookup(sr, cr, fnode, xattrdirvp, in smb_fsop_lookup_stream()