Home
last modified time | relevance | path

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

/onnv-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_sa.c74 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_readlink()
98 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_symlink()
131 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_get_scanstamp()
137 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_get_scanstamp()
143 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_get_scanstamp()
165 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_set_scanstamp()
170 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_set_scanstamp()
173 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_set_scanstamp()
182 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs), in zfs_sa_set_scanstamp()
326 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_sa_upgrade_txholds()
H A Dzfs_dir.c290 error = sa_lookup(dzp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), &zoid, in zfs_dirent_lock()
397 if ((error = sa_lookup(dzp->z_sa_hdl, in zfs_dirlook()
550 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_purgedir()
552 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_purgedir()
626 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), in zfs_rmnode()
643 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_rmnode()
667 VERIFY(0 == sa_update(xzp->z_sa_hdl, SA_ZPL_LINKS(zfsvfs), in zfs_rmnode()
735 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create()
755 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_create()
867 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy()
[all …]
H A Dzfs_znode.c201 nzp->z_sa_hdl = ozp->z_sa_hdl; in zfs_znode_move_impl()
219 sa_set_userp(nzp->z_sa_hdl, nzp); in zfs_znode_move_impl()
227 ozp->z_sa_hdl = NULL; in zfs_znode_move_impl()
508 sa_handle_destroy(sharezp->z_sa_hdl); in zfs_create_share_dir()
580 ASSERT(zp->z_sa_hdl == NULL); in zfs_znode_sa_init()
584 SA_HDL_SHARED, &zp->z_sa_hdl)); in zfs_znode_sa_init()
586 zp->z_sa_hdl = sa_hdl; in zfs_znode_sa_init()
609 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_dmu_fini()
610 zp->z_sa_hdl = NULL; in zfs_znode_dmu_fini()
641 zp->z_sa_hdl = NULL; in zfs_znode_alloc()
[all …]
H A Dzfs_vnops.c535 dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_read()
758 abuf = dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
774 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_write()
817 error = dmu_write_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
838 dmu_assign_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
854 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_write()
881 (void) sa_update(zp->z_sa_hdl, SA_ZPL_MODE(zfsvfs), in zfs_write()
906 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_write()
1165 } else if (zdp->z_sa_hdl == NULL) { in zfs_lookup()
1427 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_create()
[all …]
H A Dzfs_log.c294 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_create()
296 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_create()
299 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(zp->z_zfsvfs), &lr->lr_rdev, in zfs_log_create()
412 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_symlink()
414 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_symlink()
H A Dzfs_acl.c348 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_external_acl()
378 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), in zfs_acl_znode_info()
382 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), in zfs_acl_znode_info()
387 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_acl_znode_info()
420 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_znode_acl_version()
1118 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read()
1241 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_aclset_common()
1330 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_aclset_common()
2019 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setacl()
2420 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_zaccess()
H A Dzfs_replay.c709 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_replay_write2()
721 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_replay_write2()
H A Dzfs_vfsops.c1786 if (zp->z_sa_hdl) { in zfsvfs_teardown()
1981 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_vget()
H A Dzfs_ctldir.c239 VERIFY(0 == sa_lookup(VTOZ(rvp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), in zfsctl_create()
/onnv-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_znode.h72 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \
209 sa_handle_t *z_sa_hdl; /* handle to sa data */ member
253 if ((zp)->z_sa_hdl == NULL) { \