Home
last modified time | relevance | path

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

/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Dzfs_sa.c326 if (zp->z_acl_cached == NULL || Z_ISLNK(ZTOTYPE(zp))) in zfs_sa_upgrade()
405 &zp->z_acl_cached->z_acl_count, 8); in zfs_sa_upgrade()
407 if (zp->z_acl_cached->z_version < ZFS_ACL_VERSION_FUID) in zfs_sa_upgrade()
408 zfs_acl_xform(zp, zp->z_acl_cached, CRED()); in zfs_sa_upgrade()
410 locate.cb_aclp = zp->z_acl_cached; in zfs_sa_upgrade()
412 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-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c134 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
158 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_cache_destructor()
343 ASSERT(zp->z_acl_cached == NULL); in zfs_znode_sa_init()
396 if (zp->z_acl_cached) { in zfs_inode_destroy()
397 zfs_acl_free(zp->z_acl_cached); in zfs_inode_destroy()
398 zp->z_acl_cached = NULL; in zfs_inode_destroy()
558 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_alloc()
1219 if (zp->z_acl_cached) { in zfs_rezget()
1220 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1221 zp->z_acl_cached = NULL; in zfs_rezget()
H A Dzfs_acl.c1085 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1086 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1144 zp->z_acl_cached = aclp; in zfs_acl_node_read()
1379 if (zp->z_acl_cached) { in zfs_aclset_common()
1380 zfs_acl_free(zp->z_acl_cached); in zfs_aclset_common()
1381 zp->z_acl_cached = NULL; in zfs_aclset_common()
2207 ASSERT(zp->z_acl_cached == NULL); in zfs_setacl()
2208 zp->z_acl_cached = aclp; in zfs_setacl()
2319 ASSERT(zp->z_acl_cached); in zfs_zaccess_aces_check()
H A Dzfs_ctldir.c496 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfsctl_inode_alloc()
H A Dzfs_vnops_os.c2429 if (zp->z_acl_cached) in zfs_setattr()
2430 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2431 zp->z_acl_cached = aclp; in zfs_setattr()
/freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c153 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
177 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_cache_destructor()
365 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_znode_sa_init()
1107 if (zp->z_acl_cached) { in zfs_rezget()
1108 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1109 zp->z_acl_cached = NULL; in zfs_rezget()
1298 if (zp->z_acl_cached) { in zfs_znode_free()
1299 zfs_acl_free(zp->z_acl_cached); in zfs_znode_free()
1300 zp->z_acl_cached = NULL; in zfs_znode_free()
H A Dzfs_acl.c1068 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1069 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1116 zp->z_acl_cached = aclp; in zfs_acl_node_read()
1194 if (zp->z_acl_cached) { in zfs_aclset_common()
1195 zfs_acl_free(zp->z_acl_cached); in zfs_aclset_common()
1196 zp->z_acl_cached = NULL; in zfs_aclset_common()
2016 ASSERT3P(zp->z_acl_cached, ==, NULL); in zfs_setacl()
2017 zp->z_acl_cached = aclp; in zfs_setacl()
2128 ASSERT3P(zp->z_acl_cached, !=, NULL); in zfs_zaccess_aces_check()
H A Dzfs_vnops_os.c2767 if (zp->z_acl_cached) in zfs_setattr()
2768 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2769 zp->z_acl_cached = aclp; in zfs_setattr()
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h205 zfs_acl_t *z_acl_cached; /* cached acl */ member