/titanic_44/usr/src/uts/common/smbsrv/ |
H A D | smb_fsops.h | 46 int smb_fsop_open(smb_node_t *, int, cred_t *); 47 void smb_fsop_close(smb_node_t *, int, cred_t *); 49 int smb_fsop_oplock_install(smb_node_t *, int); 50 void smb_fsop_oplock_uninstall(smb_node_t *); 52 int smb_fsop_create(smb_request_t *, cred_t *, smb_node_t *, 53 char *, smb_attr_t *, smb_node_t **); 55 int smb_fsop_mkdir(smb_request_t *, cred_t *, smb_node_t *, 56 char *, smb_attr_t *, smb_node_t **); 58 int smb_fsop_remove(smb_request_t *sr, cred_t *cr, smb_node_t *, 61 int smb_fsop_rmdir(smb_request_t *, cred_t *, smb_node_t *, char *, uint32_t); [all …]
|
H A D | smb_kproto.h | 237 int smb_trans2_rename(smb_request_t *, smb_node_t *, char *, int); 255 void smb_oplock_acquire(smb_request_t *sr, smb_node_t *, smb_ofile_t *); 256 void smb_oplock_release(smb_node_t *, smb_ofile_t *); 257 int smb_oplock_break(smb_request_t *, smb_node_t *, uint32_t); 258 void smb_oplock_break_levelII(smb_node_t *); 259 void smb_oplock_ack(smb_node_t *, smb_ofile_t *, uint8_t); 260 void smb_oplock_broadcast(smb_node_t *); 265 uint32_t smb_lock_get_lock_count(smb_node_t *, smb_ofile_t *); 266 uint32_t smb_unlock_range(smb_request_t *, smb_node_t *, 271 DWORD smb_nbl_conflict(smb_node_t *, uint64_t, uint64_t, nbl_op_t); [all …]
|
H A D | smb_ktypes.h | 651 } smb_node_t; typedef 1046 smb_node_t *t_snode; 1204 smb_node_t *f_node; 1276 smb_node_t *d_dnode; 1400 smb_node_t *fq_dnode; 1401 smb_node_t *fq_fnode; 1867 smb_node_t *si_root_smb_node;
|
/titanic_44/usr/src/cmd/smbsrv/dtrace/ |
H A D | smbnode.d | 42 /((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_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_node.c | 102 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 D | smb_oplock.c | 49 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 *); 63 static smb_oplock_break_t *smb_oplock_create_break(smb_node_t *); 66 static void smb_oplock_process_levelII_break(smb_node_t *); 143 smb_oplock_install_fem(smb_node_t *node) in smb_oplock_install_fem() [all …]
|
H A D | smb_fem.c | 158 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 D | smb_fsops.c | 37 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 D | smb_vss.c | 64 static int smb_vss_lookup_node(smb_request_t *sr, smb_node_t *, vnode_t *, 65 char *, smb_node_t *, char *, smb_node_t **); 81 smb_node_t *tnode; in smb_vss_ioctl_enumerate_snaps() 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() 210 smb_vss_lookup_node(smb_request_t *sr, smb_node_t *node, vnode_t *fsrootvp, in smb_vss_lookup_node() 211 char *snapname, smb_node_t *dnode, char *odname, smb_node_t **vss_node) in smb_vss_lookup_node()
|
H A D | smb_lock.c | 41 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() 269 smb_node_t *node, in smb_lock_range_access() 305 smb_node_destroy_lock_by_ofile(smb_node_t *node, smb_ofile_t *file) in smb_node_destroy_lock_by_ofile() 381 smb_nbl_conflict(smb_node_t *node, uint64_t off, uint64_t len, nbl_op_t op) in smb_nbl_conflict() 421 smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr) in smb_lock_posix_unlock() [all …]
|
H A D | smb_pathname.c | 148 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() 342 smb_node_t *root_node, smb_node_t *cur_node, smb_node_t **dir_node, in smb_pathname() 343 smb_node_t **ret_node, cred_t *cred) in smb_pathname() [all …]
|
H A D | smb_rename.c | 52 static int smb_rename_check_attr(smb_request_t *, smb_node_t *, uint16_t); 260 smb_trans2_rename(smb_request_t *sr, smb_node_t *node, char *fname, int flags) in smb_trans2_rename() 323 smb_node_t *src_fnode, *src_dnode, *dst_dnode; in smb_common_rename() 324 smb_node_t *dst_fnode = 0; in smb_common_rename() 325 smb_node_t *tnode = 0; in smb_common_rename() 552 smb_node_t *src_fnode = src_fqi->fq_fnode; in smb_rename_check_stream() 599 smb_node_t *tnode; in smb_make_link() 688 smb_node_t *src_node, *tnode; in smb_rename_lookup_src() 806 smb_rename_check_attr(smb_request_t *sr, smb_node_t *node, uint16_t sattr) in smb_rename_check_attr()
|
H A D | smb_query_fileinfo.c | 75 smb_node_t *qi_node; /* NULL for pipes */ 90 static int smb_query_fileinfo(smb_request_t *, smb_node_t *, 101 static int smb_query_pathname(smb_request_t *, smb_node_t *, boolean_t, 103 static void smb_query_shortname(smb_node_t *, smb_queryinfo_t *); 233 smb_node_t *node; in smb_query_by_fid() 299 smb_node_t *node, *dnode; in smb_query_by_path() 646 smb_node_t *fnode = qinfo->qi_node; in smb_encode_stream_info() 784 smb_query_fileinfo(smb_request_t *sr, smb_node_t *node, uint16_t infolev, in smb_query_fileinfo() 871 smb_query_pathname(smb_request_t *sr, smb_node_t *node, boolean_t include_share, in smb_query_pathname() 915 smb_query_shortname(smb_node_t *node, smb_queryinfo_t *qinfo) in smb_query_shortname()
|
H A D | smb_set_fileinfo.c | 72 smb_node_t *si_node; 273 smb_node_t *node, *dnode; in smb_set_by_path() 387 smb_node_t *node = sinfo->si_node; in smb_set_information() 473 smb_node_t *node = sinfo->si_node; in smb_set_standard_info() 528 smb_node_t *node = sinfo->si_node; in smb_set_basic_info() 586 smb_node_t *node = sinfo->si_node; in smb_set_eof_info() 624 smb_node_t *node = sinfo->si_node; in smb_set_alloc_info()
|
H A D | smb_odir.c | 252 static uint16_t smb_odir_create(smb_request_t *, smb_node_t *, 260 char *, smb_node_t **); 278 smb_node_t *dnode; in smb_odir_open() 335 smb_odir_openat(smb_request_t *sr, smb_node_t *unode) in smb_odir_openat() 343 smb_node_t *xattr_dnode; in smb_odir_openat() 652 smb_node_t *fnode; in smb_odir_read_streaminfo() 859 smb_odir_create(smb_request_t *sr, smb_node_t *dnode, in smb_odir_create() 1094 smb_node_t *fnode, *tgt_node; in smb_odir_single_fileinfo() 1220 smb_node_t *fnode, *tgt_node; in smb_odir_wildcard_fileinfo() 1331 char *fname, smb_node_t **tgt_node) in smb_odir_lookup_link()
|
H A D | smb_directory.c | 116 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 D | smb_common_open.c | 48 static void smb_open_oplock_break(smb_request_t *, smb_node_t *); 308 smb_node_t *node = NULL; in smb_open_subr() 309 smb_node_t *dnode = NULL; in smb_open_subr() 310 smb_node_t *cur_node = NULL; in smb_open_subr() 954 smb_open_oplock_break(smb_request_t *sr, smb_node_t *node) in smb_open_oplock_break() 1022 smb_node_t *node = of->f_node; in smb_set_open_attributes()
|
H A D | smb_tree.c | 179 smb_node_t *, uint32_t, uint32_t); 183 static int smb_tree_getattr(const smb_kshare_t *, smb_node_t *, smb_tree_t *); 632 smb_node_t *dnode = NULL; in smb_tree_connect_disk() 633 smb_node_t *snode = NULL; in smb_tree_connect_disk() 752 smb_node_t *dnode = NULL; in smb_tree_connect_printq() 753 smb_node_t *snode = NULL; in smb_tree_connect_printq() 862 smb_node_t *snode, uint32_t access, uint32_t execflags) in smb_tree_alloc() 1069 smb_tree_getattr(const smb_kshare_t *si, smb_node_t *node, smb_tree_t *tree) in smb_tree_getattr()
|
H A D | smb_nt_transact_notify_change.c | 150 smb_node_t *node; in smb_nt_transact_notify_change() 362 smb_notify_event(smb_node_t *node, uint_t action, const char *name) in smb_notify_event()
|
H A D | smb_sd.c | 129 smb_node_t *node; in smb_sd_read() 160 smb_node_t *node; in smb_sd_write()
|
H A D | smb_nt_transact_quota.c | 123 smb_node_t *tnode; in smb_nt_transact_query_quota() 257 smb_node_t *tnode; in smb_nt_transact_set_quota() 657 smb_node_t *tnode; in smb_quota_query_user_quota()
|
H A D | smb_delete.c | 408 smb_node_t *node; in smb_delete_check_dosattr() 480 smb_node_t *node; in smb_delete_remove_file()
|
H A D | smb_fsinfo.c | 196 smb_node_t *snode; in smb_com_trans2_query_fs_information() 418 smb_node_t *node; in smb_fssize()
|
H A D | smb_write.c | 463 smb_node_t *node; in smb_common_write() 547 smb_node_t *node = ofile->f_node; in smb_write_truncate()
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_fem.c | 41 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()
|