Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_acl_vnops.c705 size_t aclsize; in nfs_acl_dup_cache() local
712 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_cache()
713 vsp->vsa_aclentp = kmem_alloc(aclsize, KM_SLEEP); in nfs_acl_dup_cache()
714 bcopy(rvsp->vsa_aclentp, vsp->vsa_aclentp, aclsize); in nfs_acl_dup_cache()
720 aclsize = rvsp->vsa_dfaclcnt * sizeof (aclent_t); in nfs_acl_dup_cache()
721 vsp->vsa_dfaclentp = kmem_alloc(aclsize, KM_SLEEP); in nfs_acl_dup_cache()
722 bcopy(rvsp->vsa_dfaclentp, vsp->vsa_dfaclentp, aclsize); in nfs_acl_dup_cache()
733 size_t aclsize; in nfs_acl_dup_res_impl() local
751 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl()
752 kmem_free(rvsp->vsa_aclentp, 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()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_log.c241 size_t aclsize = (vsecp != NULL) ? vsecp->vsa_aclentsz : 0; in zfs_log_create() local
273 ZIL_ACE_LENGTH(aclsize) + xvatsize; in zfs_log_create()
317 lracl->lr_acl_bytes = aclsize; in zfs_log_create()
325 bcopy(vsecp->vsa_aclentp, end, aclsize); in zfs_log_create()
326 end = (caddr_t)end + ZIL_ACE_LENGTH(aclsize); in zfs_log_create()
H A Dzfs_acl.c370 zfs_acl_znode_info(znode_t *zp, int *aclsize, int *aclcount, in zfs_acl_znode_info() argument
383 *aclsize = size; in zfs_acl_znode_info()
394 *aclsize = ZFS_ACL_SIZE(aclphys->z_acl_size); in zfs_acl_znode_info()
397 *aclsize = aclphys->z_acl_size; in zfs_acl_znode_info()
1068 int aclsize; in zfs_acl_node_read() local
1096 if ((error = zfs_acl_znode_info(zp, &aclsize, in zfs_acl_node_read()
1104 aclp->z_acl_bytes = aclsize; in zfs_acl_node_read()
1106 aclnode = zfs_acl_node_alloc(aclsize); in zfs_acl_node_read()
1108 aclnode->z_size = aclsize; in zfs_acl_node_read()
/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/
H A Dfs_subr.c545 size_t aclsize; in fs_fab_acl() local
558 aclsize = 4 * sizeof (aclent_t); in fs_fab_acl()
560 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fs_fab_acl()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1079 size_t aclsize; in fop_getsecattr() local
1081 aclsize = sizeof (aclent_t); in fop_getsecattr()
1083 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fop_getsecattr()