Home
last modified time | relevance | path

Searched refs:aclbsize (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dacl.c126 int aclbsize; /* size of acl list in bytes */ in cacl() local
180 aclbsize = vsecattr.vsa_aclcnt * sizeof (aclent_t); in cacl()
195 if (aclbsize > 0) { /* bug #1262490 */ in cacl()
196 if (copyout(vsecattr.vsa_aclentp, uaddrp, aclbsize)) { in cacl()
203 uaddrp += aclbsize; in cacl()
229 aclbsize = vsecattr.vsa_aclcnt * sizeof (ace_t); in cacl()
235 if (aclbsize > 0) { in cacl()
237 aclbufp, aclbsize)) != 0) { in cacl()
264 aclbsize = nentries * sizeof (aclent_t); in cacl()
265 vsecattr.vsa_aclentp = kmem_alloc(aclbsize, KM_SLEEP); in cacl()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_acl.c903 int aclbsize = 0; /* size of acl list in bytes */ in smb_fsacl_from_vsa() local
920 aclbsize = vsecattr->vsa_aclcnt * sizeof (aclent_t); in smb_fsacl_from_vsa()
924 acl_info->acl_aclp = kmem_alloc(aclbsize + dfaclbsize, in smb_fsacl_from_vsa()
927 aclbsize); in smb_fsacl_from_vsa()
928 (void) memcpy((char *)acl_info->acl_aclp + aclbsize, in smb_fsacl_from_vsa()
937 aclbsize = vsecattr->vsa_aclcnt * sizeof (ace_t); in smb_fsacl_from_vsa()
940 acl_info->acl_aclp = kmem_alloc(aclbsize, KM_SLEEP); in smb_fsacl_from_vsa()
942 aclbsize); in smb_fsacl_from_vsa()
953 if (aclbsize && vsecattr->vsa_aclentp) in smb_fsacl_from_vsa()
954 kmem_free(vsecattr->vsa_aclentp, aclbsize); in smb_fsacl_from_vsa()
[all …]
H A Dsmb_vops.c1428 int aclbsize; in smb_vop_acl_write() local
1433 error = smb_fsacl_to_vsa(aclp, &vsecattr, &aclbsize); in smb_vop_acl_write()
1441 if (aclbsize && vsecattr.vsa_aclentp) in smb_vop_acl_write()
1442 kmem_free(vsecattr.vsa_aclentp, aclbsize); in smb_vop_acl_write()
H A Dsmb_fsops.c134 int aclbsize = 0; /* size of acl list in bytes */ in smb_fsop_create_with_sd() local
163 rc = smb_fsacl_to_vsa(acl, &vsecattr, &aclbsize); in smb_fsop_create_with_sd()
189 kmem_free(vsap->vsa_aclentp, aclbsize); in smb_fsop_create_with_sd()