Home
last modified time | relevance | path

Searched refs:os_spa (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dbuf.h51 ? spa_name(DB_DNODE(db)->dn_objset->os_spa) : "NULL"
54 __string(os_spa, DBUF_TP_STRUCT_ENTRY_OS_SPA) \
66 __assign_str_impl(os_spa, DBUF_TP_STRUCT_ENTRY_OS_SPA); \
78 __assign_str_impl(os_spa, DBUF_TP_STRUCT_ENTRY_OS_SPA); \
94 __get_str(os_spa), __entry->ds_object, \
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_direct.c156 ASSERT3U(txg, >, spa_last_synced_txg(os->os_spa)); in dmu_write_direct()
157 ASSERT3U(txg, >, spa_syncing_txg(os->os_spa)); in dmu_write_direct()
195 zio_t *zio = zio_write(pio, os->os_spa, txg, bp, data, in dmu_write_direct()
213 spa_t *spa = dn->dn_objset->os_spa; in dmu_write_abd()
252 spa_t *spa = os->os_spa; in dmu_read_abd()
H A Dvdev_indirect_mapping.c316 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
325 if (spa_feature_is_enabled(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS)) { in vdev_indirect_mapping_alloc()
335 spa_feature_incr(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS, tx); in vdev_indirect_mapping_alloc()
379 spa_feature_decr(os->os_spa, SPA_FEATURE_OBSOLETE_COUNTS, tx); in vdev_indirect_mapping_free()
417 ASSERT(spa_feature_is_active(vim->vim_objset->os_spa, in vdev_indirect_mapping_add_entries()
H A Ddmu_objset.c114 return (os->os_spa); in dmu_objset_spa()
131 return (spa_get_dsl(os->os_spa)); in dmu_objset_pool()
201 os->os_compress = zio_compress_select(os->os_spa, in compression_changed_cb()
203 os->os_complevel = zio_complevel_select(os->os_spa, os->os_compress, in compression_changed_cb()
216 ASSERT(newval <= spa_max_replication(os->os_spa)); in copies_changed_cb()
225 spa_t *spa = os->os_spa; in dedup_changed_cb()
445 vdev_t *rvd = os->os_spa->spa_root_vdev; in dmu_os_is_l2cacheable()
493 os->os_spa = spa; in dmu_objset_open_impl()
802 err = arc_untransform((*osp)->os_phys_buf, (*osp)->os_spa, in dmu_objset_own_impl()
1020 spa_evicting_os_register(os->os_spa, os); in dmu_objset_evict()
[all …]
H A Ddmu.c471 if (spa_version(dn->dn_objset->os_spa) < SPA_VERSION_SA) { in dmu_spill_hold_existing()
562 zio = zio_root(dn->dn_objset->os_spa, NULL, NULL, in dmu_buf_hold_array_by_dnode()
621 zfs_racct_write(dn->dn_objset->os_spa, length, nblks, flags); in dmu_buf_hold_array_by_dnode()
1748 return (arc_loan_buf(db->db_objset->os_spa, B_FALSE, size)); in dmu_request_arcbuf()
1814 zfs_racct_write(os->os_spa, blksz, 1, 0); in dmu_assign_arcbuf_by_dnode()
2036 zio_nowait(zio_write(pio, os->os_spa, dmu_tx_get_txg(tx), zgd->zgd_bp, in dmu_sync_late_arrival()
2094 if (txg > spa_freeze_txg(os->os_spa)) in dmu_sync()
2105 if (txg <= spa_last_synced_txg(os->os_spa)) { in dmu_sync()
2113 if (txg <= spa_syncing_txg(os->os_spa)) { in dmu_sync()
2205 zio_nowait(arc_write(pio, os->os_spa, txg, zgd->zgd_bp, in dmu_sync()
[all …]
H A Ddbuf.c649 vdev_t *rvd = db->db_objset->os_spa->spa_root_vdev; in dbuf_is_l2cacheable()
678 vdev_t *rvd = dn->dn_objset->os_spa->spa_root_vdev; in dnode_level_is_l2cacheable()
1271 spa_t *spa = db->db_objset->os_spa; in dbuf_alloc_arcbuf()
1288 spa_t *spa = db->db_objset->os_spa; in dbuf_loan_arcbuf()
1563 err = arc_untransform(dnbuf, os->os_spa, &zb, B_TRUE); in dbuf_read_verify_dnode_crypt()
1632 spa_log_error(db->db_objset->os_spa, &zb, in dbuf_read_impl()
1664 return (arc_read(zio, db->db_objset->os_spa, &copy, in dbuf_read_impl()
1720 spa_t *spa = db->db_objset->os_spa; in dbuf_fix_old_data()
1823 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
1849 spa_t *spa = dn->dn_objset->os_spa; in dbuf_read()
[all …]
H A Ddbuf_stats.c83 spa_name(dn->dn_objset->os_spa), in __dbuf_stats_hash_table_data()
H A Dbptree.c233 err = traverse_dataset_destroyed(os->os_spa, &bte.be_bp, in bptree_iterate()
H A Ddmu_redact.c568 dmu_tx_t *tx = dmu_tx_create_dd(spa_get_dsl(os->os_spa)->dp_mos_dir); in commit_rl_updates()
982 dsl_pool_t *dp = spa_get_dsl(os->os_spa); in perform_redaction()
1163 rmta->spa = os->os_spa; in dmu_redact_snap()
H A Ddmu_recv.c1487 err = spa_keystore_lookup_key(rwa->os->os_spa, in do_corrective_recv()
1501 spa_keystore_dsl_key_rele(rwa->os->os_spa, dck, FTAG); in do_corrective_recv()
1522 io = zio_rewrite(NULL, rwa->os->os_spa, BP_GET_LOGICAL_BIRTH(bp), bp, in do_corrective_recv()
1543 cb_data->spa = rwa->os->os_spa; in do_corrective_recv()
1547 err = zio_wait(zio_read(rwa->heal_pio, rwa->os->os_spa, bp, in do_corrective_recv()
3350 err = dsl_crypto_recv_raw(spa_name(drc->drc_os->os_spa), in dmu_recv_stream()
3405 rwa->heal_pio = zio_root(drc->drc_os->os_spa, NULL, NULL, in dmu_recv_stream()
H A Ddmu_zfetch.c473 spa_t *spa = zf->zf_dnode->dn_objset->os_spa; in dmu_zfetch_prepare()
H A Ddmu_tx.c259 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_write()
328 zio_t *zio = zio_root(dn->dn_objset->os_spa, in dmu_tx_count_append()
H A Dzfs_sa.c259 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
H A Ddnode.c1455 ASSERT(spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 || in dnode_hold_impl()
1456 (spa_is_root(os->os_spa) && in dnode_hold_impl()
1457 spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))); in dnode_hold_impl()
2510 if (spa_version(dn->dn_objset->os_spa) < SPA_VERSION_DNODE_BYTES) { in dnode_diduse_space()
H A Ddsl_deleg.c774 return (!!spa_delegation(os->os_spa)); in dsl_delegation_on()
H A Dzil.c1275 spa_config_enter(os->os_spa, SCL_STATE, FTAG, RW_READER); in zil_check_log_chain()
1276 vd = vdev_lookup_top(os->os_spa, DVA_GET_VDEV(&bp->blk_dva[0])); in zil_check_log_chain()
1279 spa_config_exit(os->os_spa, SCL_STATE, FTAG); in zil_check_log_chain()
1306 spa_min_claim_txg(os->os_spa), B_FALSE); in zil_check_log_chain()
H A Ddmu_send.c1649 int arc_err = arc_read(NULL, os->os_spa, bp, in issue_data_read()
1661 zio_nowait(zio_read(NULL, os->os_spa, bp, srdp->abd, in issue_data_read()
2405 err = arc_untransform(os->os_phys_buf, os->os_spa, in dmu_send_impl()
H A Ddnode_sync.c163 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
H A Dzfs_replay.c1035 ASSERT(spa_feature_is_active(zfsvfs->z_os->os_spa, in zfs_replay_setsaxattr()
H A Dzvol.c1311 zv->zv_objset->os_spa->spa_zvol_taskq, in zvol_remove_minors_impl()
H A Dzfs_ioctl.c2619 if (!spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_prop_set_special()
6305 taskq_wait_id(zfsvfs->z_os->os_spa->spa_upgrade_taskq, in zfs_ioc_userspace_upgrade()
6331 taskq_wait_id(os->os_spa->spa_upgrade_taskq, os->os_upgrade_id); in zfs_ioc_userspace_upgrade()
6372 taskq_wait_id(os->os_spa->spa_upgrade_taskq, os->os_upgrade_id); in zfs_ioc_id_quota_upgrade()
/freebsd/sys/contrib/openzfs/include/sys/
H A Ddmu_objset.h105 spa_t *os_spa; member
H A Ddnode.h471 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c613 spa_t *spa = zfsvfs->z_os->os_spa; in zfsctl_destroy()
1296 snap_zfsvfs->z_os->os_spa, dmu_objset_id(snap_zfsvfs->z_os), in zfsctl_snapshot_mount()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2980 dsl_pool_t *dp = spa_get_dsl(os->os_spa); in dump_bookmarks()
2981 objset_t *mos = os->os_spa->spa_meta_objset; in dump_bookmarks()
3112 dsl_pool_t *dp = spa_get_dsl(os->os_spa); in verify_dd_livelist()
3217 dp = spa_get_dsl(os->os_spa); in zdb_load_key()
4140 refdbytes = dsl_dir_phys(os->os_spa->spa_dsl_pool->dp_mos_dir)-> in dump_objset()
5484 objset_t *mos = os->os_spa->spa_meta_objset; in dump_one_objset()

12