/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_ioctl.c | 41 mbuf_chain_t in_mbc; in smb2_ioctl() local 52 bzero(&in_mbc, sizeof (in_mbc)); in smb2_ioctl() 83 rc = MBC_SHADOW_CHAIN(&in_mbc, &sr->smb_data, in smb2_ioctl() 89 fsctl.in_mbc = &in_mbc; in smb2_ioctl()
|
H A D | smb3_encrypt.c | 301 struct mbuf_chain *in_mbc, // transform header + ciphertext in smb3_decrypt_sr() argument 353 if (smb_mbc_peek(in_mbc, 0, "#c", in smb3_decrypt_sr() 357 rc = smb3_decode_tform_header(sr, in_mbc); in smb3_decrypt_sr() 361 m_adjust(in_mbc->chain, SMB3_TFORM_HDR_SIZE); in smb3_decrypt_sr() 362 ASSERT(in_mbc->max_bytes > SMB3_TFORM_HDR_SIZE); in smb3_decrypt_sr() 363 in_mbc->max_bytes -= SMB3_TFORM_HDR_SIZE; in smb3_decrypt_sr() 364 in_mbc->chain_offset = 0; in smb3_decrypt_sr() 370 sr->th_msglen > in_mbc->max_bytes) { in smb3_decrypt_sr() 435 rc = smb_mbuf_mkuio(in_mbc->chain, &in_vdb->vdb_uio); in smb3_decrypt_sr() 484 struct mbuf_chain *in_mbc, // cleartext in smb3_encrypt_sr() argument [all …]
|
H A D | smb2_create.c | 728 mbuf_chain_t *in_mbc = &cc->cc_in_mbc; in smb2_decode_create_ctx() local 751 top_offset = in_mbc->chain_offset; in smb2_decode_create_ctx() 753 in_mbc, in smb2_decode_create_ctx() 771 if ((top_offset + name_off) < in_mbc->chain_offset) in smb2_decode_create_ctx() 773 rc = MBC_SHADOW_CHAIN(&name_mbc, in_mbc, in smb2_decode_create_ctx() 868 if ((top_offset + data_off) < in_mbc->chain_offset) in smb2_decode_create_ctx() 870 rc = MBC_SHADOW_CHAIN(&cce->cce_mbc, in_mbc, in smb2_decode_create_ctx() 1008 if ((top_offset + next_off) < in_mbc->chain_offset) in smb2_decode_create_ctx() 1010 if ((top_offset + next_off) > in_mbc->max_bytes) in smb2_decode_create_ctx() 1012 in_mbc->chain_offset = top_offset + next_off; in smb2_decode_create_ctx()
|
H A D | smb2_fsctl_fs.c | 63 rc = smb_mbc_encodef(fsctl->in_mbc, "w", in smb2_fsctl_get_compression() 80 (void) smb_mbc_decodef(fsctl->in_mbc, "w", in smb2_fsctl_set_compression()
|
H A D | smb_dfs.c | 165 rc = smb_mbc_decodef(fsctl->in_mbc, "wwl", in smb_dfs_get_referrals_ex() 177 if (MBC_ROOM_FOR(fsctl->in_mbc, datalen) == 0) in smb_dfs_get_referrals_ex() 179 rc = smb_mbc_decodef(fsctl->in_mbc, "%wu", in smb_dfs_get_referrals_ex() 270 rc = smb_mbc_decodef(fsctl->in_mbc, "%wu", in smb_dfs_get_referrals()
|
H A D | smb2_fsctl_sparse.c | 43 rc = smb_mbc_decodef(fsctl->in_mbc, "b", &flag); in smb2_fsctl_set_sparse() 99 rc = smb_mbc_decodef(fsctl->in_mbc, "qq", in smb2_fsctl_set_zero_data() 182 rc = smb_mbc_decodef(fsctl->in_mbc, "qq", &arg.off, &arg.len); in smb2_fsctl_query_alloc_ranges() 468 rc = smb_mbc_decodef(fsctl->in_mbc, "qql", in smb2_fsctl_query_file_regions()
|
H A D | smb_trans2_dfs.c | 70 fsctl.in_mbc = &xa->req_param_mb; in smb_com_trans2_get_dfs_referral()
|
H A D | smb2_fsctl_odx.c | 218 fsctl->in_mbc, "lll4.qq", in smb2_fsctl_odx_read() 415 fsctl->in_mbc, "llqqq", in smb2_fsctl_odx_write() 424 rc = smb_odx_get_token(fsctl->in_mbc, tok); in smb2_fsctl_odx_write()
|
H A D | smb_opipe.c | 660 rc = smb_mbc_decodef(fsctl->in_mbc, "#B", in smb_opipe_transceive() 720 rc = smb_mbc_decodef(fsctl->in_mbc, "qlb.", in smb_opipe_wait() 726 rc = smb_mbc_decodef(fsctl->in_mbc, "%#U", in smb_opipe_wait()
|
H A D | smb2_fsctl_copychunk.c | 117 fsctl->in_mbc, "qq8.l4.", in smb2_fsctl_copychunk() 181 status = smb2_fsctl_copychunk_decode(sr, fsctl->in_mbc); in smb2_fsctl_copychunk()
|
H A D | smb2_negotiate.c | 958 (void) smb_mbc_decodef(fsctl->in_mbc, "l16cww", in smb2_nego_validate() 973 rc = smb_mbc_decodef(fsctl->in_mbc, "#w", num_dialects, dialects); in smb2_nego_validate()
|
H A D | smb_nt_transact_ioctl.c | 352 fsctl.in_mbc = &xa->req_param_mb; in smb_nt_trans_ioctl_enum_snaps()
|
H A D | smb2_durable.c | 1784 (void) smb_mbc_decodef(fsctl->in_mbc, "l4.", in smb2_fsctl_set_resilient()
|
H A D | smb_common_transact.c | 1455 fsctl.in_mbc = &xa->req_data_mb; /* write from here */ in smb_trans_nmpipe()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_ktypes.h | 1605 mbuf_chain_t *in_mbc; member
|