Home
last modified time | relevance | path

Searched refs:tid_tree (Results 1 – 25 of 51) sorted by relevance

123

/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_qinfo_fs.c89 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_volume()
124 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_size()
151 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_fullsize()
178 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_device()
202 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_attr()
256 smb_tree_t *tree = sr->tid_tree; in smb2_qfs_control()
260 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) { in smb2_qfs_control()
H A Dsmb_tree_connect.c320 switch (sr->tid_tree->t_res_type & STYPE_MASK) { in smb_com_tree_connect_andx()
339 sr->tid_tree->t_typename); in smb_com_tree_connect_andx()
349 sr->tid_tree->t_typename); in smb_com_tree_connect_andx()
393 sr->tid_tree = smb_session_lookup_tree(sr->session, sr->smb_tid); in smb_pre_tree_disconnect()
419 if (sr->uid_user == NULL || sr->tid_tree == NULL) { in smb_com_tree_disconnect()
426 smb_session_cancel_requests(sr->session, sr->tid_tree, sr); in smb_com_tree_disconnect()
427 smb_tree_disconnect(sr->tid_tree, B_TRUE); in smb_com_tree_disconnect()
H A Dsmb2_tree_disconn.c41 if (sr->uid_user == NULL || sr->tid_tree == NULL) in smb2_tree_disconn()
44 smb_session_cancel_requests(sr->session, sr->tid_tree, sr); in smb2_tree_disconn()
45 smb_tree_disconnect(sr->tid_tree, B_TRUE); in smb2_tree_disconn()
H A Dsmb_vss.c84 ASSERT(sr->tid_tree); in smb_vss_enum_snapshots()
85 ASSERT(sr->tid_tree->t_snode); in smb_vss_enum_snapshots()
90 tnode = sr->tid_tree->t_snode; in smb_vss_enum_snapshots()
96 count = smb_vss_get_count(sr->tid_tree, root_path); in smb_vss_enum_snapshots()
105 smb_vss_get_snapshots(sr->tid_tree, root_path, in smb_vss_enum_snapshots()
155 if (sr->tid_tree == NULL) in smb_vss_lookup_nodes()
158 tnode = sr->tid_tree->t_snode; in smb_vss_lookup_nodes()
194 smb_vss_map_gmttoken(sr->tid_tree, path, gmttoken, toktime, in smb_vss_lookup_nodes()
H A Dsmb_process_exit.c88 sr->tid_tree = smb_session_lookup_tree(sr->session, sr->smb_tid); in smb_com_process_exit()
89 if (sr->tid_tree != NULL) in smb_com_process_exit()
90 smb_tree_close_pid(sr->tid_tree, sr->smb_pid); in smb_com_process_exit()
H A Dsmb_fsinfo.c77 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_query_information_disk()
171 tree = sr->tid_tree; in smb_com_trans2_query_fs_information()
318 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) { in smb_com_trans2_query_fs_information()
394 node = sr->tid_tree->t_snode; in smb_fssize()
415 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) in smb_fssize()
450 tree = sr->tid_tree; in smb_com_trans2_set_fs_information()
505 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) { in smb_trans2_set_fs_ctrl_info()
H A Dsmb_fsops.c148 if (smb_tree_has_feature(sr->tid_tree, SMB_TREE_ACLONCREATE)) { in smb_fsop_create_with_sd()
247 if (!smb_tree_has_feature(sr->tid_tree, in smb_fsop_create_with_sd()
302 ASSERT(sr->tid_tree); in smb_fsop_create()
383 sr->tid_tree->t_snode, dnode, fname, &fnode); in smb_fsop_create_stream()
471 } else if (sr->tid_tree->t_acltype == ACE_T) { in smb_fsop_create_file()
560 ASSERT(sr->tid_tree); in smb_fsop_mkdir()
612 } else if (sr->tid_tree->t_acltype == ACE_T) { in smb_fsop_mkdir()
714 sr->tid_tree->t_snode, dnode, fname, &fnode); in smb_fsop_remove()
962 if (smb_tree_has_feature(sr->tid_tree, in smb_fsop_getattr()
1005 ASSERT(sr->tid_tree); in smb_fsop_link()
[all …]
H A Dsmb_set_fileinfo.c108 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_trans2_set_path_information()
146 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_set_information()
220 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_set_by_fid()
287 sr->tid_tree->t_snode, sr->tid_tree->t_snode, &dnode, name); in smb_set_by_path()
290 sr->tid_tree->t_snode, dnode, name, &node); in smb_set_by_path()
570 sr->tid_tree, path, SMB_MAXPATHLEN); in smb_set_rename_info()
H A Dsmb_directory.c80 if (!STYPE_ISDSK(sr->tid_tree->t_res_type)) { in smb_com_create_directory()
119 tnode = sr->tid_tree->t_snode; in smb_common_create_directory()
229 if (!STYPE_ISDSK(sr->tid_tree->t_res_type)) { in smb_com_delete_directory()
236 tnode = sr->tid_tree->t_snode; in smb_com_delete_directory()
386 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_check_directory()
407 tnode = sr->tid_tree->t_snode; in smb_com_check_directory()
H A Dsmb2_dispatch.c278 ASSERT(sr->tid_tree == 0); in smb2sr_work()
430 if (sr->tid_tree != NULL) { in smb2sr_work()
431 smb_tree_release(sr->tid_tree); in smb2sr_work()
432 sr->tid_tree = NULL; in smb2sr_work()
488 if (sr->tid_tree == NULL) { in smb2sr_work()
493 sr->smb_tid = sr->tid_tree->t_tid; in smb2sr_work()
499 ASSERT(sr->tid_tree == NULL); in smb2sr_work()
500 sr->tid_tree = smb_session_lookup_tree(session, in smb2sr_work()
502 if (sr->tid_tree == NULL) { in smb2sr_work()
508 ASSERT(sr->tid_tree != NULL); in smb2sr_work()
[all …]
H A Dsmb_nt_transact_quota.c97 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) { in smb_nt_transact_query_quota()
132 tnode = sr->tid_tree->t_snode; in smb_nt_transact_query_quota()
233 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) { in smb_nt_transact_set_quota()
268 tnode = sr->tid_tree->t_snode; in smb_nt_transact_set_quota()
H A Dsmb_print.c113 !STYPE_ISPRN(sr->tid_tree->t_res_type)) { in smb_com_open_print_file()
138 if (smb_spool_add_doc(sr->tid_tree, sp)) in smb_com_open_print_file()
192 if (!STYPE_ISPRN(sr->tid_tree->t_res_type)) { in smb_com_close_print_file()
279 !STYPE_ISPRN(sr->tid_tree->t_res_type)) { in smb_com_write_print_file()
H A Dsmb_nt_transact_ioctl.c159 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_nt_trans_ioctl_set_sparse()
236 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_nt_trans_ioctl_set_zero_data()
273 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_nt_trans_ioctl_query_alloc_ranges()
335 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_nt_trans_ioctl_enum_snaps()
H A Dsmb2_setinfo_quota.c51 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) in smb2_setinfo_quota()
61 tnode = sr->tid_tree->t_snode; in smb2_setinfo_quota()
H A Dsmb_delete.c164 sr->tid_tree->t_snode, sr->tid_tree->t_snode, in smb_com_delete()
186 if ((fqi->fq_dnode == sr->tid_tree->t_snode) && in smb_com_delete()
243 if (smb_fsop_lookup_name(sr, sr->user_cr, 0, sr->tid_tree->t_snode, in smb_delete_single_file()
310 sr->tid_tree->t_snode, fqi->fq_dnode, in smb_delete_multiple_files()
H A Dsmb_close.c112 smb_session_cancel_requests(sr->session, sr->tid_tree, sr); in smb_com_close_and_tree_disconnect()
113 smb_tree_disconnect(sr->tid_tree, B_TRUE); in smb_com_close_and_tree_disconnect()
H A Dsmb_pathname.c173 if (sr && sr->tid_tree) { in smb_pathname_reduce()
174 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_pathname_reduce()
306 if ((sr) && (sr)->tid_tree && in smb_pathname_reduce()
307 smb_tree_has_feature((sr)->tid_tree, in smb_pathname_reduce()
794 if (!smb_node_is_vfsroot(sr->tid_tree->t_snode)) in smb_pathname_preprocess_quota()
823 if (strcasecmp(sr->tid_tree->t_sharename, "c$") == 0) in smb_pathname_preprocess_adminshare()
1112 if (sr->tid_tree == NULL) in smb_pathname_dfs_preprocess()
1118 if (smb_strcasecmp(unc.unc_share, sr->tid_tree->t_sharename, 0)) { in smb_pathname_dfs_preprocess()
H A Dsmb2_qinfo_quota.c51 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_QUOTA)) in smb2_qinfo_quota()
73 tnode = sr->tid_tree->t_snode; in smb2_qinfo_quota()
H A Dsmb_query_fileinfo.c125 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_trans2_query_path_information()
169 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_query_information()
323 sr->tid_tree->t_snode, sr->tid_tree->t_snode, &dnode, in smb_query_by_path()
328 sr->tid_tree->t_snode, dnode, qinfo->qi_name, &node); in smb_query_by_path()
793 if (!smb_tree_has_feature(sr->tid_tree, SMB_TREE_SHORTNAMES)) { in smb_query_fileinfo()
876 smb_tree_t *tree = sr->tid_tree; in smb_query_pathname()
H A Dsmb_common_open.c346 switch (sr->tid_tree->t_res_type & STYPE_MASK) { in smb_open_subr()
398 op->fqi.fq_dnode : sr->tid_tree->t_snode; in smb_open_subr()
410 if (cur_node == sr->tid_tree->t_snode) { in smb_open_subr()
425 sr->tid_tree->t_snode, cur_node, &op->fqi.fq_dnode, in smb_open_subr()
443 sr->tid_tree->t_snode, op->fqi.fq_dnode, op->fqi.fq_last_comp, in smb_open_subr()
830 !smb_tree_is_connected(sr->tid_tree)) { in smb_open_subr()
H A Dsmb_rename.c96 if (!STYPE_ISDSK(sr->tid_tree->t_res_type)) { in smb_com_rename()
170 if (!STYPE_ISDSK(sr->tid_tree->t_res_type)) { in smb_com_nt_rename()
H A Dsmb_nt_create_andx.c266 op->fqi.fq_dnode = sr->tid_tree->t_snode; in smb_com_nt_create_andx()
292 switch (sr->tid_tree->t_res_type & STYPE_MASK) { in smb_com_nt_create_andx()
H A Dsmb_cmn_rename.c104 tnode = sr->tid_tree->t_snode; in smb_common_rename()
195 if (smb_tree_has_feature(sr->tid_tree, in smb_common_rename()
426 tnode = sr->tid_tree->t_snode; in smb_make_link()
538 tnode = sr->tid_tree->t_snode; in smb_rename_lookup_src()
H A Dsmb_write.c274 if (STYPE_ISDSK(sr->tid_tree->t_res_type) == 0) { in smb_com_write_and_unlock()
420 STYPE_ISIPC(sr->tid_tree->t_res_type)) { in smb_com_write_andx()
468 switch (sr->tid_tree->t_res_type & STYPE_MASK) { in smb_common_write()
552 if (STYPE_ISIPC(sr->tid_tree->t_res_type)) in smb_write_truncate()
/titanic_50/usr/src/uts/common/smbsrv/
H A Dsmb_ktypes.h1054 ((sr) != NULL && (sr)->tid_tree != NULL && \
1055 !((sr)->tid_tree->t_access & ACE_ALL_WRITE_PERMS))
1058 (((sr) && (sr)->tid_tree) ? \
1059 smb_tree_has_feature((sr)->tid_tree, SMB_TREE_CASEINSENSITIVE) : 0)
1063 (((sr) && (sr)->tid_tree) ? \
1064 (((sr)->tid_tree->t_access) & (acemask)) : 0)))
1067 (((sr) && (sr)->tid_tree) ? \
1068 smb_tree_has_feature((sr)->tid_tree, SMB_TREE_CATIA) : 0)
1071 (((sr) && (sr)->tid_tree) ? \
1072 smb_tree_has_feature((sr)->tid_tree, SMB_TREE_ABE) : 0)
[all …]

123