/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zfs_dir.c | 112 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirent_lookup() 176 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dd_lookup() 200 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirlook() 241 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_unlinked_add() 321 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir() 371 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode() 486 if (zp->z_zfsvfs->z_version >= ZPL_VERSION_DIRENT_TYPE) in zfs_dirent() 498 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create() 566 error = zap_add(zp->z_zfsvfs->z_os, dzp->z_id, name, in zfs_link_create() 579 if (zp->z_zfsvfs->z_norm) { in zfs_dropname() [all …]
|
H A D | zfs_znode.c | 133 POINTER_INVALIDATE(&zp->z_zfsvfs); in zfs_znode_cache_constructor() 155 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs)); in zfs_znode_cache_destructor() 187 nzp->z_zfsvfs = ozp->z_zfsvfs; in zfs_znode_move_impl() 235 POINTER_INVALIDATE(&ozp->z_zfsvfs); in zfs_znode_move_impl() 260 zfsvfs = ozp->z_zfsvfs; in zfs_znode_move() 273 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move() 299 if (zfsvfs != ozp->z_zfsvfs) { in zfs_znode_move() 496 ASSERT(!POINTER_IS_VALID(sharezp->z_zfsvfs)); in zfs_create_share_dir() 500 sharezp->z_zfsvfs = zfsvfs; in zfs_create_share_dir() 507 POINTER_INVALIDATE(&sharezp->z_zfsvfs); in zfs_create_share_dir() [all …]
|
H A D | zfs_sa.c | 84 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id, in zfs_sa_readlink() 110 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os, in zfs_sa_symlink() 124 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_get_scanstamp() 158 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_set_scanstamp() 199 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_upgrade() 315 if (!zp->z_zfsvfs->z_use_sa || zp->z_is_sa) in zfs_sa_upgrade_txholds()
|
H A D | zfs_log.c | 299 (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() 502 if (wr_state == WR_COPIED && dmu_read(zp->z_zfsvfs->z_os, in zfs_log_write() 517 itx->itx_private = zp->z_zfsvfs; in zfs_log_write() 633 txtype = (zp->z_zfsvfs->z_version < ZPL_VERSION_FUID) ? in zfs_log_acl()
|
H A D | zfs_acl.c | 347 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 …]
|
H A D | zfs_vnops.c | 201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open() 212 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_open() 235 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close() 250 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && in zfs_close() 282 error = dmu_offset_next(zp->z_zfsvfs->z_os, zp->z_id, hole, &noff); in zfs_holey() 343 zfsvfs = zp->z_zfsvfs; in zfs_ioctl() 369 zfsvfs = zp->z_zfsvfs; in zfs_ioctl() 576 objset_t *os = zp->z_zfsvfs->z_os; in mappedread_sf() 859 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_read() 1016 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_write() [all …]
|
H A D | zfs_fuid.c | 391 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_fuid_map_ids() 392 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP); in zfs_fuid_map_ids()
|
H A D | zfs_ctldir.c | 941 ASSERT(VTOZ(*vpp)->z_zfsvfs != zfsvfs); 942 VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs; 1447 ASSERT(VTOZ(*vpp)->z_zfsvfs != zfsvfs); in sfs_lookup_snapshot() 1448 VTOZ(*vpp)->z_zfsvfs->z_parent = zfsvfs; in sfs_lookup_snapshot()
|
H A D | zfs_rlock.c | 140 zp->z_blksz < zp->z_zfsvfs->z_max_blksz)) { in zfs_range_lock_writer()
|
H A D | zfs_vfsops.c | 270 zfsvfs = zp->z_zfsvfs; in zfs_netbsd_vptofh()
|
H A D | zfs_ioctl.c | 5317 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_smb_acl_purge() 5361 zfsvfs = dzp->z_zfsvfs; in zfs_ioc_smb_acl()
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | zfs_ctldir.h | 39 ((zdp)->z_id == (zdp)->z_zfsvfs->z_root && \ 40 ((zdp)->z_zfsvfs->z_ctldir != NULL)) 43 ((zdp)->z_zfsvfs->z_show_ctldir))
|
H A D | zfs_znode.h | 75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \ 187 struct zfsvfs *z_zfsvfs; member 282 ZFS_EXIT((zp)->z_zfsvfs); \
|
/netbsd-src/usr.bin/fstat/ |
H A D | zfs_znode.h | 68 struct zfsvfs *z_zfsvfs; member
|