Home
last modified time | relevance | path

Searched refs:z_os (Results 1 – 16 of 16) sorted by relevance

/titanic_50/usr/src/uts/common/fs/zev/
H A Dzev_callbacks.c75 if (zfsvfs->z_os->os_dsl_dataset->ds_is_snapshot) in zev_zfs_mount_cb()
77 if (zev_skip_pool(zfsvfs->z_os)) in zev_zfs_mount_cb()
95 tx = dmu_tx_create(zfsvfs->z_os); in zev_zfs_mount_cb()
114 rec->guid = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_zfs_mount_cb()
140 if (zfsvfs->z_os->os_dsl_dataset->ds_is_snapshot) in zev_zfs_umount_cb()
142 if (zev_skip_pool(zfsvfs->z_os)) in zev_zfs_umount_cb()
148 tx = dmu_tx_create(zfsvfs->z_os); in zev_zfs_umount_cb()
165 rec->guid = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_zfs_umount_cb()
255 if (zev_skip_pool(zp->z_zfsvfs->z_os)) in zev_znode_close_after_update_cb()
268 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_znode_close_after_update_cb()
[all …]
H A Dzev_checksums.c144 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_chksum_cache_file_get_and_hold()
153 dsl_dataset_phys(zp->z_zfsvfs->z_os->os_dsl_dataset)->ds_guid; in zev_chksum_cache_file_get_and_hold()
341 objset_t *os = zp->z_zfsvfs->z_os; in mappedread()
379 objset_t *os = zp->z_zfsvfs->z_os; in zev_safe_read()
632 zp->z_zfsvfs->z_os-> in zev_get_checksums()
H A Dzev.c480 dsl_dir_t *d = fs->z_os->os_dsl_dataset->ds_dir; in zev_skip_fs()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c160 dp = dmu_objset_pool(zfsvfs->z_os); in zfs_sync()
277 ASSERT3U(newval, <=, spa_maxblocksize(dmu_objset_spa(zfsvfs->z_os))); in blksz_changed_cb()
446 os = zfsvfs->z_os; in zfs_register_callbacks()
705 if (!dmu_objset_userspace_present(zfsvfs->z_os)) in zfs_userspace_many()
714 for (zap_cursor_init_serialized(&zc, zfsvfs->z_os, obj, *cookiep); in zfs_userspace_many()
767 if (!dmu_objset_userspace_present(zfsvfs->z_os)) in zfs_userspace_one()
778 err = zap_lookup(zfsvfs->z_os, obj, buf, 8, 1, valp); in zfs_userspace_one()
808 tx = dmu_tx_create(zfsvfs->z_os); in zfs_set_userquota()
824 *objp = zap_create(zfsvfs->z_os, DMU_OT_USERGROUP_QUOTA, in zfs_set_userquota()
826 VERIFY(0 == zap_add(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_set_userquota()
[all …]
H A Dzfs_dir.c86 error = zap_lookup_norm(zfsvfs->z_os, dzp->z_id, name, 8, 1, in zfs_match_find()
91 error = zap_lookup(zfsvfs->z_os, dzp->z_id, name, 8, 1, zoid); in zfs_match_find()
459 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp->z_id, tx)); in zfs_unlinked_add()
478 for (zap_cursor_init(&zc, zfsvfs->z_os, zfsvfs->z_unlinkedobj); in zfs_unlinked_drain()
486 error = dmu_object_info(zfsvfs->z_os, in zfs_unlinked_drain()
537 for (zap_cursor_init(&zc, zfsvfs->z_os, dzp->z_id); in zfs_purgedir()
550 tx = dmu_tx_create(zfsvfs->z_os); in zfs_purgedir()
586 objset_t *os = zfsvfs->z_os; in zfs_rmnode()
678 zap_remove_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp->z_id, tx)); in zfs_rmnode()
763 error = zap_add(zp->z_zfsvfs->z_os, dzp->z_id, dl->dl_name, in zfs_link_create()
[all …]
H A Dzfs_fuid.c210 (void) zap_lookup(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_fuid_init()
213 zfsvfs->z_fuid_size = zfs_fuid_table_load(zfsvfs->z_os, in zfs_fuid_init()
247 zfsvfs->z_fuid_obj = dmu_object_alloc(zfsvfs->z_os, in zfs_fuid_sync()
250 VERIFY(zap_add(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_fuid_sync()
279 dmu_write(zfsvfs->z_os, zfsvfs->z_fuid_obj, 0, in zfs_fuid_sync()
282 VERIFY(0 == dmu_bonus_hold(zfsvfs->z_os, zfsvfs->z_fuid_obj, in zfs_fuid_sync()
H A Dzfs_znode.c508 error = zap_add(zfsvfs->z_os, MASTER_NODE_OBJ, in zfs_create_share_dir()
589 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp, in zfs_znode_sa_init()
812 VERIFY0(zap_create_claim_norm(zfsvfs->z_os, obj, in zfs_mknode()
816 obj = zap_create_norm(zfsvfs->z_os, in zfs_mknode()
822 VERIFY0(dmu_object_claim(zfsvfs->z_os, obj, in zfs_mknode()
826 obj = dmu_object_alloc(zfsvfs->z_os, in zfs_mknode()
833 VERIFY(0 == sa_buf_hold(zfsvfs->z_os, obj, NULL, &db)); in zfs_mknode()
896 VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, NULL, SA_HDL_SHARED, in zfs_mknode()
1118 err = sa_buf_hold(zfsvfs->z_os, obj_num, NULL, &db); in zfs_zget()
1209 err = sa_buf_hold(zfsvfs->z_os, obj_num, NULL, &db); in zfs_rezget()
[all …]
H A Dzfs_vnops.c284 error = dmu_offset_next(zp->z_zfsvfs->z_os, zp->z_id, hole, &noff); in zfs_holey()
372 error = dmu_object_wait_synced(zfsvfs->z_os, zp->z_id); in zfs_ioctl()
381 error = dmu_object_info(zfsvfs->z_os, zp->z_id, &doi); in zfs_ioctl()
565 if (ioflag & FRSYNC || zfsvfs->z_os->os_sync == ZFS_SYNC_ALWAYS) in zfs_read()
874 tx = dmu_tx_create(zfsvfs->z_os); in zfs_write()
934 dmu_write(zfsvfs->z_os, zp->z_id, woff, in zfs_write()
948 tx_bytes, zfsvfs->z_os, zp->z_id); in zfs_write()
1034 zfsvfs->z_os->os_sync == ZFS_SYNC_ALWAYS) in zfs_write()
1045 objset_t *os = zp->z_zfsvfs->z_os; in zfs_get_done()
1075 objset_t *os = zfsvfs->z_os; in zfs_get_data()
[all …]
H A Dzfs_ctldir.c517 objset_t *os = ((zfsvfs_t *)((vp)->v_vfsp->vfs_data))->z_os; in zfsctl_snapshot_zname()
632 err = dmu_snapshot_realname(zfsvfs->z_os, snm, real, in zfsctl_snapdir_rename()
644 dmu_objset_name(zfsvfs->z_os, fsname); in zfsctl_snapdir_rename()
698 err = dmu_snapshot_realname(zfsvfs->z_os, name, real, in zfsctl_snapdir_remove()
753 dmu_objset_name(zfsvfs->z_os, name); in zfsctl_snapdir_mkdir()
822 err = dmu_snapshot_realname(zfsvfs->z_os, nm, real, in zfsctl_snapdir_lookup()
995 dsl_pool_config_enter(dmu_objset_pool(zfsvfs->z_os), FTAG); in zfsctl_snapdir_readdir_cb()
996 error = dmu_snapshot_list_next(zfsvfs->z_os, in zfsctl_snapdir_readdir_cb()
998 dsl_pool_config_exit(dmu_objset_pool(zfsvfs->z_os), FTAG); in zfsctl_snapdir_readdir_cb()
1131 vap->va_ctime = vap->va_mtime = dmu_objset_snap_cmtime(zfsvfs->z_os); in zfsctl_snapdir_getattr()
H A Dzfs_sa.c84 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id, in zfs_sa_readlink()
110 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os, in zfs_sa_symlink()
309 VERIFY(0 == dmu_object_free(zfsvfs->z_os, in zfs_sa_upgrade()
H A Dzfs_acl.c1112 error = dmu_read(zp->z_zfsvfs->z_os, in zfs_acl_node_read()
1257 error = dmu_object_free(zfsvfs->z_os, aoid, tx); in zfs_aclset_common()
1263 aoid = dmu_object_alloc(zfsvfs->z_os, in zfs_aclset_common()
1270 (void) dmu_object_set_blocksize(zfsvfs->z_os, in zfs_aclset_common()
1278 dmu_write(zfsvfs->z_os, aoid, off, in zfs_aclset_common()
1288 error = dmu_object_free(zfsvfs->z_os, in zfs_aclset_common()
1966 tx = dmu_tx_create(zfsvfs->z_os); in zfs_setacl()
H A Dzfs_replay.c319 error = dmu_object_info(zfsvfs->z_os, lr->lr_foid, NULL); in zfs_replay_create_acl()
446 error = dmu_object_info(zfsvfs->z_os, lr->lr_foid, NULL); in zfs_replay_create()
707 dmu_tx_t *tx = dmu_tx_create(zfsvfs->z_os); in zfs_replay_write2()
H A Dzfs_ioctl.c1480 dmu_objset_disown(zfsvfs->z_os, zfsvfs); in zfsvfs_rele()
3486 ASSERT(!dsl_pool_config_held(dmu_objset_pool(zfsvfs->z_os))); in zfs_unmount_snap()
4867 if (!dmu_objset_userused_enabled(zfsvfs->z_os)) { in zfs_ioc_userspace_upgrade()
4875 dmu_objset_refresh_ownership(zfsvfs->z_os, in zfs_ioc_userspace_upgrade()
4881 error = dmu_objset_userspace_upgrade(zfsvfs->z_os); in zfs_ioc_userspace_upgrade()
5136 for (zap_cursor_init(&zc, zfsvfs->z_os, dzp->z_id); in zfs_smb_acl_purge()
5185 tx = dmu_tx_create(zfsvfs->z_os); in zfs_ioc_smb_acl()
H A Dzfs_log.c521 if (write_state == WR_COPIED && dmu_read(zp->z_zfsvfs->z_os, in zfs_log_write()
/titanic_50/usr/src/uts/common/fs/getgen/
H A Dgetgen.c74 ds_phys = dsl_dataset_phys(zfsvfs->z_os->os_dsl_dataset); in gg_ioc_get_gen()
77 dsl_dataset_name(zfsvfs->z_os->os_dsl_dataset, gg.dataset); in gg_ioc_get_gen()
84 osp = zfsvfs->z_os; in gg_ioc_get_gen()
/titanic_50/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_vfsops.h47 objset_t *z_os; /* objset reference */ member