| /f-stack/freebsd/contrib/openzfs/module/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() 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() 248 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_sa_set_xattr() 263 VERIFY0(sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_sa_set_xattr() [all …]
|
| H A D | zfs_vnops.c | 271 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_read() 466 abuf = dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write() 482 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_write() 483 dmu_buf_impl_t *db = (dmu_buf_impl_t *)sa_get_db(zp->z_sa_hdl); in zfs_write() 533 error = dmu_write_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_write() 577 sa_get_db(zp->z_sa_hdl), woff, abuf, tx); in zfs_write() 597 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_write() 624 (void) sa_update(zp->z_sa_hdl, SA_ZPL_MODE(zfsvfs), in zfs_write() 648 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_write()
|
| H A D | zfs_log.c | 362 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(zp)), &lr->lr_gen, in zfs_log_create() 364 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_log_create() 367 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(ZTOZSB(zp)), &lr->lr_rdev, in zfs_log_create() 491 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(zp)), &lr->lr_gen, in zfs_log_symlink() 493 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_log_symlink() 539 dmu_buf_impl_t *db = (dmu_buf_impl_t *)sa_get_db(zp->z_sa_hdl); in zfs_log_write()
|
| H A D | zfs_replay.c | 760 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_replay_write2() 772 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_replay_write2()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_dir.c | 217 if ((error = sa_lookup(dzp->z_sa_hdl, in zfs_dd_lookup() 341 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_unlinked_drain() 349 VERIFY0(sa_update(zp->z_sa_hdl, SA_ZPL_LINKS(zfsvfs), in zfs_unlinked_drain() 397 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_purgedir() 399 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_purgedir() 481 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), in zfs_rmnode() 633 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 650 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 759 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy() 782 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy() [all …]
|
| H A D | zfs_znode.c | 348 ASSERT(zp->z_sa_hdl == NULL); in zfs_znode_sa_init() 352 SA_HDL_SHARED, &zp->z_sa_hdl)); in zfs_znode_sa_init() 354 zp->z_sa_hdl = sa_hdl; in zfs_znode_sa_init() 377 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_dmu_fini() 378 zp->z_sa_hdl = NULL; in zfs_znode_dmu_fini() 439 zp->z_sa_hdl = NULL; in zfs_znode_alloc() 480 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_alloc() 786 (*zpp)->z_sa_hdl = sa_hdl; in zfs_mknode() 1082 ASSERT(zp->z_sa_hdl == NULL); in zfs_rezget() 1208 ASSERT(zp->z_sa_hdl); in zfs_zinactive() [all …]
|
| H A D | zfs_vnops_os.c | 798 } else if (zdp->z_sa_hdl == NULL) { in zfs_lookup() 939 if (zdp->z_sa_hdl == NULL) { in zfs_lookup() 1244 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_remove_() 1249 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_remove_() 2966 if (tdzp->z_sa_hdl == NULL || sdzp->z_sa_hdl == NULL) { in zfs_rename_relock() 3105 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_rename_check() 3237 if (tdzp->z_sa_hdl == NULL || sdzp->z_sa_hdl == NULL) { in zfs_rename_() 3244 if (szp->z_sa_hdl == NULL || (tzp != NULL && tzp->z_sa_hdl == NULL)) { in zfs_rename_() 3644 error = sa_lookup_uio(zp->z_sa_hdl, in zfs_readlink() 3878 if (zp->z_sa_hdl == NULL) { in zfs_inactive() [all …]
|
| H A D | zfs_acl.c | 349 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_external_acl() 379 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), in zfs_acl_znode_info() 383 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), in zfs_acl_znode_info() 388 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_acl_znode_info() 421 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_znode_acl_version() 1099 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read() 1224 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_aclset_common() 1313 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_aclset_common() 1968 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setacl() 2364 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_zaccess()
|
| H A D | zfs_vfsops.c | 1595 if (zp->z_sa_hdl) { in zfsvfs_teardown() 1873 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_fhtovp()
|
| H A D | zfs_ctldir.c | 364 VERIFY(0 == sa_lookup(VTOZ(rvp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), in zfsctl_create()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_vnops_os.c | 448 } else if (zdp->z_sa_hdl == NULL) { in zfs_lookup() 678 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_create() 1008 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_remove() 1024 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_remove() 1102 error = sa_remove(zp->z_sa_hdl, in zfs_remove() 1105 error = sa_update(zp->z_sa_hdl, in zfs_remove() 1424 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_rmdir() 2283 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setattr() 3212 error = sa_lookup_uio(zp->z_sa_hdl, in zfs_readlink() 3567 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_putpage() [all …]
|
| H A D | zfs_dir.c | 402 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() 698 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), in zfs_rmnode() 715 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_rmnode() 852 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 874 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_create() 991 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy() 1017 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy() 1083 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_make_xattrdir() [all …]
|
| H A D | zfs_znode.c | 336 ASSERT(zp->z_sa_hdl == NULL); in zfs_znode_sa_init() 340 SA_HDL_SHARED, &zp->z_sa_hdl)); in zfs_znode_sa_init() 342 zp->z_sa_hdl = sa_hdl; in zfs_znode_sa_init() 357 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_dmu_fini() 358 zp->z_sa_hdl = NULL; in zfs_znode_dmu_fini() 553 zp->z_sa_hdl = NULL; in zfs_znode_alloc() 582 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_alloc() 583 zp->z_sa_hdl = NULL; in zfs_znode_alloc() 929 (*zpp)->z_sa_hdl = sa_hdl; in zfs_mknode() 1204 ASSERT(zp->z_sa_hdl == NULL); in zfs_rezget() [all …]
|
| H A D | zfs_acl.c | 349 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), in zfs_external_acl() 379 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), in zfs_acl_znode_info() 383 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), in zfs_acl_znode_info() 388 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_acl_znode_info() 421 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_znode_acl_version() 1109 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(ZTOZSB(zp)), in zfs_acl_node_read() 1394 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_aclset_common() 1483 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_aclset_common() 2141 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setacl()
|
| H A D | zfs_vfsops.c | 1049 sa_object_size(zp->z_sa_hdl, &blksize, &nblocks); in zfs_statfs_project() 1390 if (zp->z_sa_hdl) in zfsvfs_teardown() 1758 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_vget()
|
| H A D | zfs_ctldir.c | 474 zp->z_sa_hdl = NULL; in zfsctl_inode_alloc()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_znode.h | 75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \ 210 sa_handle_t *z_sa_hdl; /* handle to sa data */ member
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zfs_znode_impl.h | 106 if (unlikely((zp)->z_sa_hdl == NULL)) { \
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/ |
| H A D | zfs_znode_impl.h | 138 if (__predict_false((zp)->z_sa_hdl == NULL)) { \
|