Home
last modified time | relevance | path

Searched refs:user_cr (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c121 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 Dsmb_common_open.c443 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_open_subr()
612 status = smb_fsop_access(sr, sr->user_cr, node, in smb_open_subr()
630 smb_fsop_eaccess(sr, sr->user_cr, node, &max_allowed); in smb_open_subr()
648 status = smb_fsop_shrlock(sr->user_cr, node, uniq_fid, in smb_open_subr()
676 rc = smb_fsop_setattr(sr, sr->user_cr, node, &new_attr); in smb_open_subr()
678 smb_fsop_unshrlock(sr->user_cr, node, uniq_fid); in smb_open_subr()
691 rc = smb_fsop_remove_streams(sr, sr->user_cr, in smb_open_subr()
694 smb_fsop_unshrlock(sr->user_cr, node, in smb_open_subr()
771 rc = smb_fsop_create(sr, sr->user_cr, dnode, in smb_open_subr()
785 status = smb_fsop_shrlock(sr->user_cr, node, uniq_fid, in smb_open_subr()
[all …]
H A Dsmb_set_fileinfo.c243 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()
413 rc = smb_node_setattr(sr, node, sr->user_cr, NULL, &attr); in smb_set_information()
453 rc = smb_node_setattr(sr, sinfo->si_node, sr->user_cr, in smb_set_information2()
499 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_set_standard_info()
568 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_set_basic_info()
605 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_set_eof_info()
643 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, &attr); in smb_set_alloc_info()
709 sr->user_cr, flags); in smb_set_disposition_info()
H A Dsmb_rename.c357 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_common_rename()
377 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_common_rename()
420 rc = smb_fsop_lookup(sr, sr->user_cr, in smb_common_rename()
506 rc = smb_fsop_rename(sr, sr->user_cr, in smb_common_rename()
624 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_make_link()
647 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_make_link()
659 rc = smb_fsop_link(sr, sr->user_cr, src_fqi->fq_fnode, in smb_make_link()
703 rc = smb_pathname_reduce(sr, sr->user_cr, path, tnode, tnode, in smb_rename_lookup_src()
708 rc = smb_fsop_lookup(sr, sr->user_cr, 0, tnode, in smb_rename_lookup_src()
H A Dsmb_delete.c163 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()
310 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_CASE_SENSITIVE, in smb_delete_multiple_files()
548 rc = smb_fsop_remove(sr, sr->user_cr, node->n_dnode, in smb_delete_remove_file()
H A Dsmb_flush.c122 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 Dsmb_write.c91 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 Dsmb_opipe.c51 KSOCKET_SLEEP, sr->user_cr) != 0) in smb_opipe_alloc()
121 sizeof (saddr), sr->user_cr); in smb_opipe_connect()
175 &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
182 &iocnt, sr->user_cr); in smb_opipe_send_userinfo()
H A Dsmb_read.c104 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 Dsmb_process_exit.c80 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_process_exit()
H A Dsmb_seek.c110 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_seek()
H A Dsmb_print.c292 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 Dsmb_session_setup_andx.c287 sr->user_cr = user->u_cred; in smb_authenticate_core()
321 sr->user_cr = user->u_cred; in smb_authenticate_core()
357 sr->user_cr = user->u_cred; in smb_authenticate_core()
H A Dsmb_sd.c138 error = smb_fsop_sdread(sr, sr->user_cr, node, &fs_sd); in smb_sd_read()
177 error = smb_fsop_sdwrite(sr, sr->user_cr, node, &fs_sd, 0); in smb_sd_write()
H A Dsmb_query_fileinfo.c255 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_query_by_fid()
331 rc = smb_pathname_reduce(sr, sr->user_cr, pn->pn_path, in smb_query_by_path()
336 rc = smb_fsop_lookup_name(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_query_by_path()
803 rc = smb_node_getattr(sr, node, sr->user_cr, sr->fid_ofile, in smb_query_fileinfo()
H A Dsmb_tree_connect.c397 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_tree_disconnect()
H A Dsmb_nt_transact_security.c88 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 Dsmb_nt_create_andx.c262 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_nt_create_andx()
H A Dsmb_trans2_find.c318 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_first2()
460 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_trans2_find_next2()
H A Dsmb_nt_transact_create.c171 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_nt_transact_create()
H A Dsmb_lock.c114 smb_lock_posix_unlock(node, lock, sr->user_cr); in smb_unlock_range()
241 if (smb_fsop_frlock(node, lock, B_FALSE, sr->user_cr)) in smb_lock_range()
H A Dsmb_fsinfo.c426 if ((rc = smb_fsop_statfs(sr->user_cr, node, &df)) != 0) { in smb_fssize()
H A Dsmb_odir.c293 rc = smb_pathname_reduce(sr, sr->user_cr, path, in smb_odir_open()
307 if (smb_fsop_access(sr, sr->user_cr, dnode, FILE_LIST_DIRECTORY) != 0) { in smb_odir_open()
H A Dsmb_dispatch.c534 sr->user_cr = zone_kcred(); in smb_dispatch_request()
687 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_dispatch_request()
H A Dsmb_server.c963 sr->user_cr = zone_kcred(); in smb_server_sharevp()
965 rc = smb_pathname_reduce(sr, sr->user_cr, shr_path, in smb_server_sharevp()
969 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_server_sharevp()

12