Home
last modified time | relevance | path

Searched refs:ZTOZSB (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_dir.c146 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirent_lock()
396 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirlook()
418 if (ZTOZSB(dzp)->z_show_ctldir == ZFS_SNAPDIR_DISABLED) { in zfs_dirlook()
462 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_unlinked_add()
599 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_purgedir()
653 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rmnode()
791 if (ZTOZSB(zp)->z_version >= ZPL_VERSION_DIRENT_TYPE) in zfs_dirent()
807 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_link_create()
837 error = zap_add(ZTOZSB(zp)->z_os, dzp->z_id, dl->dl_name, 8, 1, in zfs_link_create()
930 if (ZTOZSB(zp)->z_norm) { in zfs_dropname()
[all …]
H A Dzfs_znode_os.c101 zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { in zfs_rangelock_cb()
352 ASSERT(zfs_znode_held(ZTOZSB(zp), zp->z_id) || in zfs_znode_dmu_fini()
353 RW_WRITE_HELD(&ZTOZSB(zp)->z_teardown_inactive_lock)); in zfs_znode_dmu_fini()
380 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_inode_destroy()
664 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mknode()
952 (void) sa_update(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_xvattr_set()
1154 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rezget()
1301 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_znode_delete()
1320 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_zinactive()
1416 if (ZTOZSB(zp)->z_use_fuids) { in zfs_tstamp_update_setup()
[all …]
H A Dzfs_acl.c349 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), in zfs_external_acl()
372 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_acl_znode_info()
422 SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), in zfs_znode_acl_version()
448 return (zfs_acl_version(ZTOZSB(zp)->z_version)); in zfs_acl_version_zp()
827 VERIFY(zfs_copy_ace_2_fuid(ZTOZSB(zp), ZTOI(zp)->i_mode, in zfs_acl_xform()
1119 error = dmu_read(ZTOZSB(zp)->z_os, in zfs_acl_node_read()
1127 error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_ACES(ZTOZSB(zp)), in zfs_acl_node_read()
1175 if (ZTOZSB(zp)->z_acl_type == ZFS_ACLTYPE_POSIX) in zfs_acl_chown_setattr()
1357 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_aclset_common()
1631 if (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_DISCARD) in zfs_acl_chmod_setattr()
[all …]
H A Dzfs_vnops_os.c442 zfsvfs_t *zfsvfs = ZTOZSB(zdp); in zfs_lookup()
551 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_get_name()
605 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_create()
991 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_remove()
1233 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mkdir()
1422 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_rmdir()
1776 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_setattr_dir()
1916 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setattr()
2292 err = zfs_zget(ZTOZSB(zp), xattr_obj, &attrzp); in zfs_setattr()
2337 if (ZTOZSB(zp)->z_acl_mode == ZFS_ACL_RESTRICTED && in zfs_setattr()
[all …]
H A Dzpl_xattr.c243 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_list()
372 zfsvfs_t *zfsvfs = ZTOZSB(zp); in __zpl_xattr_get()
399 zfsvfs_t *zfsvfs = ZTOZSB(zp); in __zpl_xattr_where()
434 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_get()
603 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zpl_xattr_set()
H A Dzfs_ctldir.c640 VERIFY3P(igrab(ZTOZSB(zp)->z_ctldir), !=, NULL); in zfsctl_root()
641 return (ZTOZSB(zp)->z_ctldir); in zfsctl_root()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_ctldir.h44 ((zdp)->z_id == ZTOZSB(zdp)->z_root && \
45 (ZTOZSB(zdp)->z_ctldir != NULL))
48 (ZTOZSB(zdp)->z_show_ctldir == ZFS_SNAPDIR_VISIBLE))
H A Dzfs_znode_impl.h59 #define ZTOZSB(znode) ((zfsvfs_t *)(ZTOI(znode)->i_sb->s_fs_info)) macro
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_sa.c91 if ((error = dmu_buf_hold(ZTOZSB(zp)->z_os, zp->z_id, in zfs_sa_readlink()
117 VERIFY0(dmu_buf_hold(ZTOZSB(zp)->z_os, zp->z_id, 0, FTAG, &dbp, in zfs_sa_symlink()
131 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_scanstamp()
165 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_scanstamp()
196 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_xattr()
228 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_xattr()
309 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 Dzfs_log.c244 if (zfs_zget(ZTOZSB(tzp), tzp->z_xattr_parent, &dzp) != 0) { in zfs_xattr_owner_unlinked()
264 if (zfs_zget(ZTOZSB(zp), zp->z_xattr_parent, &dzp) != 0) { in zfs_xattr_owner_unlinked()
361 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(zp)), &lr->lr_gen, in zfs_log_create()
363 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_log_create()
366 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_RDEV(ZTOZSB(zp)), &lr->lr_rdev, in zfs_log_create()
490 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(zp)), &lr->lr_gen, in zfs_log_symlink()
492 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(zp)), in zfs_log_symlink()
580 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_GEN(ZTOZSB(wzp)), &lr->lr_wgen, in zfs_log_rename_whiteout()
582 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_CRTIME(ZTOZSB(wzp)), in zfs_log_rename_whiteout()
594 (void) sa_lookup(wzp->z_sa_hdl, SA_ZPL_RDEV(ZTOZSB(wzp)), &lr->lr_wrdev, in zfs_log_rename_whiteout()
[all …]
H A Dzfs_vnops.c100 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_fsync()
143 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); in zfs_holey_common()
178 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_holey()
194 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_access()
239 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setup_direct()
315 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_read()
603 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_write()
1054 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getsecattr()
1069 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setsecattr()
1357 inzfsvfs = ZTOZSB(inzp); in zfs_clone_range()
[all …]
H A Dzfs_fuid.c384 *uidp = zfs_fuid_map_id(ZTOZSB(zp), KUID_TO_SUID(ZTOUID(zp)), in zfs_fuid_map_ids()
386 *gidp = zfs_fuid_map_id(ZTOZSB(zp), KGID_TO_SGID(ZTOGID(zp)), in zfs_fuid_map_ids()
H A Dsa.c1577 zfsvfs_t *zfsvfs = ZTOZSB(zp); in sa_add_projid()
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_znode_impl.h108 #define ZTOZSB(zp) ((zp)->z_zfsvfs) macro
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_znode.h75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vnops_os.c3716 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_space()
5353 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getextattr_impl()
5377 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getextattr()
5494 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_deleteextattr_impl()
5518 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_deleteextattr()
5653 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setextattr_impl()
5706 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setextattr()
5888 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_listextattr_impl()
5911 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_listextattr()
H A Dzfs_znode_os.c123 zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { in zfs_rangelock_cb()