/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
H A D | zfs_vfsops.h | 44 struct zfsvfs { struct 46 zfsvfs_t *z_parent; /* parent fs */ argument 47 objset_t *z_os; /* objset reference */ 48 uint64_t z_root; /* id of root znode */ 49 uint64_t z_unlinkedobj; /* id of unlinked zapobj */ 50 uint64_t z_max_blksz; /* maximum block size for files */ 51 uint64_t z_fuid_obj; /* fuid table object number */ 52 uint64_t z_fuid_size; /* fuid table size */ 53 avl_tree_t z_fuid_idx; /* fuid tree keyed by index */ 54 avl_tree_t z_fuid_domain; /* fuid tree keyed by domain */ [all …]
|
H A D | zfs_znode.h | 267 #define ZFS_ENTER(zfsvfs) \ argument 277 #define ZFS_EXIT(zfsvfs) rrm_exit(&(zfsvfs)->z_teardown_lock, FTAG) argument 290 #define ZFS_OBJ_MUTEX(zfsvfs, obj_num) \ argument 292 #define ZFS_OBJ_HOLD_ENTER(zfsvfs, obj_num) \ argument 294 #define ZFS_OBJ_HOLD_TRYENTER(zfsvfs, obj_num) \ argument 296 #define ZFS_OBJ_HOLD_EXIT(zfsvfs, obj_num) \ argument 320 #define ZFS_ACCESSTIME_STAMP(zfsvfs, zp) \ argument
|
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 209 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_netbsd_sync() local 259 zfsvfs_t *zfsvfs; in zfs_netbsd_vptofh() local 327 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_netbsd_fhtovp() local 451 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfs_sync() local 547 zfsvfs_t *zfsvfs = arg; in atime_changed_cb() local 565 zfsvfs_t *zfsvfs = arg; in xattr_changed_cb() local 587 zfsvfs_t *zfsvfs = arg; in blksz_changed_cb() local 599 zfsvfs_t *zfsvfs = arg; in readonly_changed_cb() local 617 zfsvfs_t *zfsvfs = arg; in setuid_changed_cb() local 633 zfsvfs_t *zfsvfs = arg; in exec_changed_cb() local [all …]
|
H A D | zfs_dir.c | 67 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() local 176 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dd_lookup() local 200 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_dirlook() local 241 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_unlinked_add() local 255 zfs_unlinked_drain(zfsvfs_t *zfsvfs) in zfs_unlinked_drain() 321 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_purgedir() local 371 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_rmnode() local 498 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_link_create() local 605 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_link_destroy() local [all …]
|
H A D | zfs_replay.c | 75 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 D | zfs_fuid.c | 199 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 D | zfs_ctldir.c | 341 zfsctl_create(zfsvfs_t *zfsvfs) in zfsctl_create() 371 zfsctl_destroy(zfsvfs_t *zfsvfs) in zfsctl_destroy() 427 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp) in zfsctl_root() 675 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 842 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 967 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1029 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1164 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfsctl_lookup_objset() local 1194 zfsvfs_t *zfsvfs = vfsp->vfs_data; in zfsctl_umount_snapshots() local 1308 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; in sfs_snapshot_mount() local [all …]
|
H A D | zfs_znode.c | 249 zfsvfs_t *zfsvfs; in zfs_znode_move() local 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() 827 zfsvfs_t *zfsvfs; in zfs_loadvnode() local 908 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode() local 932 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_mknode1() local 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() 1334 zfs_zget(zfsvfs_t *zfsvfs, uint64_t obj_num, znode_t **zpp) in zfs_zget() [all …]
|
H A D | zfs_vnops.c | 201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_open() local 235 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_close() local 314 zfsvfs_t *zfsvfs; in zfs_ioctl() local 859 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_read() local 1016 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_write() local 1470 zfsvfs_t *zfsvfs = arg; in zfs_get_data() local 1596 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_access() local 1628 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup_lock() local 1715 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup() local 1964 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; in zfs_lookup() local [all …]
|
H A D | zfs_sa.c | 124 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_get_scanstamp() local 158 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_set_scanstamp() local 199 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_sa_upgrade() local
|
H A D | zfs_acl.c | 370 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_acl_znode_info() local 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() local 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() local 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() local 2086 zfsvfs_t *zfsvfs = zp->z_zfsvfs; in zfs_zaccess_aces_check() local [all …]
|
H A D | zfs_ioctl.c | 1529 zfsvfs_rele(zfsvfs_t *zfsvfs, void *tag) in zfsvfs_rele() 2436 zfsvfs_t *zfsvfs; in zfs_prop_set_userquota() local 2538 zfsvfs_t *zfsvfs; in zfs_prop_set_special() local 3574 zfsvfs_t *zfsvfs; in zfs_unmount_snap() local 3824 zfsvfs_t *zfsvfs; in zfs_ioc_rollback() local 4475 zfsvfs_t *zfsvfs = NULL; in zfs_ioc_recv() local 4956 zfsvfs_t *zfsvfs; in zfs_ioc_userspace_one() local 4987 zfsvfs_t *zfsvfs; in zfs_ioc_userspace_many() local 5025 zfsvfs_t *zfsvfs; in zfs_ioc_userspace_upgrade() local 5317 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; in zfs_smb_acl_purge() local [all …]
|