Home
last modified time | relevance | path

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

12

/titanic_50/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.c424 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 Dsmb_cmn_rename.c141 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 Dsmb_cmn_setfile.c92 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 Dsmb_set_fileinfo.c234 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 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()
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 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_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_opipe.c54 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 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 Dsmb2_set_info.c69 sr->user_cr = sr->fid_ofile->f_cr; in smb2_set_info()
H A Dsmb_query_fileinfo.c246 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 Dsmb_sd.c139 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 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_tree_connect.c424 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_tree_disconnect()
H A Dsmb_nt_create_andx.c263 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_nt_create_andx()
H A Dsmb_trans2_find.c319 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 Dsmb2_dispatch.c285 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 Dsmb_nt_transact_create.c172 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()
244 if (smb_fsop_frlock(node, lock, B_FALSE, sr->user_cr)) in smb_lock_range()
H A Dsmb_fsinfo.c395 if ((rc = smb_fsop_statfs(sr->user_cr, node, &df)) != 0) in smb_fssize()
H A Dsmb_odir.c299 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()

12