Searched refs:acecnt (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_nt_transact_security.c | 508 uint16_t acecnt; in smb_decode_acl() local 522 if (smb_mbc_decodef(&aclbuf, "b.ww2.", &revision, &size, &acecnt)) in smb_decode_acl() 528 acl = smb_acl_alloc(revision, size, acecnt); in smb_decode_acl()
|
H A D | smb_acl.c | 117 smb_acl_alloc(uint8_t revision, uint16_t bsize, uint16_t acecnt) in smb_acl_alloc() argument 122 size = sizeof (smb_acl_t) + (acecnt * sizeof (smb_ace_t)); in smb_acl_alloc() 126 acl->sl_acecnt = acecnt; in smb_acl_alloc()
|
/illumos-gate/usr/src/common/acl/ |
H A D | acl_common.c | 679 int acecnt = 0; in convert_aent_to_ace() local 704 error = ln_aent_to_ace(aclentp, i, &acep, &acecnt, isdir); in convert_aent_to_ace() 713 cacl_free(acep, acecnt * sizeof (ace_t)); in convert_aent_to_ace() 720 acesz = sizeof (ace_t) * acecnt; in convert_aent_to_ace() 726 (void) memcpy(acep + acecnt, dfacep, dfacesz); in convert_aent_to_ace() 732 *retacecnt = acecnt + dfacecnt; in convert_aent_to_ace() 1462 convert_ace_to_aent(ace_t *acebufp, int acecnt, boolean_t isdir, in convert_ace_to_aent() argument 1470 error = ln_ace_to_aent(acebufp, acecnt, owner, group, in convert_ace_to_aent()
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_acl.c | 72 smb_acl_alloc(uint8_t revision, uint16_t bsize, uint16_t acecnt) in smb_acl_alloc() argument 77 size = sizeof (smb_acl_t) + (acecnt * sizeof (smb_ace_t)); in smb_acl_alloc() 83 acl->sl_acecnt = acecnt; in smb_acl_alloc()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 809 int acecnt = 0; in vs_aent_to_ace4() local 849 aclentacl->vsa_aclcnt, &acebuf, &acecnt, isdir, isserver); in vs_aent_to_ace4() 861 vs_ace4->vsa_aclcnt = acecnt + dfacecnt; in vs_aent_to_ace4() 872 if (acecnt > 0) in vs_aent_to_ace4() 873 bcopy(acebuf, vs_ace4->vsa_aclentp, acecnt * sizeof (nfsace4)); in vs_aent_to_ace4() 875 bcopy(dfacebuf, (nfsace4 *) vs_ace4->vsa_aclentp + acecnt, in vs_aent_to_ace4() 884 kmem_free(acebuf, acecnt * sizeof (nfsace4)); in vs_aent_to_ace4()
|
/illumos-gate/usr/src/cmd/ls/ |
H A D | ls.c | 1733 int acecnt; in grp_mask_to_mode() local 1738 acecnt = acl_cnt(acep); in grp_mask_to_mode() 1739 for (ap = (ace_t *)acl_data(acep); acecnt--; ap++) { in grp_mask_to_mode()
|