/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksyscalls.c | 2089 sr->sr_mp_head = sr->sr_mp_tail = mp; in snf_enque() 2096 while ((sr->sr_qlen > sr->sr_hiwat) && in snf_enque() 2099 cv_wait(&sr->sr_cv, &sr->sr_lock); in snf_enque() 2142 cv_wait(&sr->sr_cv, &sr->sr_lock); in snf_deque() 2150 if (sr->sr_qlen < sr->sr_lowat) in snf_deque() 2180 fp = sr->sr_fp; in snf_async_read() 2261 snf_req_t *sr; in snf_async_thread() local 2302 snf_req_t *sr; in create_thread() local 2350 return (sr); in create_thread() 2357 snf_req_t *sr; in snf_direct_io() local [all …]
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | terminfo.src | 6118 # :sr: was given as a boolean-- esr) 12145 # (cdc721: changed :ri: to :sr: -- esr) 13301 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolli… 13313 d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 13314 use=d412-unix-sr, 13324 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 13325 use=d413-unix-sr, 13340 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 13341 use=d413-unix-sr, use=dgunix+fixed, 13351 use=d413-unix-sr, use=dgunix+ccc, [all …]
|
H A D | termcap.src | 750 :so=\Ep:sr=\EI:ta=^I:up=\EA: 1832 :sr=\EI:ta=^I:up=\EA: 7941 :sr=10\Ej:tc=wy60: 11781 d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolli… 11793 :tc=d412-unix-sr: 11803 d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region:\ 11804 :tc=d413-unix-sr: 11819 d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region:\ 13643 :sr=20*\EM:ta=^I:up=\E[A: 14218 :sr=\ER:up=\EA: [all …]
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb2_kproto.h | 39 #define SMB3_CLIENT_ENCRYPTS(sr) \ argument 40 ((sr->session->capabilities & SMB2_CAP_ENCRYPTION) != 0) 88 uint32_t smb2_sparse_copy(smb_request_t *sr, 137 void smb2_oplock_acquire(smb_request_t *sr); 138 void smb2_oplock_reconnect(smb_request_t *sr); 139 void smb2_lease_acquire(smb_request_t *sr); 140 uint32_t smb2_lease_create(smb_request_t *sr, uint8_t *);
|
H A D | smb_kproto.h | 247 smb_sdrc_t smb1_negotiate_smb2(smb_request_t *sr); 333 void smbsr_cleanup(smb_request_t *sr); 380 int smbsr_decode_vwv(smb_request_t *sr, const char *, ...); 381 int smbsr_decode_data(smb_request_t *sr, const char *, ...); 384 smb_xa_t *smbsr_lookup_xa(smb_request_t *sr); 411 void smbsr_encode_header(smb_request_t *sr, int wct, 597 int smb_try_grow(smb_request_t *sr, int64_t new_size); 783 smb_xa_t *smb_xa_create(smb_session_t *session, smb_request_t *sr,
|
H A D | smb_ktypes.h | 1183 #define SMB_TREE_IS_READONLY(sr) \ argument 1184 ((sr) != NULL && (sr)->tid_tree != NULL && \ 1188 (((sr) && (sr)->tid_tree) ? \ 1193 (((sr) && (sr)->tid_tree) ? \ 1197 (((sr) && (sr)->tid_tree) ? \ 1201 (((sr) && (sr)->tid_tree) ? \ 1204 #define SMB_TREE_IS_DFSROOT(sr) \ argument 1205 (((sr) && (sr)->tid_tree) ? \ 1209 (((sr) && (sr)->tid_tree) ? \ 1220 ((sr) == NULL || (sr)->tid_tree == NULL || \ [all …]
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_server.c | 1045 smb_request_t *sr; in smb_server_share_lookup() local 1063 if ((sr = smb_request_alloc(sv->sv_session, 0)) == NULL) { in smb_server_share_lookup() 1066 sr->user_cr = zone_kcred(); in smb_server_share_lookup() 1068 rc = smb_pathname_reduce(sr, sr->user_cr, shr_path, in smb_server_share_lookup() 1072 rc = smb_fsop_lookup(sr, sr->user_cr, SMB_FOLLOW_LINKS, in smb_server_share_lookup() 1077 smb_request_free(sr); in smb_server_share_lookup() 2273 smb_server_logoff_ssnid(smb_request_t *sr, uint64_t ssnid) in smb_server_logoff_ssnid() argument 2275 smb_server_t *sv = sr->sr_server; in smb_server_logoff_ssnid() 2313 if (smb_is_same_user(user->u_cred, sr->user_cr)) { in smb_server_logoff_ssnid() 2328 if (smb_is_same_user(user->u_cred, sr->user_cr)) in smb_server_logoff_ssnid()
|
H A D | smb_user.c | 502 smb_request_t *sr; in smb_user_auth_tmo() local 512 if (sr == NULL) in smb_user_auth_tmo() 522 smb_request_free(sr); in smb_user_auth_tmo() 533 sr->uid_user = user; in smb_user_auth_tmo() 534 sr->user_cr = user->u_cred; in smb_user_auth_tmo() 548 smb_request_t *sr = arg; in smb_user_logoff_tq() local 550 SMB_REQ_VALID(sr); in smb_user_logoff_tq() 552 mutex_enter(&sr->sr_mutex); in smb_user_logoff_tq() 553 sr->sr_worker = curthread; in smb_user_logoff_tq() 555 mutex_exit(&sr->sr_mutex); in smb_user_logoff_tq() [all …]
|
H A D | smb_odir.c | 290 ASSERT(sr); in smb_odir_openpath() 296 tree = sr->tid_tree; in smb_odir_openpath() 301 rc = smb_pathname_reduce(sr, sr->user_cr, path, in smb_odir_openpath() 311 if (smb_fsop_access(sr, sr->user_cr, dnode, FILE_LIST_DIRECTORY) != 0) { in smb_odir_openpath() 378 ASSERT(sr); in smb_odir_openat() 531 ASSERT(sr); in smb_odir_read() 603 ASSERT(sr); in smb_odir_read_fileinfo() 698 ASSERT(sr); in smb_odir_read_streaminfo() 925 ASSERT(sr); in smb_odir_create() 1207 ASSERT(sr); in smb_odir_single_fileinfo() [all …]
|
H A D | smb_kutil.c | 86 if (sr->session->dialect >= SMB_VERS_2_BASE || in smb_ascii_or_unicode_strlen() 87 (sr->smb_flg2 & SMB_FLAGS2_UNICODE) != 0) in smb_ascii_or_unicode_strlen() 102 if (sr->session->dialect >= SMB_VERS_2_BASE || in smb_ascii_or_unicode_strlen_null() 103 (sr->smb_flg2 & SMB_FLAGS2_UNICODE) != 0) in smb_ascii_or_unicode_strlen_null() 109 smb_ascii_or_unicode_null_len(struct smb_request *sr) in smb_ascii_or_unicode_null_len() argument 111 if (sr->session->dialect >= SMB_VERS_2_BASE || in smb_ascii_or_unicode_null_len() 112 (sr->smb_flg2 & SMB_FLAGS2_UNICODE) != 0) in smb_ascii_or_unicode_null_len() 1170 smb_time_gmt_to_local(smb_request_t *sr, int32_t gmt) in smb_time_gmt_to_local() argument 1175 return (gmt - sr->sr_gmtoff); in smb_time_gmt_to_local() 1179 smb_time_local_to_gmt(smb_request_t *sr, int32_t local) in smb_time_local_to_gmt() argument [all …]
|
H A D | smb_node.c | 256 struct smb_request *sr, in smb_node_lookup() argument 291 if (sr && sr->tid_tree) { in smb_node_lookup() 297 fsid = SMB_TREE_FSID(sr->tid_tree); in smb_node_lookup() 408 xattrdir_node = smb_node_lookup(sr, NULL, cr, xattrdirvp, XATTR_DIR, in smb_stream_node_lookup() 1529 smb_node_setattr(smb_request_t *sr, smb_node_t *node, in smb_node_setattr() argument 1681 if (sr != NULL && of->dh_persist) { in smb_node_setattr() 1682 smb2_dh_update_times(sr, of, attr); in smb_node_setattr() 1697 rc = smb_fsop_setattr(sr, cr, node, attr); in smb_node_setattr() 1703 if (rc == 0 && sr != NULL) in smb_node_setattr() 1718 smb_node_getattr(smb_request_t *sr, smb_node_t *node, cred_t *cr, in smb_node_getattr() argument [all …]
|
H A D | smb2_durable.c | 299 smb_request_t *sr; in smb2_dh_new_ca_share() local 313 if (sr == NULL) { in smb2_dh_new_ca_share() 347 smb_request_t *sr = arg; in smb2_dh_import_share() local 372 sr->uid_user = sr->sr_server->sv_rootuser; in smb2_dh_import_share() 374 sr->user_cr = sr->uid_user->u_cred; in smb2_dh_import_share() 379 sr->tid_tree = smb_tree_alloc(sr, shr, shr->shr_root_node, in smb2_dh_import_share() 452 sr->fid_ofile = NULL; in smb2_dh_import_share() 487 smb_request_free(sr); in smb2_dh_import_share() 684 of = sr->fid_ofile; in smb2_dh_import_handle() 777 sr, in smb2_dh_import_handle() [all …]
|
H A D | smb2_flush.c | 26 smb2_flush(smb_request_t *sr) in smb2_flush() argument 39 &sr->smb_data, "wwlqq", in smb2_flush() 51 status = smb2sr_lookup_fid(sr, &smb2fid); in smb2_flush() 52 DTRACE_SMB2_START(op__Flush, smb_request_t *, sr); in smb2_flush() 55 smb_ofile_flush(sr, sr->fid_ofile); in smb2_flush() 57 sr->smb2_status = status; in smb2_flush() 58 DTRACE_SMB2_DONE(op__Flush, smb_request_t *, sr); in smb2_flush() 61 smb2sr_put_error(sr, status); in smb2_flush() 69 &sr->reply, "ww", in smb2_flush()
|
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() 147 (void) smb2sr_go_async(sr); in smb_set_eof_info() 148 (void) smb_oplock_wait_break(sr, node, 0); in smb_set_eof_info() 157 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_eof_info() 189 (void) smb2sr_go_async(sr); in smb_set_alloc_info() 190 (void) smb_oplock_wait_break(sr, node, 0); in smb_set_alloc_info() 199 rc = smb_node_setattr(sr, node, sr->user_cr, sr->fid_ofile, attr); in smb_set_alloc_info() 248 smb_ofile_t *of = sr->fid_ofile; in smb_set_disposition_info() 269 status = smb2_ofile_getattr(sr, of, attr); in smb_set_disposition_info() 282 (void) smb2sr_go_async(sr); in smb_set_disposition_info() [all …]
|
H A D | smb2_dispatch.c | 543 sr->smb2_async_id = SMB2_ASYNCID(sr); in smb2sr_work() 697 sr->smb2_ssnid != sr->th_ssnid) { in smb2sr_work() 743 sr->th_sid_user = sr->uid_user; in smb2sr_work() 744 sr->th_ssnid = sr->smb2_ssnid; in smb2sr_work() 762 sr->smb_tid = sr->tid_tree->t_tid; in smb2sr_work() 817 sr->th_sid_user = sr->uid_user; in smb2sr_work() 818 sr->th_ssnid = sr->smb2_ssnid; in smb2sr_work() 1151 sr->smb2_async_id = SMB2_ASYNCID(sr); in smb2sr_go_async() 1334 sr->smb2_async_id = SMB2_ASYNCID(sr); in smb2sr_go_async() 1639 sr->smb_fid = sr->fid_ofile->f_fid; in smb2sr_lookup_fid() [all …]
|
H A D | smb2_create.c | 133 sr->fid_ofile = NULL; in smb2_create() 191 rc = smb_mbc_decodef(&sr->smb_data, "%#U", sr, in smb2_create() 325 of = sr->fid_ofile; in smb2_create() 443 sr->user_cr = smb_user_getprivcred(sr->uid_user); in smb2_create() 457 of = sr->fid_ofile; in smb2_create() 488 status = smb2_lease_create(sr, sr->session->clnt_uuid); in smb2_create() 497 smb2_lease_acquire(sr); in smb2_create() 499 smb2_oplock_acquire(sr); in smb2_create() 659 &sr->reply, in smb2_create() 681 CreateCtxOffset = sr->reply.chain_offset - sr->smb2_reply_hdr; in smb2_create() [all …]
|
H A D | smb2_query_dir.c | 79 smb2_query_dir(smb_request_t *sr) in smb2_query_dir() argument 104 &sr->smb_data, "wbblqqwwl", in smb2_query_dir() 118 of = sr->fid_ofile; in smb2_query_dir() 140 sr->smb_data.chain_offset; in smb2_query_dir() 147 rc = smb_mbc_decodef(&sr->smb_data, "%#U", sr, in smb2_query_dir() 265 sr->smb2_status = status; in smb2_query_dir() 268 smb2sr_put_error(sr, status); in smb2_query_dir() 280 &sr->reply, "wwlC", in smb2_query_dir() 284 &sr->raw_data); /* C */ in smb2_query_dir() 621 &sr->raw_data, "lll", in smb2_find_mbc_encode() [all …]
|
H A D | smb2_qinfo_file.c | 282 &sr->raw_data, "TTTTll", in smb2_qif_basic() 343 &sr->raw_data, "q", in smb2_qif_internal() 364 &sr->raw_data, "l", 0); in smb2_qif_ea_size() 393 &sr->raw_data, "l", in smb2_qif_access() 424 &sr->raw_data, "lU", in smb2_qif_name() 452 &sr->raw_data, "lU", in smb2_qif_normalized_name() 531 &sr->raw_data, "l", 0); in smb2_qif_alignment() 562 &sr->raw_data, "%lU", sr, in smb2_qif_altname() 588 status = smb_query_stream_info(sr, &sr->raw_data, qi); in smb2_qif_stream() 619 &sr->raw_data, "ll", in smb2_qif_pipe() [all …]
|
H A D | smb_session.c | 436 cancel_method(sr); in smb_request_cancel() 910 smb_request_t *sr; in smb_session_cancel_requests() local 915 while (sr) { in smb_session_cancel_requests() 921 sr = smb_slist_next(&session->s_req_list, sr); in smb_session_cancel_requests() 1329 smb_request_t *sr; in smb_request_alloc() local 1345 smb_srm_init(sr); in smb_request_alloc() 1379 sr = NULL; in smb_request_alloc() 1384 return (sr); in smb_request_alloc() 1418 smb_slist_remove(&sr->session->s_req_list, sr); in smb_request_free() 1422 smb_srm_fini(sr); in smb_request_free() [all …]
|
H A D | smb_srv_oplock.c | 202 if (sr == NULL) { in smb_oplock_ind_break_in_ack() 206 if (sr == NULL) { in smb_oplock_ind_break_in_ack() 222 sr->fid_ofile = ofile; in smb_oplock_ind_break_in_ack() 339 if (sr == NULL) in smb_oplock_ind_break() 341 if (sr == NULL) { in smb_oplock_ind_break() 357 sr->fid_ofile = ofile; in smb_oplock_ind_break() 402 SMB_REQ_VALID(sr); in smb_oplock_async_break() 430 if (sr->dh_nvl_dirty) { in smb_oplock_async_break() 436 smb_request_free(sr); in smb_oplock_async_break() 763 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_oplock_wait_ack() [all …]
|
H A D | smb_notify.c | 288 switch (sr->sr_state) { in smb_notify_act2() 296 sr->sr_worker = NULL; in smb_notify_act2() 352 of = sr->fid_ofile; in smb_notify_act3() 361 switch (sr->sr_state) { in smb_notify_act3() 371 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_notify_act3() 413 of = sr->fid_ofile; in smb_notify_get_events() 539 SMB_REQ_VALID(sr); in smb_notify_wakeup() 647 smb_request_t *sr; in smb_notify_ofile() local 705 while (sr != NULL) { in smb_notify_ofile() 706 smb_notify_wakeup(sr); in smb_notify_ofile() [all …]
|
H A D | smb_opipe.c | 245 switch (sr->sr_state) { in smb_opipe_send_userinfo() 252 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_opipe_send_userinfo() 262 sr->cancel_arg2 = NULL; in smb_opipe_send_userinfo() 362 sr->fid_ofile = ofile; in smb_opipe_open() 413 ofile = sr->fid_ofile; in smb_opipe_write() 463 ofile = sr->fid_ofile; in smb_opipe_read() 487 sr->cancel_arg2 = sock; in smb_opipe_read() 513 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_opipe_read() 550 ofile = sr->fid_ofile; in smb_opipe_ioctl() 651 ofile = sr->fid_ofile; in smb_opipe_transceive() [all …]
|
H A D | smb_authenticate.c | 73 sr->uid_user = user; in smb_authenticate_old() 75 sr->smb2_ssnid = 0; in smb_authenticate_old() 246 sr->smb_uid = 0; in smb_authenticate_ext() 250 sr->smb2_ssnid = 0; in smb_authenticate_ext() 260 if (sr->smb2_ssnid == 0 && sr->smb_uid == 0) { in smb_authenticate_ext() 266 sr->uid_user = user; in smb_authenticate_ext() 292 if (smb31_preauth_sha512_calc(sr, &sr->command, in smb_authenticate_ext() 300 sr->smb2_ssnid, sr->smb_uid, SMB_USER_STATE_LOGGING_ON); in smb_authenticate_ext() 310 if (smb31_preauth_sha512_calc(sr, &sr->command, in smb_authenticate_ext() 681 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_authsock_sendrecv() [all …]
|
H A D | smb_lock.c | 99 smb_request_t *sr, in smb_unlock_range() argument 171 smb_request_t *sr, in smb_lock_range() argument 354 smb_request_t *sr, in smb_lock_range_access() argument 863 sr->cancel_arg2 = lock; in smb_lock_wait() 867 mutex_exit(&sr->sr_mutex); in smb_lock_wait() 899 switch (sr->sr_state) { in smb_lock_wait() 906 cv_wait(&sr->sr_st_cv, &sr->sr_mutex); in smb_lock_wait() 916 sr->cancel_method = NULL; in smb_lock_wait() 917 sr->cancel_arg2 = NULL; in smb_lock_wait() 918 mutex_exit(&sr->sr_mutex); in smb_lock_wait() [all …]
|
/illumos-gate/usr/src/data/zoneinfo/ |
H A D | northamerica | 1446 # http://www.assembly.nl.ca/legislation/sr/annualstatutes/2011/1106.chp.htm
|