| /src/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_dir.c | 147 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirent_lock() 397 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirlook() 419 if (ZTOZSB(dzp)->z_show_ctldir == ZFS_SNAPDIR_DISABLED) { in zfs_dirlook() 463 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_unlinked_add() 601 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_purgedir() 655 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rmnode() 793 if (ZTOZSB(zp)->z_version >= ZPL_VERSION_DIRENT_TYPE) in zfs_dirent() 809 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_link_create() 839 error = zap_add(ZTOZSB(zp)->z_os, dzp->z_id, dl->dl_name, 8, 1, in zfs_link_create() 932 if (ZTOZSB(zp)->z_norm) { in zfs_dropname() [all …]
|
| H A D | zfs_znode_os.c | 103 (!ISP2(zp->z_blksz) || zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { in zfs_rangelock_cb() 349 ASSERT(zfs_znode_held(ZTOZSB(zp), zp->z_id) || in zfs_znode_dmu_fini() 350 RW_WRITE_HELD(&ZTOZSB(zp)->z_teardown_inactive_lock)); in zfs_znode_dmu_fini() 383 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_inode_destroy() 672 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mknode() 960 (void) sa_update(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_xvattr_set() 1162 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rezget() 1309 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_znode_delete() 1328 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_zinactive() 1424 if (ZTOZSB(zp)->z_use_fuids) { in zfs_tstamp_update_setup() [all …]
|
| H A D | zfs_acl.c | 350 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), in zfs_external_acl() 373 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_acl_znode_info() 423 SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), in zfs_znode_acl_version() 449 return (zfs_acl_version(ZTOZSB(zp)->z_version)); in zfs_acl_version_zp() 828 VERIFY(zfs_copy_ace_2_fuid(ZTOZSB(zp), ZTOI(zp)->i_mode, in zfs_acl_xform() 1120 error = dmu_read(ZTOZSB(zp)->z_os, in zfs_acl_node_read() 1128 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(ZTOZSB(zp)), in zfs_acl_node_read() 1176 if (ZTOZSB(zp)->z_acl_type == ZFS_ACLTYPE_POSIX) in zfs_acl_chown_setattr() 1358 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_aclset_common() 1633 if (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_DISCARD) in zfs_acl_chmod_setattr() [all …]
|
| H A D | zfs_vnops_os.c | 446 zfsvfs_t *zfsvfs = ZTOZSB(zdp); in zfs_lookup() 555 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_get_name() 609 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_create() 996 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_remove() 1239 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mkdir() 1430 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_rmdir() 1785 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_setattr_dir() 1925 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setattr() 2298 err = zfs_zget(ZTOZSB(zp), xattr_obj, &attrzp); in zfs_setattr() 2343 if (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_RESTRICTED && in zfs_setattr() [all …]
|
| H A D | zpl_xattr.c | 244 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_list() 373 zfsvfs_t *zfsvfs = ZTOZSB(zp); in __zpl_xattr_get() 400 zfsvfs_t *zfsvfs = ZTOZSB(zp); in __zpl_xattr_where() 435 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_get() 604 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_set()
|
| H A D | zfs_ctldir.c | 636 VERIFY3P(igrab(ZTOZSB(zp)->z_ctldir), !=, NULL); in zfsctl_root() 637 return (ZTOZSB(zp)->z_ctldir); in zfsctl_root()
|
| /src/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zfs_ctldir.h | 45 ((zdp)->z_id == ZTOZSB(zdp)->z_root && \ 46 (ZTOZSB(zdp)->z_ctldir != NULL)) 49 (ZTOZSB(zdp)->z_show_ctldir == ZFS_SNAPDIR_VISIBLE))
|
| H A D | zfs_znode_impl.h | 60 #define ZTOZSB(znode) ((zfsvfs_t *)(ZTOI(znode)->i_sb->s_fs_info)) macro
|
| /src/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_sa.c | 92 if ((error = dmu_buf_hold(ZTOZSB(zp)->z_os, zp->z_id, in zfs_sa_readlink() 118 VERIFY0(dmu_buf_hold(ZTOZSB(zp)->z_os, zp->z_id, 0, FTAG, &dbp, in zfs_sa_symlink() 132 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_scanstamp() 166 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_scanstamp() 197 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_xattr() 229 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_xattr() 310 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_upgrade() 447 if (!ZTOZSB(zp)->z_use_sa || zp->z_is_sa) in zfs_sa_upgrade_txholds()
|
| H A D | zfs_log.c | 245 if (zfs_zget(ZTOZSB(tzp), tzp->z_xattr_parent, &dzp) != 0) { in zfs_xattr_owner_unlinked() 265 if (zfs_zget(ZTOZSB(zp), zp->z_xattr_parent, &dzp) != 0) { in zfs_xattr_owner_unlinked() 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() 581 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(wzp)), &lr->lr_wgen, in zfs_log_rename_whiteout() 583 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(wzp)), in zfs_log_rename_whiteout() 595 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_RDEV(ZTOZSB(wzp)), &lr->lr_wrdev, in zfs_log_rename_whiteout() [all …]
|
| H A D | zfs_vnops.c | 122 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_fsync() 163 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common() 198 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_holey() 214 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_access() 259 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setup_direct() 343 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_read() 646 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_write() 1158 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rewrite() 1292 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getsecattr() 1307 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setsecattr() [all …]
|
| H A D | zfs_fuid.c | 378 *uidp = zfs_fuid_map_id(ZTOZSB(zp), KUID_TO_SUID(ZTOUID(zp)), in zfs_fuid_map_ids() 380 *gidp = zfs_fuid_map_id(ZTOZSB(zp), KGID_TO_SGID(ZTOGID(zp)), in zfs_fuid_map_ids()
|
| H A D | sa.c | 1585 zfsvfs_t *zfsvfs = ZTOZSB(zp); in sa_add_projid()
|
| /src/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
| H A D | zfs_znode_impl.h | 113 #define ZTOZSB(zp) ((zp)->z_zfsvfs) macro
|
| /src/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_znode.h | 76 VERIFY0(sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \
|
| /src/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vnops_os.c | 3958 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_space() 6026 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getextattr_impl() 6050 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getextattr() 6167 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_deleteextattr_impl() 6191 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_deleteextattr() 6326 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setextattr_impl() 6379 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setextattr() 6561 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_listextattr_impl() 6584 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_listextattr()
|
| H A D | zfs_znode_os.c | 129 (!ISP2(zp->z_blksz) || zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { in zfs_rangelock_cb()
|
| H A D | zfs_acl.c | 2375 if ((error = zfs_zget(ZTOZSB(zp), in zfs_zaccess()
|