Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_sa.c73 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_readlink()
97 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_symlink()
130 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_get_scanstamp()
136 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_get_scanstamp()
142 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_get_scanstamp()
164 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), in zfs_sa_set_scanstamp()
169 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); in zfs_sa_set_scanstamp()
172 sa_object_info(zp->z_sa_hdl, &doi); in zfs_sa_set_scanstamp()
181 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs), in zfs_sa_set_scanstamp()
319 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_sa_upgrade_txholds()
H A Dzfs_dir.c149 error = sa_lookup(dzp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), &zoid, in zfs_dirent_lookup()
187 if ((error = sa_lookup(dzp->z_sa_hdl, in zfs_dd_lookup()
340 dmu_tx_hold_sa(tx, dzp->z_sa_hdl, B_FALSE); in zfs_purgedir()
342 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_purgedir()
423 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), in zfs_rmnode()
441 dmu_tx_hold_sa(tx, xzp->z_sa_hdl, B_FALSE); in zfs_rmnode()
464 VERIFY(0 == sa_update(xzp->z_sa_hdl, SA_ZPL_LINKS(zfsvfs), in zfs_rmnode()
545 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_create()
562 error = sa_bulk_update(dzp->z_sa_hdl, bulk, count, tx); in zfs_link_create()
658 error = sa_bulk_update(zp->z_sa_hdl, bulk, count, tx); in zfs_link_destroy()
[all …]
H A Dzfs_znode.c208 nzp->z_sa_hdl = ozp->z_sa_hdl; in zfs_znode_move_impl()
226 sa_set_userp(nzp->z_sa_hdl, nzp); in zfs_znode_move_impl()
234 ozp->z_sa_hdl = NULL; in zfs_znode_move_impl()
513 sa_handle_destroy(sharezp->z_sa_hdl); in zfs_create_share_dir()
566 ASSERT(zp->z_sa_hdl == NULL); in zfs_znode_sa_init()
570 SA_HDL_SHARED, &zp->z_sa_hdl)); in zfs_znode_sa_init()
572 zp->z_sa_hdl = sa_hdl; in zfs_znode_sa_init()
595 sa_handle_destroy(zp->z_sa_hdl); in zfs_znode_dmu_fini()
596 zp->z_sa_hdl = NULL; in zfs_znode_dmu_fini()
659 zp->z_sa_hdl = NULL; in zfs_znode_alloc()
[all …]
H A Dzfs_vnops.c680 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in mappedread()
762 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in mappedread()
948 dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_read()
967 error = dmu_read_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_read()
1213 abuf = dmu_request_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
1242 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_write()
1289 error = dmu_write_uio_dbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
1310 dmu_assign_arcbuf(sa_get_db(zp->z_sa_hdl), in zfs_write()
1328 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_write()
1355 (void) sa_update(zp->z_sa_hdl, SA_ZPL_MODE(zfsvfs), in zfs_write()
[all …]
H A Dzfs_log.c299 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_create()
301 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_create()
304 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(zp->z_zfsvfs), &lr->lr_rdev, in zfs_log_create()
417 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_symlink()
419 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_symlink()
H A Dzfs_acl.c347 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_external_acl()
377 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), in zfs_acl_znode_info()
381 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), in zfs_acl_znode_info()
386 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_acl_znode_info()
419 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_znode_acl_version()
1102 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read()
1223 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), in zfs_aclset_common()
1312 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx)); in zfs_aclset_common()
1948 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_setacl()
2370 if ((error = sa_lookup(zp->z_sa_hdl, in zfs_zaccess()
H A Dzfs_vfsops.c233 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_netbsd_sync()
239 (void) sa_update(zp->z_sa_hdl, SA_ZPL_ATIME(zfsvfs), in zfs_netbsd_sync()
276 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), in zfs_netbsd_vptofh()
398 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_netbsd_fhtovp()
2315 if (zp->z_sa_hdl) { in zfsvfs_teardown()
2629 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), &zp_gen, in zfs_fhtovp()
2694 return (VTOZ(vp)->z_sa_hdl == NULL); in zfs_resume_selector()
H A Dzfs_replay.c838 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE); in zfs_replay_write2()
850 (void) sa_update(zp->z_sa_hdl, SA_ZPL_SIZE(zfsvfs), in zfs_replay_write2()
H A Dzfs_ctldir.c357 VERIFY(0 == sa_lookup(VTOZ(rvp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), in zfsctl_create()
1957 VERIFY(0 == sa_lookup(VTOZ(vp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), in zfsctl_create()
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_znode.h75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \
217 sa_handle_t *z_sa_hdl; /* handle to sa data */ member
281 if ((zp)->z_sa_hdl == NULL) { \
/netbsd-src/usr.bin/fstat/
H A Dzfs_znode.h98 sa_handle_t *z_sa_hdl; /* handle to sa data */ member