| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/ |
| zfs_dir.c | 63 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, char *name, boolean_t exact, 68 if (zfsvfs->z_norm) { 84 error = zap_lookup_norm(zfsvfs->z_os, dzp->z_id, name, 8, 1, 89 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 8, 1, zoid); 136 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 159 * zfsvfs->z_case and zfsvfs->z_norm fields. These choices 179 ((zfsvfs->z_case == ZFS_CASE_INSENSITIVE) && (flag & ZCIEXACT)) || 180 ((zfsvfs->z_case == ZFS_CASE_MIXED) && !(flag & ZCILOOK)); 192 update = !zfsvfs->z_norm | 367 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 425 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 504 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 554 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 804 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 874 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 947 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local [all...] |
| zfs_ctldir.c | 197 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 204 return (zfsvfs->z_shares_dir); 214 zfsctl_create(zfsvfs_t *zfsvfs) 219 ASSERT(zfsvfs->z_ctldir == NULL); 221 vp = gfs_root_create(sizeof (zfsctl_node_t), zfsvfs->z_vfs, 227 VERIFY(VFS_ROOT(zfsvfs->z_vfs, &rvp) == 0); 238 zfsvfs->z_ctldir = vp; 247 zfsctl_destroy(zfsvfs_t *zfsvfs) 249 VN_RELE(zfsvfs->z_ctldir); 250 zfsvfs->z_ctldir = NULL 341 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 375 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 416 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 439 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 601 zfsvfs_t *zfsvfs; local 665 zfsvfs_t *zfsvfs; local 721 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 769 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 932 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 962 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1006 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1073 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1097 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1236 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1296 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_znode.c | 91 * Needed to close a small window in zfs_znode_move() that allows the zfsvfs to 232 zfsvfs_t *zfsvfs; local 243 zfsvfs = ozp->z_zfsvfs; 244 if (!POINTER_IS_VALID(zfsvfs)) { 251 * be unmounted and freed, and zfsvfs, though valid in the previous 256 if (zfsvfs != ozp->z_zfsvfs) { 268 rrw_enter(&zfsvfs->z_teardown_lock, RW_READER, FTAG); 269 if (zfsvfs->z_unmounted) { 270 ZFS_EXIT(zfsvfs); 277 mutex_enter(&zfsvfs->z_znodes_lock) 720 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 994 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1041 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1059 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1110 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1245 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1320 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1359 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1449 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1503 zfsvfs_t zfsvfs; local [all...] |
| zfs_vfsops.c | 149 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 152 ZFS_ENTER(zfsvfs); 153 dp = dmu_objset_pool(zfsvfs->z_os); 160 ZFS_EXIT(zfsvfs); 164 if (zfsvfs->z_log != NULL) 165 zil_commit(zfsvfs->z_log, UINT64_MAX, 0); 168 ZFS_EXIT(zfsvfs); 236 zfsvfs_t *zfsvfs = arg; local 239 zfsvfs->z_atime = TRUE; 240 vfs_clearmntopt(zfsvfs->z_vfs, MNTOPT_NOATIME) 252 zfsvfs_t *zfsvfs = arg; local 270 zfsvfs_t *zfsvfs = arg; local 283 zfsvfs_t *zfsvfs = arg; local 301 zfsvfs_t *zfsvfs = arg; local 317 zfsvfs_t *zfsvfs = arg; local 333 zfsvfs_t *zfsvfs = arg; local 357 zfsvfs_t *zfsvfs = arg; local 370 zfsvfs_t *zfsvfs = arg; local 378 zfsvfs_t *zfsvfs = arg; local 386 zfsvfs_t *zfsvfs = arg; local 394 zfsvfs_t *zfsvfs = arg; local 404 zfsvfs_t *zfsvfs = NULL; local 822 zfsvfs_t *zfsvfs; local 1062 zfsvfs_t *zfsvfs; local 1388 zfsvfs_t *zfsvfs = NULL; local 1604 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1668 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1782 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1867 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2019 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_acl.c | 544 zfs_copy_ace_2_fuid(zfsvfs_t *zfsvfs, vtype_t obj_type, zfs_acl_t *aclp, 562 aceptr->z_fuid = zfs_fuid_create(zfsvfs, acep->a_who, 606 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, 649 acep->a_who = zfs_fuid_map_id(zfsvfs, who, 1051 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1071 if (!zfsvfs->z_use_fuids) { 1075 (zfsvfs->z_version >= ZPL_VERSION_FUID)) 1088 error = dmu_object_free(zfsvfs->z_os, 1095 aoid = dmu_object_alloc(zfsvfs->z_os, 1100 (void) dmu_object_set_blocksize(zfsvfs->z_os, aoid 1836 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2113 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2275 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2418 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2543 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2682 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_vnops.c | 91 * This is done avoiding races using ZFS_ENTER(zfsvfs). 92 * A ZFS_EXIT(zfsvfs) is needed before all returns. Any znodes 120 * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is TXG_NOWAIT, 137 * ZFS_ENTER(zfsvfs); // exit if unmounted 154 * ZFS_EXIT(zfsvfs); // finished in zfs 165 * ZFS_EXIT(zfsvfs); // finished in zfs 174 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 176 ZFS_ENTER(zfsvfs); 181 ZFS_EXIT(zfsvfs); 190 ZFS_EXIT(zfsvfs); 209 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 284 zfsvfs_t *zfsvfs; local 445 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 564 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 873 zfsvfs_t *zfsvfs = arg; local 992 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1057 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 1201 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1431 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1630 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1796 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1928 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2182 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2225 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2424 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3069 zfsvfs_t *zfsvfs = sdzp->z_zfsvfs; local 3368 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 3518 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3569 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 3719 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3830 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3912 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3996 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4124 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4213 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4359 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4395 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4448 zfsvfs_t *zfsvfs; local 4519 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4537 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_ioctl.c | 389 * Get the zfsvfs; if there isn't one, then the dataset isn't 999 * objset from the zfsvfs. 1009 zfsvfs_rele(zfsvfs_t *zfsvfs, void *tag) 1011 rrw_exit(&zfsvfs->z_teardown_lock, tag); 1013 if (zfsvfs->z_vfs) { 1014 VFS_RELE(zfsvfs->z_vfs); 1016 dmu_objset_disown(zfsvfs->z_os, zfsvfs); 1017 zfsvfs_free(zfsvfs); 1800 zfsvfs_t *zfsvfs; local 1884 zfsvfs_t *zfsvfs; local 2928 zfsvfs_t *zfsvfs; local 3436 zfsvfs_t *zfsvfs = NULL; local 3756 zfsvfs_t *zfsvfs; local 3787 zfsvfs_t *zfsvfs; local 3823 zfsvfs_t *zfsvfs; local 3998 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 4019 zfsvfs_t *zfsvfs; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/ |
| zfs_vfsops.h | 41 typedef struct zfsvfs zfsvfs_t; 43 struct zfsvfs { struct 135 extern int zfs_suspend_fs(zfsvfs_t *zfsvfs); 136 extern int zfs_resume_fs(zfsvfs_t *zfsvfs, const char *osname); 137 extern int zfs_userspace_one(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 139 extern int zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 141 extern int zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 143 extern boolean_t zfs_usergroup_overquota(zfsvfs_t *zfsvfs, 145 extern int zfs_set_version(zfsvfs_t *zfsvfs, uint64_t newvers); 147 extern void zfsvfs_free(zfsvfs_t *zfsvfs); [all...] |