Home
last modified time | relevance | path

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

12

/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_fsops.h48 int smb_fsop_open(smb_node_t *, int, cred_t *);
49 void smb_fsop_close(smb_node_t *, int, cred_t *);
51 int smb_fsop_oplock_install(smb_node_t *, int);
52 void smb_fsop_oplock_uninstall(smb_node_t *);
54 int smb_fsop_create(smb_request_t *, cred_t *, smb_node_t *,
55 char *, smb_attr_t *, smb_node_t **);
57 int smb_fsop_mkdir(smb_request_t *, cred_t *, smb_node_t *,
58 char *, smb_attr_t *, smb_node_t **);
60 int smb_fsop_remove(smb_request_t *sr, cred_t *cr, smb_node_t *,
63 int smb_fsop_rmdir(smb_request_t *, cred_t *, smb_node_t *, char *, uint32_t);
[all …]
H A Dsmb_kproto.h278 void smb_query_shortname(smb_node_t *, smb_queryinfo_t *);
290 uint32_t smb_setinfo_rename(smb_request_t *, smb_node_t *, char *, int);
293 uint32_t smb_setinfo_link(smb_request_t *, smb_node_t *, char *, int);
309 void smb_oplock_acquire(smb_request_t *sr, smb_node_t *, smb_ofile_t *);
310 void smb_oplock_release(smb_node_t *, smb_ofile_t *);
311 int smb_oplock_break(smb_request_t *, smb_node_t *, uint32_t);
312 void smb_oplock_break_levelII(smb_node_t *);
313 void smb_oplock_ack(smb_node_t *, smb_ofile_t *, uint8_t);
314 void smb_oplock_broadcast(smb_node_t *);
322 uint32_t smb_lock_get_lock_count(smb_node_t *, smb_ofile_t *);
[all …]
H A Dsmb_ktypes.h655 } smb_node_t; typedef
1026 smb_node_t *t_snode;
1161 smb_node_t *d_dnode;
1264 smb_node_t *f_node;
1381 smb_node_t *fq_dnode;
1382 smb_node_t *fq_fnode;
1395 smb_node_t *qi_node; /* NULL for pipes */
1410 smb_node_t *si_node;
1941 smb_node_t *si_root_smb_node;
/titanic_50/usr/src/cmd/smbsrv/dtrace/
H A Dsmbnode.d42 /((smb_node_t *)arg0)->n_state == SMB_NODE_STATE_AVAILABLE/
46 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
47 printf("\n\tName: %s", (string)((vnode_t *)((smb_node_t *)arg0)->vp)->v_path);
52 /((smb_node_t *)arg0)->n_state == SMB_NODE_STATE_DESTROYING/
56 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
57 printf("\n\tName: %s", (string)((vnode_t *)((smb_node_t *)arg0)->vp)->v_path);
62 /(((smb_node_t *)arg0)->n_state != SMB_NODE_STATE_DESTROYING) &&
63 (((smb_node_t *)arg0)->n_state != SMB_NODE_STATE_AVAILABLE)/
67 printf("\n\tRefCnt: %d", ((smb_node_t *)arg0)->n_refcnt);
68 printf("\n\tName: %s", (string)((vnode_t *)((smb_node_t *)arg0)->vp)->v_path);
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_node.c102 static void smb_node_delete_on_close(smb_node_t *);
103 static void smb_node_create_audit_buf(smb_node_t *, int);
104 static void smb_node_destroy_audit_buf(smb_node_t *);
105 static void smb_node_audit(smb_node_t *);
106 static smb_node_t *smb_node_alloc(char *, vnode_t *, smb_llist_t *, uint32_t);
107 static void smb_node_free(smb_node_t *);
112 static void smb_node_init_reparse(smb_node_t *, smb_attr_t *);
113 static void smb_node_init_system(smb_node_t *);
125 static smb_node_t *smb_root_node;
140 smb_node_t *node; in smb_node_init()
[all …]
H A Dsmb_oplock.c49 static int smb_oplock_install_fem(smb_node_t *);
50 static void smb_oplock_uninstall_fem(smb_node_t *);
52 static void smb_oplock_wait(smb_node_t *);
53 static void smb_oplock_wait_ack(smb_node_t *, uint32_t);
54 static void smb_oplock_timedout(smb_node_t *);
58 static int smb_oplock_insert_grant(smb_node_t *, smb_oplock_grant_t *);
59 static void smb_oplock_remove_grant(smb_node_t *, smb_oplock_grant_t *);
65 static void smb_oplock_break_levelII_locked(smb_node_t *);
72 smb_oplock_install_fem(smb_node_t *node) in smb_oplock_install_fem()
93 smb_oplock_uninstall_fem(smb_node_t *node) in smb_oplock_uninstall_fem()
[all …]
H A Dsmb_fem.c158 smb_fem_fcn_install(smb_node_t *node) in smb_fem_fcn_install()
170 smb_fem_fcn_uninstall(smb_node_t *node) in smb_fem_fcn_uninstall()
178 smb_fem_oplock_install(smb_node_t *node) in smb_fem_oplock_install()
190 smb_fem_oplock_uninstall(smb_node_t *node) in smb_fem_oplock_uninstall()
228 smb_node_t *dnode; in smb_fem_fcn_create()
231 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_create()
263 smb_node_t *dnode; in smb_fem_fcn_remove()
266 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_remove()
288 smb_node_t *dnode; in smb_fem_fcn_rename()
291 dnode = (smb_node_t *)arg->fa_fnode->fn_available; in smb_fem_fcn_rename()
[all …]
H A Dsmb_fsops.c37 static int smb_fsop_create_stream(smb_request_t *, cred_t *, smb_node_t *,
38 char *, char *, int, smb_attr_t *, smb_node_t **);
40 static int smb_fsop_create_file(smb_request_t *, cred_t *, smb_node_t *,
41 char *, int, smb_attr_t *, smb_node_t **);
44 static int smb_fsop_create_with_sd(smb_request_t *, cred_t *, smb_node_t *,
45 char *, smb_attr_t *, smb_node_t **, smb_fssd_t *);
46 static int smb_fsop_sdinherit(smb_request_t *, smb_node_t *, smb_fssd_t *);
104 smb_fsop_open(smb_node_t *node, int mode, cred_t *cred) in smb_fsop_open()
115 smb_fsop_close(smb_node_t *node, int mode, cred_t *cred) in smb_fsop_close()
123 smb_node_t *dnode, char *name, in smb_fsop_create_with_sd()
[all …]
H A Dsmb_vss.c64 static int smb_vss_lookup_node(smb_request_t *sr, smb_node_t *, vnode_t *,
65 char *, smb_node_t *, smb_node_t **);
81 smb_node_t *tnode; in smb_vss_enum_snapshots()
141 smb_vss_lookup_nodes(smb_request_t *sr, smb_node_t *root_node, in smb_vss_lookup_nodes()
142 smb_node_t *cur_node, char *buf, smb_node_t **vss_cur_node, in smb_vss_lookup_nodes()
143 smb_node_t **vss_root_node) in smb_vss_lookup_nodes()
146 smb_node_t *tnode; in smb_vss_lookup_nodes()
231 smb_vss_lookup_node(smb_request_t *sr, smb_node_t *node, vnode_t *fsrootvp, in smb_vss_lookup_node()
232 char *snapname, smb_node_t *dnode, smb_node_t **vss_node) in smb_vss_lookup_node()
H A Dsmb_cmn_rename.c37 static int smb_rename_check_attr(smb_request_t *, smb_node_t *, uint16_t);
57 smb_setinfo_rename(smb_request_t *sr, smb_node_t *node, char *path, int flags) in smb_setinfo_rename()
97 smb_node_t *src_fnode, *src_dnode, *dst_dnode; in smb_common_rename()
98 smb_node_t *dst_fnode = 0; in smb_common_rename()
99 smb_node_t *tnode; in smb_common_rename()
336 smb_node_t *src_fnode = src_fqi->fq_fnode; in smb_rename_check_stream()
380 smb_setinfo_link(smb_request_t *sr, smb_node_t *node, char *path, int flags) in smb_setinfo_link()
422 smb_node_t *tnode; in smb_make_link()
526 smb_node_t *src_node, *tnode; in smb_rename_lookup_src()
634 smb_rename_check_attr(smb_request_t *sr, smb_node_t *node, uint16_t sattr) in smb_rename_check_attr()
H A Dsmb_lock.c41 static void smb_lock_posix_unlock(smb_node_t *, smb_lock_t *, cred_t *);
46 smb_node_t *, smb_lock_t *, smb_lock_t **);
48 static uint32_t smb_lock_range_ulckrules(smb_request_t *, smb_node_t *,
59 smb_lock_get_lock_count(smb_node_t *node, smb_ofile_t *of) in smb_lock_get_lock_count()
93 smb_node_t *node, in smb_unlock_range()
147 smb_node_t *node = file->f_node; in smb_lock_range()
272 smb_node_t *node, in smb_lock_range_access()
308 smb_node_destroy_lock_by_ofile(smb_node_t *node, smb_ofile_t *file) in smb_node_destroy_lock_by_ofile()
384 smb_nbl_conflict(smb_node_t *node, uint64_t off, uint64_t len, nbl_op_t op) in smb_nbl_conflict()
424 smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr) in smb_lock_posix_unlock()
[all …]
H A Dsmb_pathname.c148 smb_node_t *share_root_node, in smb_pathname_reduce()
149 smb_node_t *cur_node, in smb_pathname_reduce()
150 smb_node_t **dir_node, in smb_pathname_reduce()
153 smb_node_t *root_node; in smb_pathname_reduce()
160 smb_node_t *vss_cur_node; in smb_pathname_reduce()
161 smb_node_t *vss_root_node; in smb_pathname_reduce()
162 smb_node_t *local_cur_node; in smb_pathname_reduce()
163 smb_node_t *local_root_node; in smb_pathname_reduce()
359 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, in smb_pathname()
360 smb_node_t **ret_node, cred_t *cred) in smb_pathname()
[all …]
H A Dsmb_cmn_setfile.c56 smb_node_t *node = si->si_node; in smb_set_basic_info()
109 smb_node_t *node = si->si_node; in smb_set_eof_info()
145 smb_node_t *node = si->si_node; in smb_set_alloc_info()
211 smb_node_t *node = si->si_node; in smb_set_disposition_info()
H A Dsmb_query_fileinfo.c83 static int smb_query_fileinfo(smb_request_t *, smb_node_t *,
93 static int smb_query_pathname(smb_request_t *, smb_node_t *, boolean_t,
224 smb_node_t *node; in smb_query_by_fid()
290 smb_node_t *node, *dnode; in smb_query_by_path()
638 smb_node_t *fnode = qinfo->qi_node; in smb_query_stream_info()
785 smb_query_fileinfo(smb_request_t *sr, smb_node_t *node, uint16_t infolev, in smb_query_fileinfo()
873 smb_query_pathname(smb_request_t *sr, smb_node_t *node, boolean_t include_share, in smb_query_pathname()
917 smb_query_shortname(smb_node_t *node, smb_queryinfo_t *qinfo) in smb_query_shortname()
H A Dsmb_odir.c257 static smb_odir_t *smb_odir_create(smb_request_t *, smb_node_t *,
265 char *, smb_node_t **);
283 smb_node_t *dnode; in smb_odir_openpath()
367 smb_odir_openat(smb_request_t *sr, smb_node_t *unode, smb_odir_t **odp) in smb_odir_openat()
372 smb_node_t *xattr_dnode; in smb_odir_openat()
678 smb_node_t *fnode; in smb_odir_read_streaminfo()
894 smb_odir_create(smb_request_t *sr, smb_node_t *dnode, in smb_odir_create()
1153 smb_node_t *fnode, *tgt_node; in smb_odir_single_fileinfo()
1279 smb_node_t *fnode, *tgt_node; in smb_odir_wildcard_fileinfo()
1390 char *fname, smb_node_t **tgt_node) in smb_odir_lookup_link()
H A Dsmb_directory.c116 smb_node_t *tnode; in smb_common_create_directory()
227 smb_node_t *tnode; in smb_com_delete_directory()
381 smb_node_t *tnode; in smb_com_check_directory()
382 smb_node_t *node; in smb_com_check_directory()
H A Dsmb_common_open.c48 static void smb_open_oplock_break(smb_request_t *, smb_node_t *);
295 smb_node_t *node = NULL; in smb_open_subr()
296 smb_node_t *dnode = NULL; in smb_open_subr()
297 smb_node_t *cur_node = NULL; in smb_open_subr()
935 smb_open_oplock_break(smb_request_t *sr, smb_node_t *node) in smb_open_oplock_break()
1003 smb_node_t *node = of->f_node; in smb_set_open_attributes()
H A Dsmb_notify.c102 smb_node_t *node; in smb_notify_common()
308 smb_notify_event(smb_node_t *node, uint_t action, const char *name) in smb_notify_event()
H A Dsmb_tree.c179 smb_node_t *, uint32_t, uint32_t);
183 static int smb_tree_getattr(const smb_kshare_t *, smb_node_t *, smb_tree_t *);
650 smb_node_t *dnode = NULL; in smb_tree_connect_disk()
651 smb_node_t *snode = NULL; in smb_tree_connect_disk()
768 smb_node_t *dnode = NULL; in smb_tree_connect_printq()
769 smb_node_t *snode = NULL; in smb_tree_connect_printq()
878 smb_node_t *snode, uint32_t access, uint32_t execflags) in smb_tree_alloc()
1085 smb_tree_getattr(const smb_kshare_t *si, smb_node_t *node, smb_tree_t *tree) in smb_tree_getattr()
H A Dsmb_nt_transact_quota.c88 smb_node_t *tnode; in smb_nt_transact_query_quota()
225 smb_node_t *tnode; in smb_nt_transact_set_quota()
H A Dsmb2_setinfo_quota.c44 smb_node_t *tnode; in smb2_setinfo_quota()
H A Dsmb_set_fileinfo.c270 smb_node_t *node, *dnode; in smb_set_by_path()
398 smb_node_t *node = sinfo->si_node; in smb_set_information()
480 smb_node_t *node = sinfo->si_node; in smb_set_standard_info()
H A Dsmb2_ofile.c59 smb_node_t *node; in smb2_ofile_getstd()
H A Dsmb2_oplock.c29 smb_node_t *node; in smb2_oplock_break_ack()
/titanic_50/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()
54 smb_fem_oplock_install(smb_node_t *node) in smb_fem_oplock_install()
61 smb_fem_oplock_uninstall(smb_node_t *node) in smb_fem_oplock_uninstall()

12