Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dzfs_dir.c111 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirent_lookup()
199 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dd_lookup()
223 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirlook()
264 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_unlinked_add()
365 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir()
419 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode()
552 if (zp->z_zfsvfs->z_version >= ZPL_VERSION_DIRENT_TYPE) in zfs_dirent()
564 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create()
630 error = zap_add(zp->z_zfsvfs->z_os, dzp->z_id, name, in zfs_link_create()
665 if (zp->z_zfsvfs->z_norm) { in zfs_dropname()
[all …]
Dzfs_znode.c144 zp->z_blksz < zp->z_zfsvfs->z_max_blksz)) { in zfs_rangelock_cb()
156 POINTER_INVALIDATE(&zp->z_zfsvfs); in zfs_znode_cache_constructor()
176 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs)); in zfs_znode_cache_destructor()
204 nzp->z_zfsvfs = ozp->z_zfsvfs; in zfs_znode_move_impl()
251 POINTER_INVALIDATE(&ozp->z_zfsvfs); in zfs_znode_move_impl()
276 zfsvfs = ozp->z_zfsvfs; in zfs_znode_move()
289 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move()
315 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move()
512 ASSERT(!POINTER_IS_VALID(sharezp->z_zfsvfs)); in zfs_create_share_dir()
516 sharezp->z_zfsvfs = zfsvfs; in zfs_create_share_dir()
[all …]
Dzfs_sa.c84 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id, in zfs_sa_readlink()
109 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os, in zfs_sa_symlink()
123 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_get_scanstamp()
157 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_set_scanstamp()
198 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_upgrade()
314 if (!zp->z_zfsvfs->z_use_sa || zp->z_is_sa) in zfs_sa_upgrade_txholds()
Dzfs_log.c301 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_create()
303 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_create()
306 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(zp->z_zfsvfs), &lr->lr_rdev, in zfs_log_create()
419 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen, in zfs_log_symlink()
421 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(zp->z_zfsvfs), in zfs_log_symlink()
511 if (wr_state == WR_COPIED && dmu_read(zp->z_zfsvfs->z_os, in zfs_log_write()
526 itx->itx_private = zp->z_zfsvfs; in zfs_log_write()
642 txtype = (zp->z_zfsvfs->z_version < ZPL_VERSION_FUID) ? in zfs_log_acl()
Dzfs_acl.c347 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_external_acl()
370 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_acl_znode_info()
420 SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), in zfs_znode_acl_version()
446 return (zfs_acl_version(zp->z_zfsvfs->z_version)); in zfs_acl_version_zp()
834 VERIFY(zfs_copy_ace_2_fuid(zp->z_zfsvfs, ZTOV(zp)->v_type, aclp, in zfs_acl_xform()
1094 error = dmu_read(zp->z_zfsvfs->z_os, in zfs_acl_node_read()
1102 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zp->z_zfsvfs), in zfs_acl_node_read()
1167 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_aclset_common()
1443 if (zp->z_zfsvfs->z_acl_mode == ZFS_ACL_DISCARD) in zfs_acl_chmod_setattr()
1451 (zp->z_zfsvfs->z_acl_mode == ZFS_ACL_GROUPMASK), *aclp); in zfs_acl_chmod_setattr()
[all …]
Dzfs_vnops.c189 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open()
200 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_open()
223 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close()
238 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_close()
270 error = dmu_offset_next(zp->z_zfsvfs->z_os, zp->z_id, hole, &noff); in zfs_holey()
331 zfsvfs = zp->z_zfsvfs; in zfs_ioctl()
357 zfsvfs = zp->z_zfsvfs; in zfs_ioctl()
563 objset_t *os = zp->z_zfsvfs->z_os; in mappedread_sf()
704 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_read()
867 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_write()
[all …]
Dzfs_fuid.c386 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_fuid_map_ids()
387 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP); in zfs_fuid_map_ids()
Dzfs_ctldir.c1029 ASSERT(VTOZ(*vpp)->z_zfsvfs != zfsvfs);
1030 VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs;
Dzfs_ioctl.c5634 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_smb_acl_purge()
5678 zfsvfs = dzp->z_zfsvfs; in zfs_ioc_smb_acl()
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
Dzfs_ctldir.h39 ((zdp)->z_id == (zdp)->z_zfsvfs->z_root && \
40 ((zdp)->z_zfsvfs->z_ctldir != NULL))
43 ((zdp)->z_zfsvfs->z_show_ctldir))
Dzfs_znode.h73 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \
172 struct zfsvfs *z_zfsvfs; member
265 ZFS_EXIT((zp)->z_zfsvfs); \