Searched refs:ZTOV (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_dir.c | 120 ASSERT_VOP_LOCKED(ZTOV(dzp), __func__); in zfs_dirent_lookup() 210 ASSERT_VOP_LOCKED(ZTOV(dzp), __func__); in zfs_dd_lookup() 234 ASSERT_VOP_LOCKED(ZTOV(dzp), __func__); in zfs_dirlook() 330 vn_lock(ZTOV(zp), LK_EXCLUSIVE | LK_RETRY); in zfs_unlinked_drain() 342 vput(ZTOV(zp)); in zfs_unlinked_drain() 352 vput(ZTOV(zp)); in zfs_unlinked_drain() 391 vn_lock(ZTOV(xzp), LK_EXCLUSIVE | LK_RETRY); in zfs_purgedir() 392 ASSERT((ZTOV(xzp)->v_type == VREG) || in zfs_purgedir() 393 (ZTOV(xzp)->v_type == VLNK)); in zfs_purgedir() 406 vput(ZTOV(xzp)); in zfs_purgedir() [all …]
|
H A D | zfs_acl.c | 829 VERIFY0(zfs_copy_ace_2_fuid(zp->z_zfsvfs, ZTOV(zp)->v_type, aclp, in zfs_acl_xform() 1066 ASSERT_VOP_LOCKED(ZTOV(zp), __func__); in zfs_acl_node_read() 1146 ASSERT_VOP_ELOCKED(ZTOV(zp), __func__); in zfs_acl_chown_setattr() 1147 ASSERT_VOP_IN_SEQC(ZTOV(zp)); in zfs_acl_chown_setattr() 1178 ASSERT_VOP_IN_SEQC(ZTOV(zp)); in zfs_aclset_common() 1448 ASSERT_VOP_ELOCKED(ZTOV(zp), __func__); in zfs_acl_chmod_setattr() 1456 zfs_acl_chmod(ZTOV(zp)->v_type, mode, B_TRUE, in zfs_acl_chmod_setattr() 1632 ASSERT_VOP_ELOCKED(ZTOV(dzp), __func__); in zfs_acl_ids_create() 1703 secpolicy_vnode_setids_setgids(ZTOV(dzp), cr, gid) != 0) in zfs_acl_ids_create() 1796 ASSERT_VOP_LOCKED(ZTOV(zp), __func__); in zfs_getacl() [all …]
|
H A D | zfs_vnops_os.c | 383 vnode_t *vp = ZTOV(zp); in update_pages() 422 vnode_t *vp = ZTOV(zp); in mappedread_sf() 490 vnode_t *vp = ZTOV(zp); in mappedread() 535 error = vn_rdwr(UIO_WRITE, ZTOV(zp), __DECONST(void *, data), len, pos, in zfs_write_simple() 553 vnode_t *vp = ZTOV(zp); in zfs_zrele_async() 712 *vpp = ZTOV(zp); in zfs_lookup() 719 vrele(ZTOV(zp)); in zfs_lookup() 800 *vpp = ZTOV(zp); in zfs_lookup() 821 vput(ZTOV(zp)); in zfs_lookup() 833 vput(ZTOV(zp)); in zfs_lookup() [all …]
|
H A D | zfs_znode_os.c | 372 ZTOV(zp)->v_flag |= VROOT; in zfs_znode_sa_init() 806 vnode_t *vp = ZTOV(*zpp); in zfs_mknode() 830 ASSERT_VOP_IN_SEQC(ZTOV(zp)); in zfs_xvattr_set() 964 vp = ZTOV(zp); in zfs_zget() 1035 vnode_t *vp = ZTOV(zp); in zfs_zget() 1079 vp = ZTOV(zp); in zfs_rezget() 1429 vnode_pager_setsize(ZTOV(zp), end); in zfs_extend() 1474 vnode_pager_purge_range(ZTOV(zp), off, off + len); in zfs_free_range() 1481 vnode_pager_setsize(ZTOV(zp), off); in zfs_free_range() 1502 vnode_t *vp = ZTOV(zp); in zfs_trunc() [all …]
|
H A D | zfs_vfsops.c | 1521 *vpp = ZTOV(rootzp); in zfs_root() 1768 vrele(ZTOV(zp)); in zfs_vget() 1772 *vpp = ZTOV(zp); in zfs_vget() 1922 vrele(ZTOV(zp)); in zfs_fhtovp() 1927 *vpp = ZTOV(zp); in zfs_fhtovp()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_znode_impl.h | 100 #define ZTOV(ZP) ((ZP)->z_vnode) macro 105 #define zhold(zp) vhold(ZTOV((zp))) 106 #define zrele(zp) vrele(ZTOV((zp))) 110 #define ZTOTYPE(zp) (ZTOV(zp)->v_type) 120 vn_has_cached_data(ZTOV(zp)) 121 #define zn_flush_cached_data(zp, sync) vn_flush_cached_data(ZTOV(zp), sync) 124 vn_rlimit_fsize(ZTOV(zp), GET_UIO_STRUCT(uio), zfs_uio_td(uio))
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_policy.c | 317 if (secpolicy_fs_owner(ZTOV(zp)->v_mount, cr) == 0) in secpolicy_vnode_setid_retain()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_replay.c | 441 VOP_UNLOCK(ZTOV(zp)); in zfs_replay_create_acl() 597 VOP_UNLOCK(ZTOV(zp)); in zfs_replay_create()
|