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
295 zfsvfs_t *zfsvfs = arg; in atime_changed_cb() local
321 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb() local
338 zfsvfs_t *zfsvfs = arg; in acltype_changed_cb() local
363 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb() local
374 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb() local
404 zfsvfs_t *zfsvfs = arg; in nbmand_changed_cb() local
425 zfsvfs_t *zfsvfs = arg; in acl_mode_changed_cb() local
447 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.c246 zfs_znode_held(zfsvfs_t *zfsvfs, uint64_t obj) in zfs_znode_held()
263 zfs_znode_hold_enter(zfsvfs_t *zfsvfs, uint64_t obj) in zfs_znode_hold_enter()
296 zfs_znode_hold_exit(zfsvfs_t *zfsvfs, znode_hold_t *zh) in zfs_znode_hold_exit()
323 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, in zfs_znode_sa_init()
382 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_inode_destroy() local
411 zfs_inode_set_ops(zfsvfs_t *zfsvfs, struct inode *ip) in zfs_inode_set_ops()
510 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
636 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_mark_inode_dirty() local
671 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mknode() local
1052 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget()
[all …]
H A Dzfs_vnops_os.c187 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_open() local
219 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfs_close() local
446 zfsvfs_t *zfsvfs = ZTOZSB(zdp); in zfs_lookup() local
555 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_get_name() local
609 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_create() local
858 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfs_tmpfile() local
996 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_remove() local
1239 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_mkdir() local
1430 zfsvfs_t *zfsvfs = ZTOZSB(dzp); in zfs_rmdir() local
1563 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()
549 zfsctl_inode_lookup(zfsvfs_t *zfsvfs, uint64_t id, in zfsctl_inode_lookup()
591 zfsctl_create(zfsvfs_t *zfsvfs) in zfsctl_create()
608 zfsctl_destroy(zfsvfs_t *zfsvfs) in zfsctl_destroy()
698 zfsvfs_t *zfsvfs = ITOZSB(ip); in zfsctl_fid() local
737 zfsctl_snapshot_name(zfsvfs_t *zfsvfs, const char *snap_name, int len, in zfsctl_snapshot_name()
759 zfsctl_snapshot_path_objset(zfsvfs_t *zfsvfs, uint64_t objsetid, in zfsctl_snapshot_path_objset()
807 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_root_lookup() local
843 zfsvfs_t *zfsvfs = ITOZSB(dip); in zfsctl_snapdir_lookup() local
875 zfsvfs_t *zfsvfs = ITOZSB(sdip); in zfsctl_snapdir_rename() local
[all …]
H A Dzpl_super.c211 zfsvfs_t *zfsvfs = sb->s_fs_info; in zpl_sync_fs() local
281 __zpl_show_devname(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_devname()
317 __zpl_show_options(struct seq_file *seq, zfsvfs_t *zfsvfs) in __zpl_show_options()
372 zfsvfs_t *zfsvfs = s->s_fs_info; in zpl_test_super() local
417 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
291 zfsvfs_t *zfsvfs = ITOZSB(file_inode(filp)); in zpl_snapdir_iterate() local
452 zfsvfs_t *zfsvfs = ITOZSB(ip); in zpl_snapdir_getattr_impl() local
558 zfsvfs_t *zfsvfs = ITOZSB(file_inode(filp)); in zpl_shares_iterate() local
604 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
482 zfsvfs_t *zfsvfs = arg; in atime_changed_cb() local
500 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb() local
517 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb() local
529 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb() local
547 zfsvfs_t *zfsvfs = arg; in setuid_changed_cb() local
563 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.c271 zfs_create_share_dir(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_create_share_dir()
350 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, in zfs_znode_sa_init()
405 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, in zfs_znode_alloc()
563 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode() local
948 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget()
1087 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rezget() local
1249 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_znode_delete() local
1267 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zinactive() local
1302 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_znode_free() local
1415 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.c229 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open() local
260 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close() local
764 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup() local
1014 is_nametoolong(zfsvfs_t *zfsvfs, const char *name) in is_nametoolong()
1051 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_create() local
1227 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_remove_() local
1341 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_lookup_internal() local
1420 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mkdir() local
1590 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_rmdir_() local
1697 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
935 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; in zfsctl_snapdir_lookup() local
1057 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_snapdir_readdir() local
1119 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in zfsctl_snapdir_getattr() local
1298 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfsctl_umount_snapshots() local
1365 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.c191 zfs_fuid_init(zfsvfs_t *zfsvfs) in zfs_fuid_init()
218 zfs_fuid_sync(zfsvfs_t *zfsvfs, dmu_tx_t *tx) in zfs_fuid_sync()
291 zfs_fuid_find_by_domain(zfsvfs_t *zfsvfs, const char *domain, in zfs_fuid_find_by_domain()
356 zfs_fuid_find_by_idx(zfsvfs_t *zfsvfs, uint32_t idx) in zfs_fuid_find_by_idx()
389 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
401 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
412 zfs_fuid_map_id(zfsvfs_t *zfsvfs, uint64_t fuid, in zfs_fuid_map_id()
512 zfs_fuid_create_cred(zfsvfs_t *zfsvfs, zfs_fuid_type_t type, in zfs_fuid_create_cred()
569 zfs_fuid_create(zfsvfs_t *zfsvfs, uint64_t id, cred_t *cr, in zfs_fuid_create()
662 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.c115 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_fsync() local
191 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_holey() local
207 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_access() local
252 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_setup_direct() local
336 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_read() local
552 zfs_clear_setid_bits_if_necessary(zfsvfs_t *zfsvfs, znode_t *zp, cred_t *cr, in zfs_clear_setid_bits_if_necessary()
639 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_write() local
1119 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_rewrite() local
1249 zfsvfs_t *zfsvfs = ZTOZSB(zp); in zfs_getsecattr() local
1264 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