/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_dbuf.h | 51 ? 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 D | dmu_direct.c | 156 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 D | vdev_indirect_mapping.c | 316 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 D | dmu_objset.c | 114 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 D | dmu.c | 471 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 D | dbuf.c | 649 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, ©, 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 D | dbuf_stats.c | 83 spa_name(dn->dn_objset->os_spa), in __dbuf_stats_hash_table_data()
|
H A D | bptree.c | 233 err = traverse_dataset_destroyed(os->os_spa, &bte.be_bp, in bptree_iterate()
|
H A D | dmu_redact.c | 568 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 D | dmu_recv.c | 1487 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 D | dmu_zfetch.c | 473 spa_t *spa = zf->zf_dnode->dn_objset->os_spa; in dmu_zfetch_prepare()
|
H A D | dmu_tx.c | 259 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 D | zfs_sa.c | 259 if (spa_feature_is_enabled(zfsvfs->z_os->os_spa, in zfs_sa_set_xattr()
|
H A D | dnode.c | 1455 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 D | dsl_deleg.c | 774 return (!!spa_delegation(os->os_spa)); in dsl_delegation_on()
|
H A D | zil.c | 1275 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 D | dmu_send.c | 1649 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 D | dnode_sync.c | 163 if (spa_feature_is_active(dn->dn_objset->os_spa, in free_blocks()
|
H A D | zfs_replay.c | 1035 ASSERT(spa_feature_is_active(zfsvfs->z_os->os_spa, in zfs_replay_setsaxattr()
|
H A D | zvol.c | 1311 zv->zv_objset->os_spa->spa_zvol_taskq, in zvol_remove_minors_impl()
|
H A D | zfs_ioctl.c | 2619 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 D | dmu_objset.h | 105 spa_t *os_spa; member
|
H A D | dnode.h | 471 ((_dn)->dn_dirty_txg >= spa_syncing_txg((_dn)->dn_objset->os_spa))
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_ctldir.c | 613 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 D | zdb.c | 2980 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()
|