Home
last modified time | relevance | path

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

/src/sys/contrib/openzfs/module/zfs/
H A Dzfs_sa.c327 if (zp->z_acl_cached == NULL || Z_ISLNK(ZTOTYPE(zp))) in zfs_sa_upgrade()
406 &zp->z_acl_cached->z_acl_count, 8); in zfs_sa_upgrade()
408 if (zp->z_acl_cached->z_version < ZFS_ACL_VERSION_FUID) in zfs_sa_upgrade()
409 zfs_acl_xform(zp, zp->z_acl_cached, CRED()); in zfs_sa_upgrade()
411 locate.cb_aclp = zp->z_acl_cached; in zfs_sa_upgrade()
413 zfs_acl_data_locator, &locate, zp->z_acl_cached->z_acl_bytes); in zfs_sa_upgrade()
H A Dsa.c1596 if (zp->z_acl_cached == NULL) { in sa_add_projid()
1714 if (zp->z_acl_cached != NULL) { in sa_add_projid()
1716 &zp->z_acl_cached->z_acl_count, 8); in sa_add_projid()
1717 if (zp->z_acl_cached->z_version < ZFS_ACL_VERSION_FUID) in sa_add_projid()
1718 zfs_acl_xform(zp, zp->z_acl_cached, CRED()); in sa_add_projid()
1719 locate.cb_aclp = zp->z_acl_cached; in sa_add_projid()
1722 zp->z_acl_cached->z_acl_bytes); in sa_add_projid()
/src/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode_os.c127 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
149 ASSERT0P(zp->z_acl_cached); in zfs_znode_cache_destructor()
332 ASSERT0P(zp->z_acl_cached); 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()
535 ASSERT0P(zp->z_acl_cached); in zfs_znode_alloc()
1191 if (zp->z_acl_cached) { in zfs_rezget()
1192 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1193 zp->z_acl_cached = NULL; in zfs_rezget()
H A Dzfs_acl.c1086 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1087 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1145 zp->z_acl_cached = aclp; in zfs_acl_node_read()
1380 if (zp->z_acl_cached) { in zfs_aclset_common()
1381 zfs_acl_free(zp->z_acl_cached); in zfs_aclset_common()
1382 zp->z_acl_cached = NULL; in zfs_aclset_common()
2209 ASSERT0P(zp->z_acl_cached); in zfs_setacl()
2210 zp->z_acl_cached = aclp; in zfs_setacl()
2321 ASSERT(zp->z_acl_cached); in zfs_zaccess_aces_check()
H A Dzfs_vnops_os.c2498 if (zp->z_acl_cached) in zfs_setattr()
2499 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2500 zp->z_acl_cached = aclp; in zfs_setattr()
H A Dzfs_ctldir.c504 ASSERT0P(zp->z_acl_cached); in zfsctl_inode_alloc()
/src/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode_os.c150 zp->z_acl_cached = NULL; in zfs_znode_cache_constructor()
172 ASSERT0P(zp->z_acl_cached); in zfs_znode_cache_destructor()
358 ASSERT0P(zp->z_acl_cached); in zfs_znode_sa_init()
1122 if (zp->z_acl_cached) { in zfs_rezget()
1123 zfs_acl_free(zp->z_acl_cached); in zfs_rezget()
1124 zp->z_acl_cached = NULL; in zfs_rezget()
1320 if (zp->z_acl_cached) { in zfs_znode_free()
1321 zfs_acl_free(zp->z_acl_cached); in zfs_znode_free()
1322 zp->z_acl_cached = NULL; in zfs_znode_free()
H A Dzfs_acl.c1069 if (zp->z_acl_cached && !will_modify) { in zfs_acl_node_read()
1070 *aclpp = zp->z_acl_cached; in zfs_acl_node_read()
1117 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()
2018 ASSERT0P(zp->z_acl_cached); in zfs_setacl()
2019 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.c2876 if (zp->z_acl_cached) in zfs_setattr()
2877 zfs_acl_free(zp->z_acl_cached); in zfs_setattr()
2878 zp->z_acl_cached = aclp; in zfs_setattr()
/src/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h207 zfs_acl_t *z_acl_cached; /* cached acl */ member