/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 43 static int mbc_marshal_make_room(mbuf_chain_t *, int32_t); 44 static void mbc_marshal_store_byte(mbuf_chain_t *, uint8_t); 45 static int mbc_marshal_put_char(mbuf_chain_t *mbc, uint8_t); 46 static int mbc_marshal_put_short(mbuf_chain_t *mbc, uint16_t); 47 static int mbc_marshal_put_long(mbuf_chain_t *mbc, uint32_t); 48 static int mbc_marshal_put_long_long(mbuf_chain_t *mbc, uint64_t); 49 static int mbc_marshal_put_ascii_string(mbuf_chain_t *, char *, int); 50 static int mbc_marshal_put_unicode_string(mbuf_chain_t *, char *, int); 51 static int mbc_marshal_put_uio(mbuf_chain_t *, struct uio *); 52 static int mbc_marshal_put_mbufs(mbuf_chain_t *mbc, mbuf_t *m); [all …]
|
H A D | smb_dfs.c | 73 static void smb_dfs_encode_hdr(mbuf_chain_t *, dfs_info_t *); 74 static uint32_t smb_dfs_encode_refv1(smb_request_t *, mbuf_chain_t *, 76 static uint32_t smb_dfs_encode_refv2(smb_request_t *, mbuf_chain_t *, 78 static uint32_t smb_dfs_encode_refv3x(smb_request_t *, mbuf_chain_t *, 80 static void smb_dfs_encode_targets(mbuf_chain_t *, dfs_info_t *); 245 smb_dfs_encode_hdr(mbuf_chain_t *mbc, dfs_info_t *referrals) in smb_dfs_encode_hdr() 261 smb_dfs_encode_refv1(smb_request_t *sr, mbuf_chain_t *mbc, in smb_dfs_encode_refv1() 330 smb_dfs_encode_refv2(smb_request_t *sr, mbuf_chain_t *mbc, in smb_dfs_encode_refv2() 393 smb_dfs_encode_refv3x(smb_request_t *sr, mbuf_chain_t *mbc, in smb_dfs_encode_refv3x() 468 smb_dfs_encode_targets(mbuf_chain_t *mbc, dfs_info_t *referrals) in smb_dfs_encode_targets()
|
H A D | smb_nt_transact_security.c | 29 static void smb_encode_sacl(mbuf_chain_t *, smb_acl_t *); 30 static void smb_encode_dacl(mbuf_chain_t *, smb_acl_t *); 31 static smb_acl_t *smb_decode_acl(mbuf_chain_t *, uint32_t); 226 smb_encode_sd(mbuf_chain_t *mbc, smb_sd_t *sd, uint32_t secinfo) in smb_encode_sd() 285 smb_encode_sid(mbuf_chain_t *mbc, smb_sid_t *sid) in smb_encode_sid() 309 smb_encode_sacl(mbuf_chain_t *mbc, smb_acl_t *acl) in smb_encode_sacl() 336 smb_encode_dacl(mbuf_chain_t *mbc, smb_acl_t *acl) in smb_encode_dacl() 367 smb_decode_sd(mbuf_chain_t *mbc, smb_sd_t *sd) in smb_decode_sd() 445 smb_decode_sid(mbuf_chain_t *mbc, uint32_t offset) in smb_decode_sid() 498 smb_decode_acl(mbuf_chain_t *mbc, uint32_t offset) in smb_decode_acl()
|
H A D | smb2_create.c | 41 mbuf_chain_t cce_mbc; 61 mbuf_chain_t *, smb2_create_ctx_t *); 63 mbuf_chain_t *, smb2_create_ctx_t *); 65 mbuf_chain_t *, smb2_create_ctx_elem_t *, uint32_t); 74 mbuf_chain_t cc_mbc; in smb2_create() 435 smb2_decode_create_ctx(mbuf_chain_t *in_mbc, smb2_create_ctx_t *cc) in smb2_decode_create_ctx() 438 mbuf_chain_t name_mbc; in smb2_decode_create_ctx() 573 smb2_encode_create_ctx(mbuf_chain_t *mbc, smb2_create_ctx_t *cc) in smb2_encode_create_ctx() 608 smb2_encode_create_ctx_elem(mbuf_chain_t *out_mbc, in smb2_encode_create_ctx_elem()
|
H A D | smb_quota.c | 66 smb_quota_init_sids(mbuf_chain_t *mbc, smb_quota_query_t *request, in smb_quota_init_sids() 134 smb_quota_decode_sids(mbuf_chain_t *mbc, list_t *list) in smb_quota_decode_sids() 193 smb_quota_max_quota(mbuf_chain_t *mbc, smb_quota_query_t *request) in smb_quota_max_quota() 214 smb_quota_decode_quotas(mbuf_chain_t *mbc, list_t *list) in smb_quota_decode_quotas() 292 smb_quota_encode_quotas(mbuf_chain_t *mbc, smb_quota_query_t *request, in smb_quota_encode_quotas()
|
H A D | smb_notify.c | 95 mbuf_chain_t *, uint32_t, char *); 98 smb_notify_common(smb_request_t *sr, mbuf_chain_t *mbc, in smb_notify_common() 219 smb_notify_encode_action(struct smb_request *sr, mbuf_chain_t *mbc, in smb_notify_encode_action()
|
H A D | smb_mbuf_util.c | 74 sizeof (mbuf_chain_t), 8, NULL, NULL, NULL, NULL, NULL, 0); in smb_mbc_init() 100 mbuf_chain_t * 103 mbuf_chain_t *mbc; in smb_mbc_alloc() 122 smb_mbc_free(mbuf_chain_t *mbc) in smb_mbc_free()
|
H A D | smb_query_fileinfo.c | 91 static boolean_t smb_stream_fits(smb_request_t *, mbuf_chain_t *, 623 smb_query_stream_info(smb_request_t *sr, mbuf_chain_t *mbc, in smb_query_stream_info() 764 smb_stream_fits(smb_request_t *sr, mbuf_chain_t *mbc, in smb_stream_fits()
|
H A D | smb2_ioctl.c | 53 mbuf_chain_t in_mbc; in smb2_ioctl()
|
H A D | smb_session.c | 124 smb_session_send(smb_session_t *session, uint8_t nbt_type, mbuf_chain_t *mbc) in smb_session_send() 1441 mbuf_chain_t *mbc = &sr->reply; in smb_session_oplock_break()
|
H A D | smb2_dispatch.c | 1129 smb2sr_put_error_data(smb_request_t *sr, uint32_t status, mbuf_chain_t *mbc) in smb2sr_put_error_data()
|
/titanic_50/usr/src/uts/common/smbsrv/ |
H A D | smb_kproto.h | 259 uint32_t smb_query_stream_info(smb_request_t *, mbuf_chain_t *, 268 uint32_t smb_quota_init_sids(mbuf_chain_t *, smb_quota_query_t *, 270 uint32_t smb_quota_decode_sids(mbuf_chain_t *, list_t *); 272 void smb_quota_max_quota(mbuf_chain_t *, smb_quota_query_t *); 273 uint32_t smb_quota_decode_quotas(mbuf_chain_t *, list_t *); 274 uint32_t smb_quota_encode_quotas(mbuf_chain_t *, smb_quota_query_t *, 404 int smb_mbc_vencodef(mbuf_chain_t *, const char *, va_list); 405 int smb_mbc_vdecodef(mbuf_chain_t *, const char *, va_list); 406 int smb_mbc_decodef(mbuf_chain_t *, const char *, ...); 407 int smb_mbc_encodef(mbuf_chain_t *, const char *, ...); [all …]
|
H A D | mbuf.h | 264 } mbuf_chain_t; typedef 277 mbuf_chain_t *smb_mbc_alloc(uint32_t); 278 void smb_mbc_free(mbuf_chain_t *);
|
H A D | smb2_kproto.h | 44 void smb2sr_put_error_data(smb_request_t *, uint32_t, mbuf_chain_t *);
|
H A D | smb_ktypes.h | 1402 mbuf_chain_t in_data; 1411 mbuf_chain_t si_data; 1440 mbuf_chain_t *in_mbc; 1441 mbuf_chain_t *out_mbc;
|