Home
last modified time | relevance | path

Searched refs:sidlen (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_nt_transact_security.c451 int sidlen; in smb_decode_sid() local
465 sidlen = sizeof (smb_sid_t) - sizeof (uint32_t) + in smb_decode_sid()
467 sid = kmem_alloc(sidlen, KM_SLEEP); in smb_decode_sid()
485 kmem_free(sid, sidlen); in smb_decode_sid()
507 int sidlen; in smb_decode_acl() local
537 sidlen = ace->se_hdr.se_bsize - in smb_decode_acl()
539 aclbuf.chain_offset += sidlen; in smb_decode_acl()
540 sid_offs += sidlen; in smb_decode_acl()
H A Dsmb_nt_transact_quota.c422 uint32_t next_offset, sidlen; in smb_quota_decode_sids() local
435 if (smb_mbc_decodef(&sidbuf, "ll", &next_offset, &sidlen)) { in smb_quota_decode_sids()
497 uint32_t next_offset, sidlen; in smb_quota_decode_quotas() local
514 &next_offset, &sidlen, &mtime, in smb_quota_decode_quotas()
572 uint32_t sidlen, pad; in smb_quota_encode_quotas() local
591 sidlen = smb_sid_len(sid); in smb_quota_encode_quotas()
593 next_offset = sid_offset + sidlen; in smb_quota_encode_quotas()
607 next_quota ? next_offset : 0, sidlen, mtime, in smb_quota_encode_quotas()
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslrec.c463 uint_t sidlen, cslen, cmlen; in kssl_handle_client_hello() local
500 sidlen = *mp->b_rptr++; in kssl_handle_client_hello()
501 ch_msglen += sidlen; in kssl_handle_client_hello()
507 if (sidlen != SSL3_SESSIONID_BYTES) { in kssl_handle_client_hello()
508 mp->b_rptr += sidlen; in kssl_handle_client_hello()
2080 uint_t sidlen; in kssl_handle_v2client_hello() local
2113 sidlen = ((uint_t)mp->b_rptr[2] << 8) + (uint_t)mp->b_rptr[3]; in kssl_handle_v2client_hello()
2126 ch_recsz += cslen + sidlen + randlen; in kssl_handle_v2client_hello()
2133 rand = suitesp + cslen + sidlen; in kssl_handle_v2client_hello()
/titanic_41/usr/src/uts/common/netsmb/
H A Dsmb.h660 #define sidlen(s) (sizeof (struct ntsid) + 4 * (s)->sid_subauthcount) macro
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c2666 off += sidlen(owner); in smbfs_smb_setsec()
2670 off += sidlen(group); in smbfs_smb_setsec()
2684 mb_put_mem(mbp, (caddr_t)owner, sidlen(owner), MB_MSYSTEM); in smbfs_smb_setsec()
2686 mb_put_mem(mbp, (caddr_t)group, sidlen(group), MB_MSYSTEM); in smbfs_smb_setsec()