Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_directory.c120 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 Dsmb_common_open.c395 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()
632 rc = smb_fsop_create_stream(sr, sr->user_cr, dnode, 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()
1020 rc = smb_fsop_create(sr, sr->user_cr, dnode, in smb_common_open()
1028 rc = smb_fsop_mkdir(sr, sr->user_cr, dnode, in smb_common_open()
1202 smb_fsop_unshrlock(sr->user_cr, fnode, uniq_fid); in smb_common_open()
1290 (void) smb_fsop_rmdir(sr, sr->user_cr, fqi->fq_dnode, in smb_delete_new_object()
[all …]
H A Dsmb_cmn_rename.c157 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 Dsmb_set_fileinfo.c234 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 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()
538 rc = smb_fsop_remove(sr, sr->user_cr, node->n_dnode, in smb_delete_remove_file()
H A Dsmb_write.c90 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 Dsmb_cmn_setfile.c115 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 Dsmb_read.c102 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 Dsmb_opipe.c55 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 Dsmb2_fsctl_copychunk.c440 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 Dsmb_query_fileinfo.c244 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 Dsmb_process_exit.c82 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_process_exit()
H A Dsmb_seek.c112 sr->user_cr = smb_ofile_getcred(sr->fid_ofile); in smb_com_seek()
H A Dsmb_print.c291 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 Dsmb2_set_info.c82 sr->user_cr = sr->fid_ofile->f_cr; in smb2_set_info()
H A Dsmb_sd.c142 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 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_trans2_find.c319 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 Dsmb_tree_connect.c447 sr->user_cr = smb_user_getcred(sr->uid_user); in smb_com_tree_disconnect()
H A Dsmb_srv_oplock.c221 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 Dsmb_nt_create_andx.c279 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_com_nt_create_andx()
H A Dsmb2_durable.c374 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 Dsmb_authenticate.c513 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 Dsmb_nt_transact_create.c190 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb_nt_transact_create()
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dsmb.d67 soi_cred = (cred_t *)P->user_cr;
149 soi_cred = (cred_t *)P->user_cr;

12