Searched defs:sid_size (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c372 int sid_size = 0; local
380 sid_size = smb_sid_len((smb_sid_t *)m_sid);
381 if ((ace->se_sid = malloc(sid_size)) == NULL)
383 bcopy(m_sid, ace->se_sid, sid_size);
428 int offset, i, sid_size; local
443 sid_size = smb_sid_len((smb_sid_t *)m_sid);
445 if ((sd->sd_owner = malloc(sid_size)) == NULL)
447 bcopy(m_sid, sd->sd_owner, sid_size);
453 sid_size = smb_sid_len((smb_sid_t *)m_sid);
455 if ((sd->sd_group = malloc(sid_size))
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/
H A Dsmbsrv.c2327 size_t sid_size; local
2331 sid_size = OFFSETOF(smb_sid_t, sid_subauth);
2333 if (mdb_vread(&sid, sid_size, addr) != sid_size) {
2338 sid_size += sid.sid_subauthcnt * sizeof (sid.sid_subauth[0]);
2340 psid = mdb_zalloc(sid_size, UM_SLEEP | UM_GC);
2341 if (mdb_vread(psid, sid_size, addr) != sid_size) {

Completed in 48 milliseconds