Home
last modified time | relevance | path

Searched refs:zfsvfs_t (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_vfsops.h41 typedef struct zfsvfs zfsvfs_t; typedef
46 zfsvfs_t *z_parent; /* parent fs */
144 extern int zfs_suspend_fs(zfsvfs_t *zfsvfs);
145 extern int zfs_resume_fs(zfsvfs_t *zfsvfs, struct dsl_dataset *ds);
146 extern int zfs_userspace_one(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type,
148 extern int zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type,
150 extern int zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type,
152 extern boolean_t zfs_owner_overquota(zfsvfs_t *zfsvfs, struct znode *,
154 extern boolean_t zfs_fuid_overquota(zfsvfs_t *zfsvfs, boolean_t isgroup,
156 extern int zfs_set_version(zfsvfs_t *zfsvfs, uint64_t newvers);
[all …]
H A Dzfs_fuid.h103 extern uid_t zfs_fuid_map_id(zfsvfs_t *, uint64_t, cred_t *, zfs_fuid_type_t);
106 extern void zfs_fuid_destroy(zfsvfs_t *);
107 extern uint64_t zfs_fuid_create_cred(zfsvfs_t *, zfs_fuid_type_t,
109 extern uint64_t zfs_fuid_create(zfsvfs_t *, uint64_t, cred_t *, zfs_fuid_type_t,
115 extern boolean_t zfs_groupmember(zfsvfs_t *, uint64_t, cred_t *);
116 void zfs_fuid_sync(zfsvfs_t *, dmu_tx_t *);
117 extern int zfs_fuid_find_by_domain(zfsvfs_t *, const char *domain,
119 extern const char *zfs_fuid_find_by_idx(zfsvfs_t *zfsvfs, uint32_t idx);
120 extern void zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
H A Dzfs_ctldir.h45 void zfsctl_create(zfsvfs_t *);
46 void zfsctl_destroy(zfsvfs_t *);
50 int zfsctl_root(zfsvfs_t *, vnode_t **);
51 int zfsctl_snapshot(zfsvfs_t *, vnode_t **);
53 int zfsctl_root(zfsvfs_t *, int, vnode_t **);
63 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
H A Dzfs_znode.h324 extern int zfs_init_fs(zfsvfs_t *, znode_t **);
339 extern int zfs_zget_cleaner(zfsvfs_t *, uint64_t, znode_t **);
341 extern int zfs_zget(zfsvfs_t *, uint64_t, znode_t **);
378 extern void zfs_upgrade(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
379 extern int zfs_create_share_dir(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
H A Dzfs_dir.h65 extern void zfs_unlinked_drain(zfsvfs_t *zfsvfs);
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_vfsops.c104 static void zfs_objset_close(zfsvfs_t *zfsvfs);
209 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_netbsd_sync()
259 zfsvfs_t *zfsvfs; in zfs_netbsd_vptofh()
327 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_netbsd_fhtovp()
451 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_sync()
547 zfsvfs_t *zfsvfs = arg; in atime_changed_cb()
565 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb()
587 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb()
599 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb()
617 zfsvfs_t *zfsvfs = arg; in setuid_changed_cb()
[all …]
H A Dzfs_ctldir.c341 zfsctl_create(zfsvfs_t *zfsvfs) in zfsctl_create()
371 zfsctl_destroy(zfsvfs_t *zfsvfs) in zfsctl_destroy()
403 node = ((zfsvfs_t*)mp->mnt_data)->z_ctldir; in zfsctl_root_vnode()
416 node = ((zfsvfs_t*)mp->mnt_data)->z_ctldir->snapdir; in zfsctl_snapdir_vnode()
427 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) in zfsctl_root()
675 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data;
752 objset_t *os = ((zfsvfs_t *)((vp)->v_vfsp->vfs_data))->z_os; in zfsctl_snapshot_zname()
765 objset_t *os = ((zfsvfs_t *)((vp)->v_vfsp->vfs_data))->z_os; in zfsctl_snapshot_lookup()
842 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data;
967 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data;
[all …]
H A Dzfs_dir.c67 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, const char *name, in zfs_match_find()
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()
255 zfs_unlinked_drain(zfsvfs_t *zfsvfs) in zfs_unlinked_drain()
321 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir()
371 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode()
498 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create()
605 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_link_destroy()
[all …]
H A Dzfs_fuid.c199 zfs_fuid_init(zfsvfs_t *zfsvfs) in zfs_fuid_init()
226 zfs_fuid_sync(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_fuid_sync()
301 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, in zfs_fuid_find_by_domain()
366 zfs_fuid_find_by_idx(zfsvfs_t *zfsvfs, uint32_t idx) in zfs_fuid_find_by_idx()
396 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
498 zfs_fuid_create_cred(zfsvfs_t *zfsvfs, zfs_fuid_type_t type, in zfs_fuid_create_cred()
555 zfs_fuid_create(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr, in zfs_fuid_create()
648 zfs_fuid_destroy(zfsvfs_t *zfsvfs) in zfs_fuid_destroy()
710 zfs_groupmember(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr) in zfs_groupmember()
760 zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_fuid_txhold()
H A Dzfs_replay.c75 zfs_replay_error(zfsvfs_t *zfsvfs, lr_t *lr, boolean_t byteswap) in zfs_replay_error()
268 zfs_replay_create_acl(zfsvfs_t *zfsvfs, in zfs_replay_create_acl()
417 zfs_replay_create(zfsvfs_t *zfsvfs, lr_create_t *lr, boolean_t byteswap) in zfs_replay_create()
564 zfs_replay_remove(zfsvfs_t *zfsvfs, lr_remove_t *lr, boolean_t byteswap) in zfs_replay_remove()
625 zfs_replay_link(zfsvfs_t *zfsvfs, lr_link_t *lr, boolean_t byteswap) in zfs_replay_link()
674 zfs_replay_rename(zfsvfs_t *zfsvfs, lr_rename_t *lr, boolean_t byteswap) in zfs_replay_rename()
754 zfs_replay_write(zfsvfs_t *zfsvfs, lr_write_t *lr, boolean_t byteswap) in zfs_replay_write()
820 zfs_replay_write2(zfsvfs_t *zfsvfs, lr_write_t *lr, boolean_t byteswap) in zfs_replay_write2()
865 zfs_replay_truncate(zfsvfs_t *zfsvfs, lr_truncate_t *lr, boolean_t byteswap) in zfs_replay_truncate()
897 zfs_replay_setattr(zfsvfs_t *zfsvfs, lr_setattr_t *lr, boolean_t byteswap) in zfs_replay_setattr()
[all …]
H A Dzfs_znode.c249 zfsvfs_t *zfsvfs; in zfs_znode_move()
481 zfs_create_share_dir(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_create_share_dir()
560 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, in zfs_znode_sa_init()
621 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
624 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
827 zfsvfs_t *zfsvfs; in zfs_loadvnode()
908 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode()
932 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode1()
1282 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget()
1301 zfs_zget_cleaner(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget_cleaner()
[all …]
H A Dzfs_vnops.c201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open()
235 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close()
314 zfsvfs_t *zfsvfs; in zfs_ioctl()
859 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_read()
1016 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_write()
1470 zfsvfs_t *zfsvfs = arg; in zfs_get_data()
1596 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_access()
1628 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup_lock()
1715 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup()
1964 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup()
[all …]
H A Dzfs_sa.c124 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()
H A Dzfs_acl.c370 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_acl_znode_info()
657 zfs_copy_ace_2_fuid(zfsvfs_t *zfsvfs, vtype_t obj_type, zfs_acl_t *aclp, in zfs_copy_ace_2_fuid()
719 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, in zfs_copy_fuid_2_ace()
1167 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_aclset_common()
1478 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, in zfs_acl_inherit()
1599 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_acl_ids_create()
1742 zfs_acl_ids_overquota(zfsvfs_t *zfsvfs, zfs_acl_ids_t *acl_ids) in zfs_acl_ids_overquota()
1850 zfs_vsec_2_aclp(zfsvfs_t *zfsvfs, vtype_t obj_type, in zfs_vsec_2_aclp()
1910 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_setacl()
2086 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zaccess_aces_check()
[all …]
H A Dzfs_ioctl.c1464 getzfsvfs(const char *dsname, zfsvfs_t **zfvp) in getzfsvfs()
1506 zfsvfs_hold(const char *name, void *tag, zfsvfs_t **zfvp, boolean_t writer) in zfsvfs_hold()
1529 zfsvfs_rele(zfsvfs_t *zfsvfs, void *tag) in zfsvfs_rele()
2436 zfsvfs_t *zfsvfs; in zfs_prop_set_userquota()
2538 zfsvfs_t *zfsvfs; in zfs_prop_set_special()
3574 zfsvfs_t *zfsvfs; in zfs_unmount_snap()
3824 zfsvfs_t *zfsvfs; in zfs_ioc_rollback()
4475 zfsvfs_t *zfsvfs = NULL; in zfs_ioc_recv()
4956 zfsvfs_t *zfsvfs; in zfs_ioc_userspace_one()
4987 zfsvfs_t *zfsvfs; in zfs_ioc_userspace_many()
[all …]