Home
last modified time | relevance | path

Searched refs:z_xattr_cached (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_sa.c197 ASSERT(!zp->z_xattr_cached); in zfs_sa_get_xattr()
203 return nvlist_alloc(&zp->z_xattr_cached, in zfs_sa_get_xattr()
213 error = nvlist_unpack(obj, size, &zp->z_xattr_cached, KM_SLEEP); in zfs_sa_get_xattr()
230 ASSERT(zp->z_xattr_cached); in zfs_sa_set_xattr()
233 error = nvlist_size(zp->z_xattr_cached, &size, NV_ENCODE_XDR); in zfs_sa_set_xattr()
241 error = nvlist_pack(zp->z_xattr_cached, &obj, &size, in zfs_sa_set_xattr()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_xattr.c215 if (zp->z_xattr_cached == NULL) in zpl_xattr_list_sa()
222 ASSERT(zp->z_xattr_cached); in zpl_xattr_list_sa()
224 while ((nvp = nvlist_next_nvpair(zp->z_xattr_cached, nvp)) != NULL) { in zpl_xattr_list_sa()
339 if (zp->z_xattr_cached == NULL) in zpl_xattr_get_sa()
346 ASSERT(zp->z_xattr_cached); in zpl_xattr_get_sa()
347 error = -nvlist_lookup_byte_array(zp->z_xattr_cached, name, in zpl_xattr_get_sa()
544 if (zp->z_xattr_cached == NULL) in zpl_xattr_set_sa()
551 ASSERT(zp->z_xattr_cached); in zpl_xattr_set_sa()
552 nvl = zp->z_xattr_cached; in zpl_xattr_set_sa()
585 zp->z_xattr_cached = NULL; in zpl_xattr_set_sa()
H A Dzfs_znode.c135 zp->z_xattr_cached = NULL; in zfs_znode_cache_constructor()
156 ASSERT(zp->z_xattr_cached == NULL); in zfs_znode_cache_destructor()
396 if (zp->z_xattr_cached) { in zfs_inode_destroy()
397 nvlist_free(zp->z_xattr_cached); in zfs_inode_destroy()
398 zp->z_xattr_cached = NULL; in zfs_inode_destroy()
546 ASSERT3P(zp->z_xattr_cached, ==, NULL); in zfs_znode_alloc()
1198 if (zp->z_xattr_cached) { in zfs_rezget()
1199 nvlist_free(zp->z_xattr_cached); in zfs_rezget()
1200 zp->z_xattr_cached = NULL; in zfs_rezget()
H A Dzfs_ctldir.c465 ASSERT3P(zp->z_xattr_cached, ==, NULL); in zfsctl_inode_alloc()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_znode.h206 nvlist_t *z_xattr_cached; /* cached xattrs */ member