/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_directory.c | 120 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path, in smb_common_create_directory() 131 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_common_create_directory() 143 rc = smb_fsop_access(sr, sr->user_cr, fqi->fq_dnode, in smb_common_create_directory() 161 rc = smb_fsop_mkdir(sr, sr->user_cr, fqi->fq_dnode, fqi->fq_last_comp, in smb_common_create_directory() 242 rc = smb_pathname_reduce(sr, sr->user_cr, fqi->fq_path.pn_path, in smb_com_delete_directory() 250 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_com_delete_directory() 293 (smb_fsop_access(sr, sr->user_cr, fqi->fq_fnode, DELETE) in smb_com_delete_directory() 305 rc = smb_fsop_rmdir(sr, sr->user_cr, fqi->fq_dnode, in smb_com_delete_directory() 402 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_com_check_directory() 409 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_com_check_directory() [all …]
|
H A D | smb_common_open.c | 395 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_common_open() 597 status = smb_fsop_access(sr, sr->user_cr, fnode, in smb_common_open() 604 smb_fsop_eaccess(sr, sr->user_cr, fnode, &max_allowed); in smb_common_open() 611 if (crgetuid(sr->user_cr) == op->fqi.fq_fattr.sa_vattr.va_uid) in smb_common_open() 632 rc = smb_fsop_create_stream(sr, sr->user_cr, dnode, in smb_common_open() 673 status = smb_fsop_shrlock(sr->user_cr, fnode, uniq_fid, in smb_common_open() 735 status = smb_fsop_shrlock(sr->user_cr, fnode, uniq_fid, in smb_common_open() 849 smb_fsop_unshrlock(sr->user_cr, fnode, uniq_fid); in smb_common_open() 894 rc = smb_fsop_setattr(sr, sr->user_cr, fnode, in smb_common_open() 906 sr->user_cr, fnode); in smb_common_open() [all …]
|
H A D | smb_cmn_rename.c | 157 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename() 177 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename() 220 rc = smb_fsop_lookup(sr, sr->user_cr, in smb_common_rename() 304 rc = smb_fsop_rename(sr, sr->user_cr, in smb_common_rename() 483 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link() 507 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link() 519 rc = smb_fsop_link(sr, sr->user_cr, src_fqi->fq_fnode, in smb_make_link() 557 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_rename_lookup_src() 563 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_rename_lookup_src()
|
H A D | smb_set_fileinfo.c | 234 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_set_by_fid() 289 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_set_by_path() 292 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_set_by_path() 421 rc = smb_node_setattr(sr, node, sr->user_cr, NULL, &attr); in smb_set_information() 460 rc = smb_node_setattr(sr, sinfo->si_node, sr->user_cr, in smb_set_information2() 504 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() 538 rc = smb_fsop_remove(sr, sr->user_cr, node->n_dnode, in smb_delete_remove_file()
|
H A D | smb_write.c | 90 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write() 179 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_and_close() 281 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_and_unlock() 444 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_andx() 515 rc = smb_fsop_write(sr, sr->user_cr, node, ofile, in smb_common_write() 595 rc = smb_node_setattr(sr, node, sr->user_cr, ofile, &attr); in smb_write_truncate()
|
H A D | smb_cmn_setfile.c | 115 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_basic_info() 157 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_eof_info() 199 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_alloc_info()
|
H A D | smb_read.c | 102 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_read() 193 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_lock_and_read() 329 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_read_andx() 440 rc = smb_fsop_read(sr, sr->user_cr, node, ofile, in smb_common_read()
|
H A D | smb_opipe.c | 55 KSOCKET_SLEEP, sr->user_cr) != 0) in smb_opipe_alloc() 119 (void) ksocket_shutdown(so, SHUT_RDWR, sr->user_cr); in smb_opipe_cancel() 149 sizeof (saddr), sr->user_cr); in smb_opipe_connect() 231 &iocnt, sr->user_cr); in smb_opipe_send_userinfo() 236 0, &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
|
H A D | smb2_fsctl_copychunk.c | 440 error = smb_node_setattr(sr, dst_of->f_node, sr->user_cr, in smb2_fsctl_copychunk_meta() 455 error = smb_fsop_sdread(sr, sr->user_cr, src_of->f_node, &fs_sd); in smb2_fsctl_copychunk_meta() 457 error = smb_fsop_sdwrite(sr, sr->user_cr, dst_of->f_node, in smb2_fsctl_copychunk_meta()
|
H A D | smb_query_fileinfo.c | 244 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_query_by_fid() 320 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_query_by_path() 325 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_query_by_path() 661 rc = smb_node_getattr(sr, fnode, sr->user_cr, NULL, &attr); in smb_query_stream_info() 780 rc = smb_node_getattr(sr, node, sr->user_cr, sr->fid_ofile, in smb_query_fileinfo()
|
H A D | smb_process_exit.c | 82 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_process_exit()
|
H A D | smb_seek.c | 112 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_seek()
|
H A D | smb_print.c | 291 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_write_print_file() 295 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 | 82 sr->user_cr = sr->fid_ofile->f_cr; in smb2_set_info()
|
H A D | smb_sd.c | 142 error = smb_fsop_sdread(sr, sr->user_cr, node, &fs_sd); in smb_sd_read() 178 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_trans2_find.c | 319 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_first2() 457 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_next2()
|
H A D | smb_tree_connect.c | 447 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_tree_disconnect()
|
H A D | smb_srv_oplock.c | 221 sr->user_cr = zone_kcred(); in smb_oplock_ind_break_in_ack() 356 sr->user_cr = zone_kcred(); in smb_oplock_ind_break()
|
H A D | smb_nt_create_andx.c | 279 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_nt_create_andx()
|
H A D | smb2_durable.c | 374 sr->user_cr = sr->uid_user->u_cred; in smb2_dh_import_share() 1395 if (!smb_is_same_user(sr->user_cr, of->f_cr)) in smb2_dh_reconnect_checks() 1465 of->f_cr = sr->user_cr; in smb2_dh_reconnect() 1649 if (!smb_is_same_user(sr->user_cr, of->f_cr)) in smb2_dh_close_my_orphans()
|
H A D | smb_authenticate.c | 513 sr->user_cr = user->u_cred; in smb_auth_get_token() 593 (void) ksocket_shutdown(authsock, SHUT_RDWR, sr->user_cr); in smb_authsock_cancel()
|
H A D | smb_nt_transact_create.c | 190 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_nt_transact_create()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | smb.d | 67 soi_cred = (cred_t *)P->user_cr; 149 soi_cred = (cred_t *)P->user_cr;
|