Home
last modified time | relevance | path

Searched refs:z_acl_cached (Results 1 – 10 of 10) sorted by relevance

/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dzfs_sa.c304 if (zp->z_acl_cached == NULL || Z_ISLNK(ZTOTYPE(zp))) in zfs_sa_upgrade()
383 &zp->z_acl_cached->z_acl_count, 8); in zfs_sa_upgrade()
385 if (zp->z_acl_cached->z_version < ZFS_ACL_VERSION_FUID) in zfs_sa_upgrade()
386 zfs_acl_xform(zp, zp->z_acl_cached, CRED()); in zfs_sa_upgrade()
388 locate.cb_aclp = zp->z_acl_cached; in zfs_sa_upgrade()
390 zfs_acl_data_locator, &locate, zp->z_acl_cached->z_acl_bytes); in zfs_sa_upgrade()
H A Dsa.c1545 if (zp->z_acl_cached == NULL) { in sa_add_projid()
1652 if (zp->z_acl_cached != NULL) { in sa_add_projid()
1654 &zp->z_acl_cached->z_acl_count, 8); in sa_add_projid()
1655 if (zp->z_acl_cached->z_version < ZFS_ACL_VERSION_FUID) in sa_add_projid()
1656 zfs_acl_xform(zp, zp->z_acl_cached, CRED()); in sa_add_projid()
1657 locate.cb_aclp = zp->z_acl_cached; in sa_add_projid()
1660 zp->z_acl_cached->z_acl_bytes); in sa_add_projid()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c152 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
173 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_cache_destructor()
362 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_sa_init()
1104 if (zp->z_acl_cached) { in zfs_rezget()
1105 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1106 zp->z_acl_cached = NULL; in zfs_rezget()
1302 if (zp->z_acl_cached) { in zfs_znode_free()
1303 zfs_acl_free(zp->z_acl_cached); in zfs_znode_free()
1304 zp->z_acl_cached = NULL; in zfs_znode_free()
H A Dzfs_acl.c1070 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1071 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1118 zp->z_acl_cached = aclp; in zfs_acl_node_read()
1195 if (zp->z_acl_cached) { in zfs_aclset_common()
1196 zfs_acl_free(zp->z_acl_cached); in zfs_aclset_common()
1197 zp->z_acl_cached = NULL; in zfs_aclset_common()
2017 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_setacl()
2018 zp->z_acl_cached = aclp; in zfs_setacl()
2130 ASSERT3P(zp->z_acl_cached, !=, NULL); in zfs_zaccess_aces_check()
H A Dzfs_vnops_os.c2794 if (zp->z_acl_cached) in zfs_setattr()
2795 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2796 zp->z_acl_cached = aclp; in zfs_setattr()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c134 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
155 ASSERT(zp->z_acl_cached == NULL); in zfs_znode_cache_destructor()
337 ASSERT(zp->z_acl_cached == NULL); in zfs_znode_sa_init()
391 if (zp->z_acl_cached) { in zfs_inode_destroy()
392 zfs_acl_free(zp->z_acl_cached); in zfs_inode_destroy()
393 zp->z_acl_cached = NULL; in zfs_inode_destroy()
541 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_alloc()
1196 if (zp->z_acl_cached) { in zfs_rezget()
1197 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1198 zp->z_acl_cached = NULL; in zfs_rezget()
H A Dzfs_acl.c1067 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1068 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1126 zp->z_acl_cached = aclp; in zfs_acl_node_read()
1360 if (zp->z_acl_cached) { in zfs_aclset_common()
1361 zfs_acl_free(zp->z_acl_cached); in zfs_aclset_common()
1362 zp->z_acl_cached = NULL; in zfs_aclset_common()
2184 ASSERT(zp->z_acl_cached == NULL); in zfs_setacl()
2185 zp->z_acl_cached = aclp; in zfs_setacl()
2291 ASSERT(zp->z_acl_cached); in zfs_zaccess_aces_check()
H A Dzfs_ctldir.c464 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfsctl_inode_alloc()
H A Dzfs_vnops_os.c2424 if (zp->z_acl_cached) in zfs_setattr()
2425 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2426 zp->z_acl_cached = aclp; in zfs_setattr()
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h204 zfs_acl_t *z_acl_cached; /* cached acl */ member