Home
last modified time | relevance | path

Searched refs:aclsize (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_vnops.c703 size_t aclsize; in nfs_acl_dup_cache() local
710 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_cache()
731 size_t aclsize; in nfs_acl_dup_res_impl() local
749 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl()
750 kmem_free(rvsp->vsa_aclentp, aclsize); in nfs_acl_dup_res_impl()
754 aclsize = vsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl()
756 rvsp->vsa_aclentp = kmem_alloc(aclsize, in nfs_acl_dup_res_impl()
768 kmem_free(rvsp->vsa_aclentp, aclsize); in nfs_acl_dup_res_impl()
779 kmem_free(rvsp->vsa_dfaclentp, aclsize); in nfs_acl_dup_res_impl()
785 rvsp->vsa_dfaclentp = kmem_alloc(aclsize, in nfs_acl_dup_res_impl()
[all …]
H A Dnfs4_acl.c2047 size_t aclsize; in nfs4_acl_fill_cache() local
2090 aclsize = vsap->vsa_aclcnt * sizeof (nfsace4); in nfs4_acl_fill_cache()
2093 rvsap->vsa_aclentp = kmem_alloc(aclsize, in nfs4_acl_fill_cache()
2097 bcopy(vsap->vsa_aclentp, rvsap->vsa_aclentp, aclsize); in nfs4_acl_fill_cache()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_log.c254 size_t aclsize = (vsecp != NULL) ? vsecp->vsa_aclentsz : 0; in zfs_log_create() local
286 ZIL_ACE_LENGTH(aclsize) + xvatsize; in zfs_log_create()
332 lracl->lr_acl_bytes = aclsize; in zfs_log_create()
340 bcopy(vsecp->vsa_aclentp, end, aclsize); in zfs_log_create()
341 end = (caddr_t)end + ZIL_ACE_LENGTH(aclsize); in zfs_log_create()
H A Dzfs_acl.c378 zfs_acl_znode_info(znode_t *zp, int *aclsize, int *aclcount, in zfs_acl_znode_info() argument
391 *aclsize = size; in zfs_acl_znode_info()
402 *aclsize = ZFS_ACL_SIZE(aclphys->z_acl_size); in zfs_acl_znode_info()
405 *aclsize = aclphys->z_acl_size; in zfs_acl_znode_info()
1080 int aclsize; in zfs_acl_node_read() local
1108 if ((error = zfs_acl_znode_info(zp, &aclsize, in zfs_acl_node_read()
1116 aclp->z_acl_bytes = aclsize; in zfs_acl_node_read()
1118 aclnode = zfs_acl_node_alloc(aclsize); in zfs_acl_node_read()
1120 aclnode->z_size = aclsize; in zfs_acl_node_read()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1995 int aclsize; /* acl text length */ in recvacl() local
2016 if (getaclinfo(&aclsize, &acltype) != ACL_OK) in recvacl()
2018 if ((acltext = malloc(aclsize + 1)) == NULL) { in recvacl()
2019 error("rcp: cant allocate memory: %d\n", aclsize); in recvacl()
2025 j = desrcpread(rem, tp, aclsize); in recvacl()
2031 aclsize -= j; in recvacl()
2033 } while (aclsize > 0); in recvacl()
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c597 size_t aclsize; in fs_fab_acl() local
610 aclsize = 4 * sizeof (aclent_t); in fs_fab_acl()
612 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fs_fab_acl()
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1306 size_t aclsize; in fop_getsecattr() local
1308 aclsize = sizeof (aclent_t); in fop_getsecattr()
1310 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fop_getsecattr()