/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_directory.c | 121 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path, in smb_common_create_directory() 132 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_common_create_directory() 144 rc = smb_fsop_access(sr, sr->user_cr, fqi->fq_dnode, in smb_common_create_directory() 162 rc = smb_fsop_mkdir(sr, sr->user_cr, fqi->fq_dnode, fqi->fq_last_comp, in smb_common_create_directory() 244 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path, in smb_com_delete_directory() 252 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_com_delete_directory() 299 (smb_fsop_access(sr, sr->user_cr, fqi->fq_fnode, DELETE) in smb_com_delete_directory() 311 rc = smb_fsop_rmdir(sr, sr->user_cr, fqi->fq_dnode, in smb_com_delete_directory() 409 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_com_check_directory() 416 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_com_check_directory() [all …]
|
H A D | smb_common_open.c | 424 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_open_subr() 575 status = smb_fsop_access(sr, sr->user_cr, node, in smb_open_subr() 590 smb_fsop_eaccess(sr, sr->user_cr, node, &max_allowed); in smb_open_subr() 619 status = smb_fsop_shrlock(sr->user_cr, node, uniq_fid, in smb_open_subr() 653 rc = smb_fsop_setattr(sr, sr->user_cr, node, &new_attr); in smb_open_subr() 655 smb_fsop_unshrlock(sr->user_cr, node, uniq_fid); in smb_open_subr() 668 sr->user_cr, node); in smb_open_subr() 670 smb_fsop_unshrlock(sr->user_cr, node, in smb_open_subr() 750 rc = smb_fsop_create(sr, sr->user_cr, dnode, in smb_open_subr() 763 status = smb_fsop_shrlock(sr->user_cr, node, uniq_fid, in smb_open_subr() [all …]
|
H A D | smb_cmn_rename.c | 141 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename() 161 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename() 204 rc = smb_fsop_lookup(sr, sr->user_cr, in smb_common_rename() 290 rc = smb_fsop_rename(sr, sr->user_cr, in smb_common_rename() 461 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link() 485 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link() 497 rc = smb_fsop_link(sr, sr->user_cr, src_fqi->fq_fnode, in smb_make_link() 540 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_rename_lookup_src() 545 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_rename_lookup_src()
|
H A D | smb_cmn_setfile.c | 92 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_basic_info() 127 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_eof_info() 163 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_alloc_info()
|
H A D | smb_set_fileinfo.c | 234 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_set_by_fid() 286 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_set_by_path() 289 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_set_by_path() 424 rc = smb_node_setattr(sr, node, sr->user_cr, NULL, &attr); in smb_set_information() 463 rc = smb_node_setattr(sr, sinfo->si_node, sr->user_cr, in smb_set_information2() 507 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_set_standard_info()
|
H A D | smb_delete.c | 163 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path, in smb_com_delete() 194 rc = smb_fsop_access(sr, sr->user_cr, fqi->fq_dnode, 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() 309 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_CASE_SENSITIVE, in smb_delete_multiple_files() 544 rc = smb_fsop_remove(sr, sr->user_cr, node->n_dnode, in smb_delete_remove_file()
|
H A D | smb_flush.c | 122 sr->user_cr = smb_ofile_getcred(ofile); in smb_flush_file() 125 (void) smb_fsop_commit(sr, sr->user_cr, ofile->f_node); in smb_flush_file()
|
H A D | smb_write.c | 91 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write() 182 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_and_close() 285 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_and_unlock() 417 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_andx() 488 rc = smb_fsop_write(sr, sr->user_cr, node, in smb_common_write() 571 rc = smb_node_setattr(sr, node, sr->user_cr, ofile, &attr); in smb_write_truncate()
|
H A D | smb_read.c | 104 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_read() 196 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_lock_and_read() 302 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_read_andx() 416 rc = smb_fsop_read(sr, sr->user_cr, node, &vdb->vdb_uio); in smb_common_read()
|
H A D | smb_opipe.c | 54 KSOCKET_SLEEP, sr->user_cr) != 0) in smb_opipe_alloc() 124 sizeof (saddr), sr->user_cr); in smb_opipe_connect() 178 &iocnt, sr->user_cr); in smb_opipe_send_userinfo() 185 &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
|
H A D | smb_process_exit.c | 80 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_process_exit()
|
H A D | smb_seek.c | 110 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_seek()
|
H A D | smb_print.c | 292 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_print_file() 296 rc = smb_node_getattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_com_write_print_file()
|
H A D | smb2_set_info.c | 69 sr->user_cr = sr->fid_ofile->f_cr; in smb2_set_info()
|
H A D | smb_query_fileinfo.c | 246 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_query_by_fid() 322 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_query_by_path() 327 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_query_by_path() 804 rc = smb_node_getattr(sr, node, sr->user_cr, sr->fid_ofile, in smb_query_fileinfo()
|
H A D | smb_sd.c | 139 error = smb_fsop_sdread(sr, sr->user_cr, node, &fs_sd); in smb_sd_read() 175 error = smb_fsop_sdwrite(sr, sr->user_cr, node, &fs_sd, 0); in smb_sd_write()
|
H A D | smb_nt_transact_security.c | 88 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_nt_transact_query_security_info() 177 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_nt_transact_set_security_info()
|
H A D | smb_tree_connect.c | 424 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_tree_disconnect()
|
H A D | smb_nt_create_andx.c | 263 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_nt_create_andx()
|
H A D | smb_trans2_find.c | 319 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_first2() 456 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_next2()
|
H A D | smb2_dispatch.c | 285 sr->user_cr = zone_kcred(); in smb2sr_work() 437 sr->user_cr = zone_kcred(); in smb2sr_work() 474 sr->user_cr = smb_user_getcred(sr->uid_user); in smb2sr_work()
|
H A D | smb_nt_transact_create.c | 172 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_nt_transact_create()
|
H A D | smb_lock.c | 114 smb_lock_posix_unlock(node, lock, sr->user_cr); in smb_unlock_range() 244 if (smb_fsop_frlock(node, lock, B_FALSE, sr->user_cr)) in smb_lock_range()
|
H A D | smb_fsinfo.c | 395 if ((rc = smb_fsop_statfs(sr->user_cr, node, &df)) != 0) in smb_fssize()
|
H A D | smb_odir.c | 299 rc = smb_pathname_reduce(sr, sr->user_cr, path, in smb_odir_openpath() 309 if (smb_fsop_access(sr, sr->user_cr, dnode, FILE_LIST_DIRECTORY) != 0) { in smb_odir_openpath()
|