Home
last modified time | relevance | path

Searched refs:smb_node_t (Results 1 – 25 of 50) sorted by relevance

12

/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_fsops.h52 void smb_fsop_oplock_uninstall(smb_node_t *);
55 char *, smb_attr_t *, smb_node_t **);
58 smb_fsop_create_stream(smb_request_t *, cred_t *, smb_node_t *, smb_node_t *,
62 char *, smb_attr_t *, smb_node_t **);
73 int smb_fsop_link(smb_request_t *, cred_t *, smb_node_t *, smb_node_t *,
77 smb_node_t *, char *, smb_node_t *, char *);
105 smb_node_t *, smb_node_t *, char *, char **, smb_node_t **);
108 smb_node_t *, smb_node_t *, char *, smb_node_t **);
111 smb_node_t *, smb_node_t *, char *, smb_node_t **);
114 smb_node_t *, char *, smb_node_t **);
[all …]
H A Dsmb_kproto.h521 cred_t *, vnode_t *, char *, smb_node_t *, smb_node_t *);
525 void smb_node_ref(smb_node_t *);
526 void smb_node_release(smb_node_t *);
527 void smb_node_rename(smb_node_t *, smb_node_t *, smb_node_t *, char *);
534 int smb_node_in_crit(smb_node_t *);
535 void smb_node_rdlock(smb_node_t *);
536 void smb_node_wrlock(smb_node_t *);
537 void smb_node_unlock(smb_node_t *);
579 const char *, smb_node_t *, smb_node_t *, smb_node_t **, char *);
582 smb_node_t *, smb_node_t **, smb_node_t **, cred_t *, pathname_t *);
[all …]
H A Dsmb_ktypes.h691 } smb_node_t; typedef
730 smb_node_t *shr_root_node;
731 smb_node_t *shr_ca_dir;
1154 smb_node_t *t_snode;
1284 smb_node_t *d_dnode;
1413 smb_node_t *f_node;
1452 smb_node_t *dh_nvfile;
1546 smb_node_t *fq_dnode;
1547 smb_node_t *fq_fnode;
1575 smb_node_t *si_node;
[all …]
/illumos-gate/usr/src/cmd/smbsrv/dtrace/
H A Dsmbnode.d40 /((smb_node_t *)arg0)->n_state == SMB_NODE_STATE_AVAILABLE/
44 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
50 /((smb_node_t *)arg0)->n_state == SMB_NODE_STATE_DESTROYING/
54 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
61 (((smb_node_t *)arg0)->n_state != SMB_NODE_STATE_AVAILABLE)/
65 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
74 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
83 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
89 /((smb_node_t *)arg0)->n_refcnt == 1/
98 /((smb_node_t *)arg0)->n_refcnt > 1/
[all …]
/illumos-gate/usr/src/cmd/smbsrv/testoplock/smbsrv/
H A Dsmb_kproto.h48 boolean_t smb_node_is_file(smb_node_t *);
77 uint32_t smb_oplock_break_OPEN(smb_node_t *, smb_ofile_t *,
79 uint32_t smb_oplock_break_BATCH(smb_node_t *, smb_ofile_t *,
82 void smb_oplock_break_CLOSE(smb_node_t *, smb_ofile_t *);
83 uint32_t smb_oplock_break_READ(smb_node_t *, smb_ofile_t *);
84 uint32_t smb_oplock_break_WRITE(smb_node_t *, smb_ofile_t *);
85 uint32_t smb_oplock_break_SETINFO(smb_node_t *,
97 uint32_t smb_oplock_wait_break_fem(smb_node_t *, int);
106 int smb_lock_range_access(smb_request_t *, smb_node_t *,
109 int smb_fem_oplock_install(smb_node_t *);
[all …]
H A Dsmb_ktypes.h144 } smb_node_t; typedef
213 smb_node_t *f_node;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_node.c148 smb_node_t *node; in smb_node_init()
161 sizeof (smb_node_t), offsetof(smb_node_t, n_lnd)); in smb_node_init()
201 smb_node_t *node; in smb_node_fini()
254 smb_node_t *
265 smb_node_t *node; in smb_node_lookup()
401 smb_node_t *
406 smb_node_t *snode; in smb_stream_node_lookup()
1229 static smb_node_t *
1236 smb_node_t *node; in smb_node_alloc()
1298 smb_node_t *node = (smb_node_t *)buf; in smb_node_constructor()
[all …]
H A Dsmb_fem.c246 smb_node_t *dnode; in smb_fem_fcn_create()
281 smb_node_t *dnode; in smb_fem_fcn_remove()
306 smb_node_t *dnode; in smb_fem_fcn_rename()
341 smb_node_t *dnode; in smb_fem_fcn_mkdir()
365 smb_node_t *dnode; in smb_fem_fcn_rmdir()
443 smb_node_t *node; in smb_fem_oplock_open()
493 smb_node_t *node; in smb_fem_oplock_read()
526 smb_node_t *node; in smb_fem_oplock_write()
554 smb_node_t *node; in smb_fem_oplock_setattr()
584 smb_node_t *node; in smb_fem_oplock_space()
[all …]
H A Dsmb_fsops.c40 smb_node_t *, char *, char *, int, smb_attr_t *, smb_node_t **);
371 smb_node_t *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()
586 smb_node_t *dnode, in smb_fsop_mkdir()
733 smb_node_t *dnode, in smb_fsop_remove()
737 smb_node_t *fnode; in smb_fsop_remove()
1536 smb_node_t *snode, in smb_fsop_write()
1545 smb_node_t *u_node; in smb_fsop_write()
1669 smb_node_t *node, in smb_fsop_next_alloc_range()
1693 smb_node_t *snode, in smb_fsop_statfs()
[all …]
H A Dsmb_vss.c65 static int smb_vss_lookup_node(smb_request_t *sr, smb_node_t *, vnode_t *,
66 char *, smb_node_t *, smb_node_t **);
140 smb_vss_lookup_nodes(smb_request_t *sr, smb_node_t *cur_node, in smb_vss_lookup_nodes()
141 smb_node_t **vss_cur_node, char *gmttoken) in smb_vss_lookup_nodes()
198 smb_vss_lookup_node(smb_request_t *sr, smb_node_t *node, vnode_t *fsrootvp, in smb_vss_lookup_node()
199 char *snapname, smb_node_t *dnode, smb_node_t **vss_node) in smb_vss_lookup_node()
H A Dsmb_cmn_rename.c38 static int smb_rename_check_attr(smb_request_t *, smb_node_t *, uint16_t);
59 smb_setinfo_rename(smb_request_t *sr, smb_node_t *node, char *path, int flags) in smb_setinfo_rename()
99 smb_node_t *src_fnode, *src_dnode, *dst_dnode; in smb_common_rename()
100 smb_node_t *dst_fnode = 0; in smb_common_rename()
101 smb_node_t *tnode; in smb_common_rename()
350 smb_node_t *src_fnode = src_fqi->fq_fnode; in smb_rename_check_stream()
394 smb_setinfo_link(smb_request_t *sr, smb_node_t *node, char *path, int flags) in smb_setinfo_link()
436 smb_node_t *tnode; in smb_make_link()
545 smb_node_t *tnode; in smb_rename_lookup_src()
596 smb_node_t *src_node = src_fqi->fq_fnode; in smb_rename_check_src()
[all …]
H A Dsmb_lock.c45 static void smb_lock_dumpnode(smb_node_t *);
66 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) in smb_lock_get_lock_count()
105 smb_node_t *node = file->f_node; in smb_unlock_range()
179 smb_node_t *node = file->f_node; in smb_lock_range()
355 smb_node_t *node, in smb_lock_range_access()
490 smb_node_t *node; in smb_lock_range_cancel()
720 smb_node_t *node = file->f_node; in smb_lock_range_lckrules()
806 smb_node_t *node; in smb_lock_wait()
957 smb_node_t *node = file->f_node; in smb_lock_range_ulckrules()
1036 smb_node_t *node; in smb_lock_destroy()
[all …]
H A Dsmb_srv_oplock.c165 smb_node_t *node = ofile->f_node; in smb_oplock_ind_break_in_ack()
281 smb_node_t *node = ofile->f_node; in smb_oplock_ind_break()
547 smb_node_t *node = ofile->f_node; in smb_oplock_hdl_update()
591 smb_node_t *node = ofile->f_node; in smb_oplock_close()
623 smb_node_t *node = ofile->f_node; in smb_oplock_wait_ack_cancel()
647 smb_node_t *node = ofile->f_node; in smb_oplock_wait_ack()
786 smb_node_t *node = sr->cancel_arg2; in smb_oplock_wait_break_cancel()
813 smb_oplock_wait_break(smb_request_t *sr, smb_node_t *node, int timeout) in smb_oplock_wait_break()
901 smb_oplock_wait_break_fem(smb_node_t *node, int timeout) /* mSec. */ in smb_oplock_wait_break_fem()
H A Dsmb_cmn_oplock.c55 static uint32_t smb_oplock_break_cmn(smb_node_t *node,
172 RecomputeOplockState(smb_node_t *node) in RecomputeOplockState()
317 smb_node_t *node = ofile->f_node; in smb_oplock_request()
334 smb_node_t *node = ofile->f_node; in smb_oplock_request_LH()
558 smb_node_t *node = ofile->f_node; in smb_oplock_req_excl()
1064 smb_node_t *node = ofile->f_node; in smb_oplock_req_shared()
1493 smb_node_t *node = ofile->f_node; in smb_oplock_ack_break()
2297 smb_oplock_break_OPEN(smb_node_t *node, smb_ofile_t *ofile, in smb_oplock_break_OPEN()
2730 smb_oplock_break_cmn(smb_node_t *node, in smb_oplock_break_cmn()
3629 smb_oplock_move(smb_node_t *node, in smb_oplock_move()
[all …]
H A Dsmb_cmn_setfile.c57 smb_node_t *node = si->si_node; in smb_set_basic_info()
132 smb_node_t *node = si->si_node; in smb_set_eof_info()
174 smb_node_t *node = si->si_node; in smb_set_alloc_info()
247 smb_node_t *node = si->si_node; in smb_set_disposition_info()
H A Dsmb_pathname.c151 smb_node_t *share_root_node, in smb_pathname_reduce()
152 smb_node_t *cur_node, in smb_pathname_reduce()
153 smb_node_t **dir_node, in smb_pathname_reduce()
156 smb_node_t *root_node; in smb_pathname_reduce()
164 smb_node_t *vss_node; in smb_pathname_reduce()
165 smb_node_t *local_cur_node; in smb_pathname_reduce()
166 smb_node_t *local_root_node; in smb_pathname_reduce()
432 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, in smb_pathname()
433 smb_node_t **ret_node, cred_t *cred, pathname_t *mnt_pn) in smb_pathname()
437 smb_node_t *dnode, *fnode, *mnt_node; in smb_pathname()
H A Dsmb_query_fileinfo.c84 static int smb_query_fileinfo(smb_request_t *, smb_node_t *,
92 static int smb_query_pathname(smb_request_t *, smb_node_t *, boolean_t,
222 smb_node_t *node; in smb_query_by_fid()
288 smb_node_t *node, *dnode; in smb_query_by_path()
627 smb_node_t *fnode = qinfo->qi_node; in smb_query_stream_info()
761 smb_query_fileinfo(smb_request_t *sr, smb_node_t *node, uint16_t infolev, in smb_query_fileinfo()
849 smb_query_pathname(smb_request_t *sr, smb_node_t *node, boolean_t include_share, in smb_query_pathname()
893 smb_query_shortname(smb_node_t *node, smb_queryinfo_t *qinfo) in smb_query_shortname()
H A Dsmb_odir.c258 static smb_odir_t *smb_odir_create(smb_request_t *, smb_node_t *,
266 char *, smb_node_t **);
285 smb_node_t *dnode; in smb_odir_openpath()
369 smb_odir_openat(smb_request_t *sr, smb_node_t *unode, smb_odir_t **odp, in smb_odir_openat()
375 smb_node_t *xattr_dnode; in smb_odir_openat()
695 smb_node_t *fnode; in smb_odir_read_streaminfo()
919 smb_odir_create(smb_request_t *sr, smb_node_t *dnode, in smb_odir_create()
1199 smb_node_t *fnode, *tgt_node; in smb_odir_single_fileinfo()
1364 smb_node_t *tnode = NULL; in smb_odir_wildcard_fileinfo()
1486 char *fname, smb_node_t **tgt_node) in smb_odir_lookup_link()
H A Dsmb2_durable.c92 static int smb2_dh_read_nvlist(smb_request_t *, smb_node_t *,
349 smb_node_t *snode; in smb2_dh_import_share()
354 smb_node_t *str_node; in smb2_dh_import_share()
870 smb2_dh_read_nvlist(smb_request_t *sr, smb_node_t *node, in smb2_dh_read_nvlist()
991 smb_node_t *strnode; in smb2_dh_setdoc_persistent()
1019 smb_node_t *strnode; in smb2_dh_close_persistent()
1051 smb_node_t *dnode = of->f_tree->t_snode; in smb2_dh_make_persistent()
1052 smb_node_t *fnode = NULL; in smb2_dh_make_persistent()
1242 smb_node_t *node = of->f_node; in smb2_dh_update_locks()
1633 smb_node_t *node = new_of->f_node; in smb2_dh_close_my_orphans()
[all …]
H A Dsmb2_lease.c276 smb_node_t *node = lease->ls_node; in lease_find_oplock()
314 smb_node_t *node; in smb2_lease_break_ack()
520 smb_node_t *node = ofile->f_node; in lease_send_any_cn()
580 smb_node_t *node = ofile->f_node; in lease_close_notconn()
643 smb_node_t *node = ofile->f_node; in smb2_lease_send_break()
772 smb_node_t *node = ofile->f_node; in smb2_lease_acquire()
1026 smb_node_t *node = ofile->f_node; in smb2_lease_ofile_close()
H A Dsmb_directory.c115 smb_node_t *tnode; in smb_common_create_directory()
225 smb_node_t *tnode; in smb_com_delete_directory()
374 smb_node_t *tnode; in smb_com_check_directory()
375 smb_node_t *node; in smb_com_check_directory()
H A Dsmb_common_open.c252 smb_node_t *fnode = NULL; in smb_common_open()
253 smb_node_t *dnode = NULL; in smb_common_open()
254 smb_node_t *cur_node = NULL; in smb_common_open()
255 smb_node_t *tmp_node = NULL; in smb_common_open()
625 smb_node_t *tmp_node = fnode; in smb_common_open()
837 DTRACE_PROBE1(node_deleted, smb_node_t *, fnode); in smb_common_open()
1247 smb_node_t *node = of->f_node; in smb_set_open_attributes()
H A Dsmb_tree.c191 static int smb_tree_getattr(const smb_kshare_t *, smb_node_t *, smb_tree_t *);
192 static void smb_tree_get_creation(smb_node_t *, smb_tree_t *);
671 smb_node_t *snode = NULL; in smb_tree_connect_disk()
798 smb_node_t *dnode = NULL; in smb_tree_connect_printq()
799 smb_node_t *snode = NULL; in smb_tree_connect_printq()
908 smb_node_t *snode, uint32_t access, uint32_t execflags) in smb_tree_alloc()
1107 smb_tree_getattr(const smb_kshare_t *si, smb_node_t *node, smb_tree_t *tree) in smb_tree_getattr()
1145 smb_tree_get_creation(smb_node_t *node, smb_tree_t *tree) in smb_tree_get_creation()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_fem.c41 smb_fem_fcn_install(smb_node_t *node) in smb_fem_fcn_install()
48 smb_fem_fcn_uninstall(smb_node_t *node) in smb_fem_fcn_uninstall()
55 smb_fem_oplock_install(smb_node_t *node) in smb_fem_oplock_install()
62 smb_fem_oplock_uninstall(smb_node_t *node) in smb_fem_oplock_uninstall()
/illumos-gate/usr/src/cmd/smbsrv/testoplock/
H A Dtol_main.c47 smb_node_t root_node, test_node;
122 smb_node_t *node = &test_node; in do_show()
165 smb_node_t *node = &test_node; in do_open()
190 smb_node_t *node = &test_node; in do_close()
248 smb_node_t *node = &test_node; in do_ack()
365 smb_node_t *node = &test_node; in do_move()
396 smb_node_t *node = &test_node; in do_waiters()
412 smb_node_t *node = &test_node; in main()
552 smb_node_is_file(smb_node_t *node) in smb_node_is_file()
566 smb_node_t *node, in smb_lock_range_access()
[all …]

12