Home
last modified time | relevance | path

Searched defs:zfsvfs (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_vfsops_os.h50 struct zfsvfs { struct
52 zfsvfs_t *z_parent; /* parent fs */ argument
53 objset_t *z_os; /* objset reference */
54 uint64_t z_flags; /* super_block flags */
55 uint64_t z_root; /* id of root znode */
56 uint64_t z_unlinkedobj; /* id of unlinked zapobj */
57 uint64_t z_max_blksz; /* maximum block size for files */
58 uint64_t z_fuid_obj; /* fuid table object number */
59 uint64_t z_fuid_size; /* fuid table size */
60 avl_tree_t z_fuid_idx; /* fuid tree keyed by index */
[all …]
H A Dzfs_znode_impl.h133 zfs_enter(zfsvfs_t *zfsvfs, const char *tag) in zfs_enter()
145 zfs_exit(zfsvfs_t *zfsvfs, const char *tag) in zfs_exit()
154 #define ZFS_OBJ_MUTEX(zfsvfs, obj_num) \ argument
156 #define ZFS_OBJ_HOLD_ENTER(zfsvfs, obj_num) \ argument
158 #define ZFS_OBJ_HOLD_TRYENTER(zfsvfs, obj_num) \ argument
160 #define ZFS_OBJ_HOLD_EXIT(zfsvfs, obj_num) \ argument
176 #define ZFS_ACCESSTIME_STAMP(zfsvfs, zp) \ argument
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_vfsops_os.h81 struct zfsvfs { struct
84 struct zfsvfs *z_parent; /* parent fs */ argument
85 objset_t *z_os; /* objset reference */
86 uint64_t z_flags; /* super_block flags */
87 uint64_t z_root; /* id of root znode */
88 uint64_t z_unlinkedobj; /* id of unlinked zapobj */
89 uint64_t z_max_blksz; /* maximum block size for files */
90 uint64_t z_fuid_obj; /* fuid table object number */
91 uint64_t z_fuid_size; /* fuid table size */
92 avl_tree_t z_fuid_idx; /* fuid tree keyed by index */
[all …]
H A Dzfs_znode_impl.h92 zfs_enter(zfsvfs_t *zfsvfs, const char *tag) in zfs_enter()
104 zfs_exit(zfsvfs_t *zfsvfs, const char *tag) in zfs_exit()
111 zpl_enter(zfsvfs_t *zfsvfs, const char *tag) in zpl_enter()
117 zpl_exit(zfsvfs_t *zfsvfs, const char *tag) in zpl_exit()
124 #define zpl_enter_verify_zp(zfsvfs, zp, tag) \ argument
132 #define ZFS_OBJ_HASH(zfsvfs, obj) ((obj) & ((zfsvfs->z_hold_size) - 1)) argument
154 #define ZFS_ACCESSTIME_STAMP(zfsvfs, zp) argument
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c258 zfs_is_readonly(zfsvfs_t *zfsvfs) in zfs_is_readonly()
267 zfsvfs_t *zfsvfs = sb->s_fs_info; in zfs_sync() local
300 zfsvfs_t *zfsvfs = arg; in atime_changed_cb() local
326 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb() local
343 zfsvfs_t *zfsvfs = arg; in acltype_changed_cb() local
368 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb() local
379 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb() local
409 zfsvfs_t *zfsvfs = arg; in nbmand_changed_cb() local
430 zfsvfs_t *zfsvfs = arg; in acl_mode_changed_cb() local
452 zfsvfs_t *zfsvfs = NULL; in zfs_register_callbacks() local
[all …]
H A Dzfs_dir.c64 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, const char *name, in zfs_match_find()
147 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirent_lock() local
397 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_dirlook() local
463 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_unlinked_add() local
481 zfsvfs_t *zfsvfs = arg; in zfs_unlinked_drain_task() local
547 zfs_unlinked_drain(zfsvfs_t *zfsvfs) in zfs_unlinked_drain()
569 zfs_unlinked_drain_stop_wait(zfsvfs_t *zfsvfs) in zfs_unlinked_drain_stop_wait()
600 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_purgedir() local
654 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rmnode() local
808 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_link_create() local
[all …]
H A Dzfs_znode_os.c251 zfs_znode_held(zfsvfs_t *zfsvfs, uint64_t obj) in zfs_znode_held()
268 zfs_znode_hold_enter(zfsvfs_t *zfsvfs, uint64_t obj) in zfs_znode_hold_enter()
301 zfs_znode_hold_exit(zfsvfs_t *zfsvfs, znode_hold_t *zh) in zfs_znode_hold_exit()
328 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, in zfs_znode_sa_init()
381 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_inode_destroy() local
403 zfs_inode_set_ops(zfsvfs_t *zfsvfs, struct inode *ip) in zfs_inode_set_ops()
502 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
630 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_mark_inode_dirty() local
665 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mknode() local
1046 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget()
[all …]
H A Dzfs_vnops_os.c186 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_open() local
218 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_close() local
445 zfsvfs_t *zfsvfs = ZTOZSB(zdp); in zfs_lookup() local
554 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_get_name() local
608 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_create() local
857 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfs_tmpfile() local
995 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_remove() local
1238 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mkdir() local
1428 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_rmdir() local
1561 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_readdir() local
[all …]
H A Dzfs_ctldir.c482 zfsctl_inode_alloc(zfsvfs_t *zfsvfs, uint64_t id, in zfsctl_inode_alloc()
551 zfsctl_inode_lookup(zfsvfs_t *zfsvfs, uint64_t id, in zfsctl_inode_lookup()
593 zfsctl_create(zfsvfs_t *zfsvfs) in zfsctl_create()
610 zfsctl_destroy(zfsvfs_t *zfsvfs) in zfsctl_destroy()
700 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfsctl_fid() local
739 zfsctl_snapshot_name(zfsvfs_t *zfsvfs, const char *snap_name, int len, in zfsctl_snapshot_name()
761 zfsctl_snapshot_path_objset(zfsvfs_t *zfsvfs, uint64_t objsetid, in zfsctl_snapshot_path_objset()
809 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_root_lookup() local
845 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_snapdir_lookup() local
877 zfsvfs_t *zfsvfs = ITOZSB(sdip); in zfsctl_snapdir_rename() local
[all …]
H A Dzpl_super.c162 zfsvfs_t *zfsvfs = sb->s_fs_info; in zpl_sync_fs() local
232 __zpl_show_devname(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_devname()
268 __zpl_show_options(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_options()
323 zfsvfs_t *zfsvfs = s->s_fs_info; in zpl_test_super() local
368 zfsvfs_t *zfsvfs = s->s_fs_info; in zpl_mount_impl() local
H A Dzpl_ctldir.c58 zfsvfs_t *zfsvfs = ITOZSB(file_inode(filp)); in zpl_root_iterate() local
249 zfsvfs_t *zfsvfs = ITOZSB(file_inode(filp)); in zpl_snapdir_iterate() local
411 zfsvfs_t *zfsvfs = ITOZSB(ip); in zpl_snapdir_getattr_impl() local
517 zfsvfs_t *zfsvfs = ITOZSB(file_inode(filp)); in zpl_shares_iterate() local
563 zfsvfs_t *zfsvfs = ITOZSB(ip); in zpl_shares_getattr_impl() local
H A Dzpl_inode.c51 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_lookup() local
160 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in is_nametoolong() local
357 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_unlink() local
449 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_rmdir() local
H A Dzfs_ioctl_os.c73 zfs_vfs_held(zfsvfs_t *zfsvfs) in zfs_vfs_held()
89 zfs_vfs_rele(zfsvfs_t *zfsvfs) in zfs_vfs_rele()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c240 zfs_getquota(zfsvfs_t *zfsvfs, uid_t id, int isgroup, struct dqblk64 *dqp) in zfs_getquota()
297 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_quotactl() local
414 zfs_is_readonly(zfsvfs_t *zfsvfs) in zfs_is_readonly()
441 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_sync() local
477 zfsvfs_t *zfsvfs = arg; in atime_changed_cb() local
495 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb() local
512 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb() local
524 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb() local
542 zfsvfs_t *zfsvfs = arg; in setuid_changed_cb() local
558 zfsvfs_t *zfsvfs = arg; in exec_changed_cb() local
[all …]
H A Dzfs_dir.c70 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, const char *name, in zfs_match_find()
114 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirent_lookup() local
204 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dd_lookup() local
273 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_unlinked_add() local
288 zfs_unlinked_drain(zfsvfs_t *zfsvfs) in zfs_unlinked_drain()
377 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir() local
431 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode() local
583 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create() local
728 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_link_destroy() local
823 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_make_xattrdir() local
[all …]
H A Dzfs_znode_os.c276 zfs_create_share_dir(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_create_share_dir()
355 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, in zfs_znode_sa_init()
410 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
570 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode() local
951 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget()
1090 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rezget() local
1252 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_znode_delete() local
1270 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zinactive() local
1305 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_znode_free() local
1418 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_extend() local
[all …]
H A Dzfs_ioctl_os.c57 zfs_vfs_held(zfsvfs_t *zfsvfs) in zfs_vfs_held()
63 zfs_vfs_rele(zfsvfs_t *zfsvfs) in zfs_vfs_rele()
139 zfsvfs_t *zfsvfs; in zfs_ioctl_update_mount_cache() local
H A Dzfs_vnops_os.c225 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open() local
256 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close() local
758 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup() local
1003 is_nametoolong(zfsvfs_t *zfsvfs, const char *name) in is_nametoolong()
1040 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_create() local
1216 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_remove_() local
1331 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_lookup_internal() local
1410 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mkdir() local
1580 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_rmdir_() local
1687 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_readdir() local
[all …]
H A Dzfs_ctldir.c353 zfsctl_create(zfsvfs_t *zfsvfs) in zfsctl_create()
383 zfsctl_destroy(zfsvfs_t *zfsvfs) in zfsctl_destroy()
439 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) in zfsctl_root()
672 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_root_readdir() local
933 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_snapdir_lookup() local
1055 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_snapdir_readdir() local
1117 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_snapdir_getattr() local
1296 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfsctl_umount_snapshots() local
1363 zfsvfs_t *zfsvfs = NULL; in zfsctl_snapshot_unmount() local
H A Dzfs_acl.c374 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_acl_znode_info() local
653 zfs_copy_ace_2_fuid(zfsvfs_t *zfsvfs, vtype_t obj_type, zfs_acl_t *aclp, in zfs_copy_ace_2_fuid()
715 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, in zfs_copy_fuid_2_ace()
1169 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_aclset_common() local
1485 zfs_acl_inherit(zfsvfs_t *zfsvfs, vtype_t vtype, zfs_acl_t *paclp, in zfs_acl_inherit()
1624 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_acl_ids_create() local
1876 zfs_vsec_2_aclp(zfsvfs_t *zfsvfs, umode_t obj_type, in zfs_vsec_2_aclp()
1936 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_setacl() local
2103 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zaccess_aces_check() local
2242 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zaccess_common() local
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_quota.c117 fuidstr_to_sid(zfsvfs_t *zfsvfs, const char *fuidstr, in fuidstr_to_sid()
134 zfs_userquota_prop_to_obj(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type) in zfs_userquota_prop_to_obj()
164 zfs_usedquota_prop_to_default(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type) in zfs_usedquota_prop_to_default()
185 zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, in zfs_userspace_many()
258 zfs_userspace_one(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, in zfs_userspace_one()
309 zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, in zfs_set_userquota()
397 zfs_id_overobjquota(zfsvfs_t *zfsvfs, uint64_t usedobj, uint64_t id) in zfs_id_overobjquota()
459 zfs_id_overblockquota(zfsvfs_t *zfsvfs, uint64_t usedobj, uint64_t id) in zfs_id_overblockquota()
508 zfs_id_overquota(zfsvfs_t *zfsvfs, uint64_t usedobj, uint64_t id) in zfs_id_overquota()
H A Dzfs_fuid.c193 zfs_fuid_init(zfsvfs_t *zfsvfs) in zfs_fuid_init()
220 zfs_fuid_sync(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_fuid_sync()
295 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, in zfs_fuid_find_by_domain()
360 zfs_fuid_find_by_idx(zfsvfs_t *zfsvfs, uint32_t idx) in zfs_fuid_find_by_idx()
393 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
405 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
416 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
516 zfs_fuid_create_cred(zfsvfs_t *zfsvfs, zfs_fuid_type_t type, in zfs_fuid_create_cred()
573 zfs_fuid_create(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr, in zfs_fuid_create()
666 zfs_fuid_destroy(zfsvfs_t *zfsvfs) in zfs_fuid_destroy()
[all …]
H A Dzfs_replay.c295 zfsvfs_t *zfsvfs = arg1; in zfs_replay_create_acl() local
458 zfsvfs_t *zfsvfs = arg1; in zfs_replay_create() local
613 zfsvfs_t *zfsvfs = arg1; in zfs_replay_remove() local
650 zfsvfs_t *zfsvfs = arg1; in zfs_replay_link() local
681 do_zfs_replay_rename(zfsvfs_t *zfsvfs, _lr_rename_t *lr, char *sname, in do_zfs_replay_rename()
724 zfsvfs_t *zfsvfs = arg1; in zfs_replay_rename() local
743 zfsvfs_t *zfsvfs = arg1; in zfs_replay_rename_exchange() local
766 zfsvfs_t *zfsvfs = arg1; in zfs_replay_rename_whiteout() local
816 zfsvfs_t *zfsvfs = arg1; in zfs_replay_write() local
882 zfsvfs_t *zfsvfs = arg1; in zfs_replay_write2() local
[all …]
H A Dzfs_vnops.c112 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_fsync() local
190 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_holey() local
206 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_access() local
251 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setup_direct() local
335 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_read() local
546 zfs_clear_setid_bits_if_necessary(zfsvfs_t *zfsvfs, znode_t *zp, cred_t *cr, in zfs_clear_setid_bits_if_necessary()
633 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_write() local
1108 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rewrite() local
1227 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getsecattr() local
1242 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setsecattr() local
[all …]
H A Dzfs_sa.c132 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_scanstamp() local
166 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_scanstamp() local
197 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_get_xattr() local
229 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_set_xattr() local
310 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_sa_upgrade() local

12