/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 145 zp->z_blksz < zp->z_zfsvfs->z_max_blksz)) { in zfs_rangelock_cb() 157 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs)); in zfs_znode_cache_constructor() 186 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs)); in zfs_znode_cache_destructor() 218 nzp->z_zfsvfs = ozp->z_zfsvfs; in zfs_znode_move_impl() 265 POINTER_INVALIDATE(&ozp->z_zfsvfs); in zfs_znode_move_impl() 290 zfsvfs = ozp->z_zfsvfs; in zfs_znode_move() 303 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move() 329 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move() 522 ASSERT(!POINTER_IS_VALID(sharezp->z_zfsvfs)); in zfs_create_share_dir() 526 sharezp->z_zfsvfs = zfsvfs; in zfs_create_share_dir() [all …]
|
H A D | zfs_dir.c | 141 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirent_lock() 409 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirlook() 470 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_unlinked_add() 595 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir() 648 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode() 762 if (zp->z_zfsvfs->z_version >= ZPL_VERSION_DIRENT_TYPE) in zfs_dirent() 774 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create() 832 error = zap_add(zp->z_zfsvfs->z_os, dzp->z_id, dl->dl_name, in zfs_link_create() 869 if (zp->z_zfsvfs->z_norm) { in zfs_dropname() 872 if ((zp->z_zfsvfs->z_case == ZFS_CASE_INSENSITIVE && in zfs_dropname() [all …]
|
H A D | zfs_sa.c | 87 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id, in zfs_sa_readlink() 112 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os, in zfs_sa_symlink() 126 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_get_scanstamp() 160 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_set_scanstamp() 201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_upgrade() 331 if (!zp->z_zfsvfs->z_use_sa || zp->z_is_sa) in zfs_sa_upgrade_txholds()
|
H A D | zfs_vnops.c | 198 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open() 209 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_open() 232 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close() 247 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_close() 279 error = dmu_offset_next(zp->z_zfsvfs->z_os, zp->z_id, hole, &noff); in zfs_holey() 428 zfsvfs = zp->z_zfsvfs; in zfs_ioctl() 449 zfsvfs = zp->z_zfsvfs; in zfs_ioctl() 611 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_read() 835 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_write() 1193 objset_t *os = zp->z_zfsvfs->z_os; in zfs_get_done() [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() 519 if (wr_state == WR_COPIED && dmu_read(zp->z_zfsvfs->z_os, in zfs_log_write() 534 itx->itx_private = zp->z_zfsvfs; in zfs_log_write() 650 txtype = (zp->z_zfsvfs->z_version < ZPL_VERSION_FUID) ? in zfs_log_acl()
|
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() 381 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_acl_znode_info() 431 SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_znode_acl_version() 457 return (zfs_acl_version(zp->z_zfsvfs->z_version)); in zfs_acl_version_zp() 850 VERIFY(zfs_copy_ace_2_fuid(zp->z_zfsvfs, ZTOV(zp)->v_type, aclp, in zfs_acl_xform() 1124 error = dmu_read(zp->z_zfsvfs->z_os, in zfs_acl_node_read() 1132 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read() 1199 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_aclset_common() 1487 if (zp->z_zfsvfs->z_acl_mode == ZFS_ACL_DISCARD) in zfs_acl_chmod_setattr() 1495 (zp->z_zfsvfs->z_acl_mode == ZFS_ACL_GROUPMASK), *aclp); in zfs_acl_chmod_setattr() [all …]
|
H A D | zfs_ctldir.c | 271 VN_HOLD(zp->z_zfsvfs->z_ctldir); in zfsctl_root() 272 return (zp->z_zfsvfs->z_ctldir); in zfsctl_root() 924 ASSERT(VTOZ(*vpp)->z_zfsvfs != zfsvfs); in zfsctl_snapdir_lookup() 925 VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs; in zfsctl_snapdir_lookup() 1300 *zfsvfsp = VTOZ(vp)->z_zfsvfs; in zfsctl_lookup_objset()
|
H A D | zfs_fuid.c | 387 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_fuid_map_ids() 388 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP); in zfs_fuid_map_ids()
|
H A D | sa.c | 1512 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in sa_add_projid()
|
H A D | zfs_ioctl.c | 5913 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_smb_acl_purge() 5955 zfsvfs = dzp->z_zfsvfs; in zfs_ioc_smb_acl()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zfs_ctldir.h | 40 ((zdp)->z_id == (zdp)->z_zfsvfs->z_root && \ 41 ((zdp)->z_zfsvfs->z_ctldir != NULL)) 44 ((zdp)->z_zfsvfs->z_show_ctldir))
|
H A D | zfs_znode.h | 88 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \ 186 struct zfsvfs *z_zfsvfs; member 264 ZFS_EXIT((zp)->z_zfsvfs); \
|
/illumos-gate/usr/src/test/zfs-tests/tests/perf/scripts/ |
H A D | io.d | 70 self->os = this->zp->z_zfsvfs->z_os;
|