| /loficc/crypto/usr/src/uts/common/fs/zfs/ |
| zfs_vfsops.c | 74 static void zfs_objset_close(zfsvfs_t *zfsvfs); 138 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 140 ZFS_ENTER(zfsvfs); 141 if (zfsvfs->z_log != NULL) 142 zil_commit(zfsvfs->z_log, UINT64_MAX, 0); 144 txg_wait_synced(dmu_objset_pool(zfsvfs->z_os), 0); 145 ZFS_EXIT(zfsvfs); 213 zfsvfs_t *zfsvfs = arg; local 216 zfsvfs->z_atime = TRUE; 217 vfs_clearmntopt(zfsvfs->z_vfs, MNTOPT_NOATIME) 229 zfsvfs_t *zfsvfs = arg; local 242 zfsvfs_t *zfsvfs = arg; local 262 zfsvfs_t *zfsvfs = arg; local 278 zfsvfs_t *zfsvfs = arg; local 294 zfsvfs_t *zfsvfs = arg; local 310 zfsvfs_t *zfsvfs = arg; local 318 zfsvfs_t *zfsvfs = arg; local 326 zfsvfs_t *zfsvfs = arg; local 334 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 382 zfsvfs_t *zfsvfs = NULL; local 507 zfsvfs_t *zfsvfs; local 660 zfsvfs_t *zfsvfs = NULL; local 809 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 873 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 891 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 971 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 1155 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_znode.c | 229 * zfs_init_fs - Initialize the zfsvfs struct and the file system 233 zfs_init_fs(zfsvfs_t *zfsvfs, znode_t **zpp, cred_t *cr) 237 objset_t *os = zfsvfs->z_os; 284 zfsvfs->z_vfs->vfs_fsid.val[0] = fsid_guid; 285 zfsvfs->z_vfs->vfs_fsid.val[1] = ((fsid_guid>>32) << 8) | 292 zfsvfs->z_root = zoid; 302 mutex_init(&zfsvfs->z_hold_mtx[i], NULL, MUTEX_DEFAULT, NULL); 304 error = zfs_zget(zfsvfs, zoid, zpp); 313 zfsvfs->z_dqueue = zoid; 321 list_create(&zfsvfs->z_delete_head.z_znodes 462 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 511 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 706 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 726 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 791 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 912 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1055 zfsvfs_t zfsvfs; local [all...] |
| zfs_replay.c | 73 zfs_replay_error(zfsvfs_t *zfsvfs, lr_t *lr, boolean_t byteswap) 79 zfs_replay_create(zfsvfs_t *zfsvfs, lr_create_t *lr, boolean_t byteswap) 91 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) 134 zfs_replay_remove(zfsvfs_t *zfsvfs, lr_remove_t *lr, boolean_t byteswap) 143 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) 163 zfs_replay_link(zfsvfs_t *zfsvfs, lr_link_t *lr, boolean_t byteswap) 172 if ((error = zfs_zget(zfsvfs, lr->lr_doid, &dzp)) != 0) 175 if ((error = zfs_zget(zfsvfs, lr->lr_link_obj, &zp)) != 0) { 189 zfs_replay_rename(zfsvfs_t *zfsvfs, lr_rename_t *lr, boolean_t byteswap) 199 if ((error = zfs_zget(zfsvfs, lr->lr_sdoid, &sdzp)) != 0 [all...] |
| zfs_vnops.c | 83 * This is done avoiding races using ZFS_ENTER(zfsvfs). 84 * A ZFS_EXIT(zfsvfs) is needed before all returns. 98 * (4) Always pass zfsvfs->z_assign as the second argument to dmu_tx_assign(). 111 * If dmu_tx_assign() returns ERESTART and zfsvfs->z_assign is TXG_NOWAIT, 126 * ZFS_ENTER(zfsvfs); // exit if unmounted 132 * error = dmu_tx_assign(tx, zfsvfs->z_assign); // try to assign 137 * if (error == ERESTART && zfsvfs->z_assign == TXG_NOWAIT) { 143 * ZFS_EXIT(zfsvfs); // finished in zfs 154 * ZFS_EXIT(zfsvfs); // finished in zfs 228 zfsvfs_t *zfsvfs; local 276 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 387 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 589 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 846 zfsvfs_t *zfsvfs = arg; local 936 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 971 zfsvfs_t *zfsvfs = zdp->z_zfsvfs; local 1068 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1242 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1413 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1510 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 1620 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1812 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1848 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1926 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2281 zfsvfs_t *zfsvfs = sdzp->z_zfsvfs; local 2504 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2622 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2670 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 2797 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2913 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 2976 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3058 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3201 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3334 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3470 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3508 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3558 zfsvfs_t *zfsvfs; local 3611 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 3626 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_dir.c | 83 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 171 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 187 error = zfs_zget(zfsvfs, zoid, zpp); 248 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 254 zfsvfs->z_parent != zfsvfs) { 255 error = zfsctl_root_lookup(zfsvfs->z_parent->z_ctldir, 260 error = zfs_zget(zfsvfs, dzp->z_phys->zp_parent, &zp); 311 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 318 error = zap_add(zfsvfs->z_os, zfsvfs->z_dqueue 339 zfsvfs_t *zfsvfs = dzp->z_zfsvfs; local 448 zfsvfs_t *zfsvfs = arg; local 558 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 774 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 824 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| zfs_ctldir.c | 178 zfsctl_create(zfsvfs_t *zfsvfs) 183 ASSERT(zfsvfs->z_ctldir == NULL); 185 vp = gfs_root_create(sizeof (zfsctl_node_t), zfsvfs->z_vfs, 191 VERIFY(VFS_ROOT(zfsvfs->z_vfs, &rvp) == 0); 202 zfsvfs->z_ctldir = vp; 211 zfsctl_destroy(zfsvfs_t *zfsvfs) 213 VN_RELE(zfsvfs->z_ctldir); 214 zfsvfs->z_ctldir = NULL; 300 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 306 ZFS_ENTER(zfsvfs); 350 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 370 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 599 zfsvfs_t *zfsvfs = dvp->v_vfsp->vfs_data; local 717 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 762 zfsvfs_t *zfsvfs = vp->v_vfsp->vfs_data; local 878 zfsvfs_t *zfsvfs = vfsp->vfs_data; local 932 zfsvfs_t *zfsvfs = vfsp->vfs_data; local [all...] |
| zfs_acl.c | 405 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 425 aoid = dmu_object_alloc(zfsvfs->z_os, 428 (void) dmu_object_set_blocksize(zfsvfs->z_os, aoid, 433 dmu_write(zfsvfs->z_os, aoid, 0, 440 error = dmu_object_free(zfsvfs->z_os, 763 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 791 if (zfsvfs->z_acl_mode == ZFS_ACL_DISCARD) { 823 if (zfsvfs->z_acl_mode == ZFS_ACL_GROUPMASK) { 903 zfs_securemode_update(zfsvfs_t *zfsvfs, ace_t *acep) 905 if ((zfsvfs->z_acl_inherit == ZFS_ACL_SECURE) & 916 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1153 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local 1253 zfsvfs_t *zfsvfs = zp->z_zfsvfs; local [all...] |
| /loficc/crypto/usr/src/uts/common/fs/zfs/sys/ |
| zfs_znode.h | 136 struct zfsvfs *z_zfsvfs; 190 #define ZFS_ENTER(zfsvfs) \ 192 atomic_add_32(&(zfsvfs)->z_op_cnt, 1); \ 193 if ((zfsvfs)->z_unmounted1) { \ 194 ZFS_EXIT(zfsvfs); \ 198 #define ZFS_EXIT(zfsvfs) atomic_add_32(&(zfsvfs)->z_op_cnt, -1) 206 #define ZFS_OBJ_HOLD_ENTER(zfsvfs, obj_num) \ 207 mutex_enter(&zfsvfs->z_hold_mtx[ZFS_OBJ_HASH(obj_num)]); 209 #define ZFS_OBJ_HOLD_EXIT(zfsvfs, obj_num) [all...] |
| zfs_vfsops.h | 54 typedef struct zfsvfs zfsvfs_t; 56 struct zfsvfs { struct
|