Home
last modified time | relevance | path

Searched refs:zfvp (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_ioctl_os.c41 zfs_vfs_ref(zfsvfs_t **zfvp) in zfs_vfs_ref() argument
45 if (*zfvp == NULL) in zfs_vfs_ref()
48 error = vfs_busy((*zfvp)->z_vfs, 0); in zfs_vfs_ref()
50 *zfvp = NULL; in zfs_vfs_ref()
H A Dzfs_vfsops.c160 zfsvfs_t *zfvp; in zfs_get_temporary_prop() local
169 error = getzfsvfs_impl(os, &zfvp); in zfs_get_temporary_prop()
172 if (zfvp == NULL) in zfs_get_temporary_prop()
174 vfsp = zfvp->z_vfs; in zfs_get_temporary_prop()
207 if (zfvp->z_flags & ZSB_XATTR) in zfs_get_temporary_prop()
208 tmp = zfvp->z_xattr; in zfs_get_temporary_prop()
1008 zfsvfs_create(const char *osname, boolean_t readonly, zfsvfs_t **zfvp) in zfsvfs_create() argument
1035 error = zfsvfs_create_impl(zfvp, zfsvfs, os); in zfsvfs_create()
1041 zfsvfs_create_hold(const char *osname, zfsvfs_t **zfvp) in zfsvfs_create_hold() argument
1062 error = zfsvfs_create_impl(zfvp, zfsvfs, os); in zfsvfs_create_hold()
[all …]
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ioctl_os.c69 zfs_vfs_ref(zfsvfs_t **zfvp) in zfs_vfs_ref() argument
71 if (*zfvp == NULL || (*zfvp)->z_sb == NULL || in zfs_vfs_ref()
72 !atomic_inc_not_zero(&((*zfvp)->z_sb->s_active))) { in zfs_vfs_ref()
H A Dzfs_vfsops.c366 zfsvfs_t *zfvp; in zfs_get_temporary_prop() local
379 zfvp = dmu_objset_get_user(os); in zfs_get_temporary_prop()
381 if (zfvp == NULL) in zfs_get_temporary_prop()
384 vfsp = zfvp->z_vfs; in zfs_get_temporary_prop()
615 zfsvfs_create_hold(const char *osname, zfsvfs_t **zfvp) in zfsvfs_create_hold() argument
636 error = zfsvfs_create_impl(zfvp, zfsvfs, os); in zfsvfs_create_hold()
641 zfsvfs_create(const char *osname, boolean_t readonly, zfsvfs_t **zfvp) in zfsvfs_create() argument
656 error = zfsvfs_create_impl(zfvp, zfsvfs, os); in zfsvfs_create()
667 zfsvfs_create_impl(zfsvfs_t **zfvp, zfsvfs_t *zfsvfs, objset_t *os) in zfsvfs_create_impl() argument
701 *zfvp = NULL; in zfsvfs_create_impl()
[all …]
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_vfsops_os.h219 extern int zfsvfs_create(const char *name, boolean_t readonly, zfsvfs_t **zfvp);
220 extern int zfsvfs_create_hold(const char *name, zfsvfs_t **zfvp);
221 extern int zfsvfs_create_impl(zfsvfs_t **zfvp, zfsvfs_t *zfsvfs, objset_t *os);
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_vfsops_os.h230 extern int zfsvfs_create(const char *name, boolean_t readony, zfsvfs_t **zfvp);
231 extern int zfsvfs_create_hold(const char *name, zfsvfs_t **zfvp);
232 extern int zfsvfs_create_impl(zfsvfs_t **zfvp, zfsvfs_t *zfsvfs, objset_t *os);
/freebsd/sys/contrib/openzfs/contrib/coverity/
H A Dmodel.c346 zfsvfs_create(const char *osname, boolean_t readonly, zfsvfs_t **zfvp) in zfsvfs_create() argument
355 *zfvp = __coverity_alloc_nosize__(); in zfsvfs_create()
356 __coverity_writeall__(*zfvp); in zfsvfs_create()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzcp_get.c672 zfsvfs_t *zfvp; in zcp_get_userquota_prop() local
689 error = zfsvfs_create_impl(&zfvp, zfsvfs, os); in zcp_get_userquota_prop()
691 error = zfs_userspace_one(zfvp, type, domain, in zcp_get_userquota_prop()
693 zfsvfs_free(zfvp); in zcp_get_userquota_prop()
H A Dzfs_ioctl.c1648 getzfsvfs_impl(objset_t *os, zfsvfs_t **zfvp) in getzfsvfs_impl() argument
1656 *zfvp = dmu_objset_get_user(os); in getzfsvfs_impl()
1658 error = zfs_vfs_ref(zfvp); in getzfsvfs_impl()
1664 getzfsvfs(const char *dsname, zfsvfs_t **zfvp) in getzfsvfs() argument
1673 error = getzfsvfs_impl(os, zfvp); in getzfsvfs()
1685 zfsvfs_hold(const char *name, const void *tag, zfsvfs_t **zfvp, in zfsvfs_hold() argument
1690 if (getzfsvfs(name, zfvp) != 0) in zfsvfs_hold()
1691 error = zfsvfs_create_hold(name, zfvp); in zfsvfs_hold()
1699 if ((*zfvp)->z_use_hold) in zfsvfs_hold()
1701 dmu_objset_pool((*zfvp)->z_os), *zfvp); in zfsvfs_hold()
[all …]