/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_sa.c | 76 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_readlink() 100 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_symlink() 132 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_get_scanstamp() 138 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_get_scanstamp() 144 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_get_scanstamp() 166 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_set_scanstamp() 171 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_set_scanstamp() 174 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_set_scanstamp() 183 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs), in zfs_sa_set_scanstamp() 335 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_sa_upgrade_txholds()
|
H A D | zfs_znode.c | 238 nzp->z_sa_hdl = ozp->z_sa_hdl; in zfs_znode_move_impl() 256 sa_set_userp(nzp->z_sa_hdl, nzp); in zfs_znode_move_impl() 264 ozp->z_sa_hdl = NULL; in zfs_znode_move_impl() 546 sa_handle_destroy(sharezp->z_sa_hdl); in zfs_create_share_dir() 618 ASSERT(zp->z_sa_hdl == NULL); in zfs_znode_sa_init() 622 SA_HDL_SHARED, &zp->z_sa_hdl)); in zfs_znode_sa_init() 624 zp->z_sa_hdl = sa_hdl; in zfs_znode_sa_init() 647 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_dmu_fini() 648 zp->z_sa_hdl = NULL; in zfs_znode_dmu_fini() 680 zp->z_sa_hdl = NULL; in zfs_znode_alloc() [all …]
|
H A D | zfs_dir.c | 308 error = sa_lookup(dzp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), &zoid, in zfs_dirent_lock() 415 if ((error = sa_lookup(dzp->z_sa_hdl, in zfs_dirlook() 614 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_purgedir() 616 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_purgedir() 697 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), in zfs_rmnode() 714 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_rmnode() 739 VERIFY(0 == sa_update(xzp->z_sa_hdl, SA_ZPL_LINKS(zfsvfs), in zfs_rmnode() 807 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 827 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 963 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy() [all …]
|
H A D | zfs_vnops.c | 576 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in mappedread() 709 dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_read() 722 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_read() 786 (void) sa_update(zp->z_sa_hdl, SA_ZPL_MODE(zfsvfs), in zfs_write_clear_setid_bits_if_necessary() 1014 abuf = dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write() 1030 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_write() 1079 error = dmu_write_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_write() 1101 sa_get_db(zp->z_sa_hdl), woff, abuf, tx); in zfs_write() 1116 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_write() 1150 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_write() [all …]
|
H A D | zfs_log.c | 308 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_create() 310 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_create() 313 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(zp->z_zfsvfs), &lr->lr_rdev, in zfs_log_create() 439 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_symlink() 441 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_symlink()
|
H A D | zfs_acl.c | 358 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_external_acl() 388 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), in zfs_acl_znode_info() 392 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), in zfs_acl_znode_info() 397 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_acl_znode_info() 430 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_znode_acl_version() 1132 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read() 1264 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_aclset_common() 1354 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_aclset_common() 2032 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setacl() 2455 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_zaccess()
|
H A D | zfs_replay.c | 746 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_replay_write2() 758 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_replay_write2()
|
H A D | zfs_vfsops.c | 1620 sa_object_size(zp->z_sa_hdl, &blksize, &nblocks); in zfs_statfs_project() 2220 if (zp->z_sa_hdl) { in zfsvfs_teardown() 2452 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_vget()
|
H A D | zfs_ctldir.c | 236 VERIFY(0 == sa_lookup(VTOZ(rvp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), in zfsctl_create()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_znode.h | 88 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \ 215 sa_handle_t *z_sa_hdl; /* handle to sa data */ member 263 if ((zp)->z_sa_hdl == NULL) { \
|