| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| zfs_sa.c | 124 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 130 if (sa_lookup(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), 158 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 164 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_SCANSTAMP(zfsvfs), 181 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs), 199 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 231 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MTIME(zfsvfs), NULL, &mtime, 16); 232 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CTIME(zfsvfs), NULL, &ctime, 16); 233 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_CRTIME(zfsvfs), NULL, &crtime, 16); 234 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zfsvfs), NULL, &mode, 8) [all...] |
| zfs_dir.c | 67 zfs_match_find(zfsvfs_t *zfsvfs, znode_t *dzp, const char *name, 72 if (zfsvfs->z_norm) { 79 error = zap_lookup_norm(zfsvfs->z_os, dzp->z_id, name, 8, 1, 82 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 8, 1, zoid); 112 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 133 * zfsvfs->z_case and zfsvfs->z_norm fields. These choices 144 exact = zfsvfs->z_case == ZFS_CASE_MIXED; 149 error = sa_lookup(dzp->z_sa_hdl, SA_ZPL_XATTR(zfsvfs), &zoid, 154 error = zfs_match_find(zfsvfs, dzp, name, exact, &zoid) 176 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 200 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 241 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 321 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 371 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 498 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 605 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 704 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 790 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 863 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local [all...] |
| zfs_ctldir.c | 341 zfsctl_create(zfsvfs_t *zfsvfs) 348 ASSERT(zfsvfs->z_ctldir == NULL); 356 VERIFY(VFS_ROOT(zfsvfs->z_vfs, LK_EXCLUSIVE, &rvp) == 0); 357 VERIFY(0 == sa_lookup(VTOZ(rvp)->z_sa_hdl, SA_ZPL_CRTIME(zfsvfs), 362 zfsvfs->z_ctldir = dot_zfs; 371 zfsctl_destroy(zfsvfs_t *zfsvfs) 373 sfs_destroy_node(zfsvfs->z_ctldir->snapdir); 374 sfs_destroy_node((sfs_node_t *)zfsvfs->z_ctldir); 375 zfsvfs->z_ctldir = NULL; 427 zfsctl_root(zfsvfs_t *zfsvfs, int flags, vnode_t **vpp 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; local 1194 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1308 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1371 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 1467 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 1549 zfsvfs_t *zfsvfs = ap->a_vp->v_vfsp->vfs_data; local 1571 zfsvfs_t *zfsvfs = ap->a_vp->v_vfsp->vfs_data; local 1589 zfsvfs_t *zfsvfs = ap->a_vp->v_vfsp->vfs_data; local 1614 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 1710 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 2003 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_znode.c | 106 * Needed to close a small window in zfs_znode_move() that allows the zfsvfs to 249 zfsvfs_t *zfsvfs; local 260 zfsvfs = ozp->z_zfsvfs; 261 if (!POINTER_IS_VALID(zfsvfs)) { 268 * be unmounted and freed, and zfsvfs, though valid in the previous 273 if (zfsvfs != ozp->z_zfsvfs) { 285 rrm_enter(&zfsvfs->z_teardown_lock, RW_READER, FTAG); 286 if (zfsvfs->z_unmounted) { 287 ZFS_EXIT(zfsvfs); 294 mutex_enter(&zfsvfs->z_znodes_lock) 827 zfsvfs_t *zfsvfs; local 890 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 911 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 935 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1434 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1549 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1568 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1596 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1727 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1805 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1852 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1931 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2004 zfsvfs_t *zfsvfs; local 2401 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_acl.c | 370 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 377 if ((error = sa_size(zp->z_sa_hdl, SA_ZPL_DACL_ACES(zfsvfs), 381 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_DACL_COUNT(zfsvfs), 386 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zfsvfs), 657 zfs_copy_ace_2_fuid(zfsvfs_t *zfsvfs, vtype_t obj_type, zfs_acl_t *aclp, 675 aceptr->z_fuid = zfs_fuid_create(zfsvfs, acep->a_who, 719 zfs_copy_fuid_2_ace(zfsvfs_t *zfsvfs, zfs_acl_t *aclp, cred_t *cr, 762 acep->a_who = zfs_fuid_map_id(zfsvfs, who, 1167 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1181 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_MODE(zfsvfs), NULL 1599 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1910 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2086 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2224 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_vfsops.c | 104 static void zfs_objset_close(zfsvfs_t *zfsvfs); 202 zfsvfs_t *zfsvfs; local 213 zfsvfs = zp->z_zfsvfs; 216 ZFS_ENTER(zfsvfs); 219 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zfsvfs), 221 ZFS_EXIT(zfsvfs); 227 size = (zfsvfs->z_parent != zfsvfs) ? LONG_FID_LEN : SHORT_FID_LEN; 230 ZFS_EXIT(zfsvfs); 250 uint64_t objsetid = dmu_objset_id(zfsvfs->z_os) 270 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 394 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 490 zfsvfs_t *zfsvfs = arg; local 508 zfsvfs_t *zfsvfs = arg; local 530 zfsvfs_t *zfsvfs = arg; local 542 zfsvfs_t *zfsvfs = arg; local 560 zfsvfs_t *zfsvfs = arg; local 576 zfsvfs_t *zfsvfs = arg; local 600 zfsvfs_t *zfsvfs = arg; local 613 zfsvfs_t *zfsvfs = arg; local 621 zfsvfs_t *zfsvfs = arg; local 629 zfsvfs_t *zfsvfs = arg; local 637 zfsvfs_t *zfsvfs = arg; local 647 zfsvfs_t *zfsvfs = NULL; local 1228 zfsvfs_t *zfsvfs; local 1424 zfsvfs_t *zfsvfs; local 1561 dsl_prop_unregister_all(dmu_objset_ds(os), zfsvfs); local 1757 zfsvfs_t *zfsvfs = NULL; local 2063 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2127 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2209 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2341 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2473 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2508 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2530 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 2763 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_vnops.c | 106 * This is done avoiding races using ZFS_ENTER(zfsvfs). 107 * A ZFS_EXIT(zfsvfs) is needed before all returns. Any znodes 142 * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is TXG_NOWAIT, 163 * ZFS_ENTER(zfsvfs); // exit if unmounted 181 * ZFS_EXIT(zfsvfs); // finished in zfs 192 * ZFS_EXIT(zfsvfs); // finished in zfs 201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 203 ZFS_ENTER(zfsvfs); 208 ZFS_EXIT(zfsvfs); 216 ZFS_EXIT(zfsvfs); 241 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 320 zfsvfs_t *zfsvfs; local 878 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1035 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1493 zfsvfs_t *zfsvfs = arg; local 1619 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1651 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 1738 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 1987 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 2154 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2318 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2448 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2615 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2704 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3026 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3063 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3297 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3942 zfsvfs_t *zfsvfs; local 4184 zfsvfs_t *zfsvfs; local 4253 zfsvfs_t *zfsvfs; local 4567 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 4704 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4744 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 4863 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4916 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 4982 zfsvfs_t *zfsvfs; local 5065 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 5083 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 5278 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 5677 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 5923 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 5975 zfsvfs_t *zfsvfs; local 6060 struct zfsvfs *zfsvfs; local 6097 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 6188 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 6296 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 6336 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_ioctl.c | 610 * Get the zfsvfs; if there isn't one, then the dataset isn't 1518 * objset from the zfsvfs. 1528 zfsvfs_rele(zfsvfs_t *zfsvfs, void *tag) 1530 rrm_exit(&zfsvfs->z_teardown_lock, tag); 1532 if (zfsvfs->z_vfs) { 1534 VFS_RELE(zfsvfs->z_vfs); 1536 vfs_unbusy(zfsvfs->z_vfs); 1539 dmu_objset_disown(zfsvfs->z_os, zfsvfs); 1540 zfsvfs_free(zfsvfs); 2435 zfsvfs_t *zfsvfs; local 2537 zfsvfs_t *zfsvfs; local 3573 zfsvfs_t *zfsvfs; local 3823 zfsvfs_t *zfsvfs; local 4474 zfsvfs_t *zfsvfs = NULL; local 4955 zfsvfs_t *zfsvfs; local 4986 zfsvfs_t *zfsvfs; local 5024 zfsvfs_t *zfsvfs; local 5316 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 5339 zfsvfs_t *zfsvfs; local [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| zfs_vfsops.h | 41 typedef struct zfsvfs zfsvfs_t; 44 struct zfsvfs { struct 143 extern int zfs_suspend_fs(zfsvfs_t *zfsvfs); 144 extern int zfs_resume_fs(zfsvfs_t *zfsvfs, struct dsl_dataset *ds); 145 extern int zfs_userspace_one(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 147 extern int zfs_userspace_many(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 149 extern int zfs_set_userquota(zfsvfs_t *zfsvfs, zfs_userquota_prop_t type, 151 extern boolean_t zfs_owner_overquota(zfsvfs_t *zfsvfs, struct znode *, 153 extern boolean_t zfs_fuid_overquota(zfsvfs_t *zfsvfs, boolean_t isgroup, 155 extern int zfs_set_version(zfsvfs_t *zfsvfs, uint64_t newvers) [all...] |