Searched refs:txgoff (Results 1 – 9 of 9) sorted by relevance
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | dnode_sync.c | 36 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection() local 39 int new_level = dn->dn_next_nlevels[txgoff]; in dnode_increase_indirection() 554 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free() local 565 dnode_undirty_dbufs(&dn->dn_dirty_records[txgoff]); in dnode_sync_free() 579 dn->dn_next_nlevels[txgoff] = 0; in dnode_sync_free() 580 dn->dn_next_indblkshift[txgoff] = 0; in dnode_sync_free() 581 dn->dn_next_blksz[txgoff] = 0; in dnode_sync_free() 582 dn->dn_next_maxblkid[txgoff] = 0; in dnode_sync_free() 639 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free_ranges() local 642 zfs_range_tree_t *rt = dn->dn_free_ranges[txgoff]; in dnode_sync_free_ranges() [all …]
|
| H A D | vdev_removal.c | 757 int txgoff = (txg + i) & TXG_MASK; in free_from_removing_vdev() local 758 if (size > 0 && offset < svr->svr_max_offset_to_sync[txgoff]) { in free_from_removing_vdev() 764 svr->svr_max_offset_to_sync[txgoff] - offset); in free_from_removing_vdev() 778 if (svr->svr_max_offset_to_sync[txgoff] != 0) { in free_from_removing_vdev() 779 ASSERT3U(svr->svr_max_offset_to_sync[txgoff], in free_from_removing_vdev() 782 svr->svr_max_offset_to_sync[txgoff]; in free_from_removing_vdev() 797 zfs_range_tree_add(svr->svr_frees[txgoff], in free_from_removing_vdev() 813 ASSERT3U(svr->svr_bytes_done[txgoff], >=, in free_from_removing_vdev() 815 svr->svr_bytes_done[txgoff] -= inflight_size; in free_from_removing_vdev() 2066 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in svr_sync() local [all …]
|
| H A D | dnode.c | 2001 uint64_t txgoff = tx->tx_txg & TXG_MASK; in dnode_set_nlevels_impl() local 2012 ASSERT3U(new_nlevels, >, dn->dn_next_nlevels[txgoff]); in dnode_set_nlevels_impl() 2013 dn->dn_next_nlevels[txgoff] = new_nlevels; in dnode_set_nlevels_impl() 2024 list = &dn->dn_dirty_records[txgoff]; in dnode_set_nlevels_impl() 2026 dr_next = list_next(&dn->dn_dirty_records[txgoff], dr); in dnode_set_nlevels_impl() 2033 list_remove(&dn->dn_dirty_records[txgoff], dr); in dnode_set_nlevels_impl() 2412 int txgoff = tx->tx_txg & TXG_MASK; in dnode_free_range() local 2415 if (dn->dn_free_ranges[txgoff] == NULL) { in dnode_free_range() 2416 dn->dn_free_ranges[txgoff] = in dnode_free_range() 2421 zfs_range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks); in dnode_free_range() [all …]
|
| H A D | vdev_raidz.c | 4164 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in raidz_reflow_sync() local 4171 ASSERT3U(vre->vre_offset_pertxg[txgoff], >=, old_offset); in raidz_reflow_sync() 4175 MIN(vre->vre_offset_pertxg[txgoff], vre->vre_failed_offset); in raidz_reflow_sync() 4191 vre->vre_offset_pertxg[txgoff] = 0; in raidz_reflow_sync() 4195 vre->vre_bytes_copied += vre->vre_bytes_copied_pertxg[txgoff]; in raidz_reflow_sync() 4196 vre->vre_bytes_copied_pertxg[txgoff] = 0; in raidz_reflow_sync() 4382 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in raidz_reflow_record_progress() local 4393 if (vre->vre_offset_pertxg[txgoff] == 0) { in raidz_reflow_record_progress() 4397 vre->vre_offset_pertxg[txgoff] = offset; in raidz_reflow_record_progress() 4507 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in raidz_reflow_impl() local [all …]
|
| H A D | dsl_pool.c | 1030 uint64_t txgoff = tx->tx_txg & TXG_MASK; in dsl_pool_dirty_mos_space() local 1033 dp->dp_sync_reserve_pertxg[txgoff]); in dsl_pool_dirty_mos_space() 1034 dp->dp_sync_reserve_pertxg[txgoff] -= resv; in dsl_pool_dirty_mos_space() 1037 dp->dp_dirty_pertxg[txgoff] += space; in dsl_pool_dirty_mos_space()
|
| H A D | dmu_objset.c | 1597 int txgoff = tx->tx_txg & TXG_MASK; in sync_meta_dnode_task() local 1602 list_t *list = &DMU_META_DNODE(os)->dn_dirty_records[txgoff]; in sync_meta_dnode_task() 1629 int txgoff; in dmu_objset_sync() local 1703 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync() 1712 offsetof(dnode_t, dn_dirty_link[txgoff]), in dmu_objset_sync() 1716 offsetof(dnode_t, dn_dirty_link[txgoff])); in dmu_objset_sync() 1731 ml = &os->os_dirty_dnodes[txgoff]; in dmu_objset_sync()
|
| H A D | dmu_recv.c | 1699 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in save_resume_state() local 1721 rwa->os->os_dsl_dataset->ds_resume_object[txgoff]) in save_resume_state() 1745 ASSERT3U(object, >=, rwa->os->os_dsl_dataset->ds_resume_object[txgoff]); in save_resume_state() 1746 ASSERT(object != rwa->os->os_dsl_dataset->ds_resume_object[txgoff] || in save_resume_state() 1747 offset >= rwa->os->os_dsl_dataset->ds_resume_offset[txgoff]); in save_resume_state() 1749 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff]); in save_resume_state() 1751 rwa->os->os_dsl_dataset->ds_resume_object[txgoff] = object; in save_resume_state() 1752 rwa->os->os_dsl_dataset->ds_resume_offset[txgoff] = offset; in save_resume_state() 1753 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff] = bytes; in save_resume_state()
|
| H A D | vdev_indirect.c | 569 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in spa_condense_indirect_commit_entry() local 575 if (list_is_empty(&sci->sci_new_mapping_entries[txgoff])) { in spa_condense_indirect_commit_entry() 584 list_insert_tail(&sci->sci_new_mapping_entries[txgoff], vime); in spa_condense_indirect_commit_entry()
|
| H A D | dbuf.c | 2264 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty_lightweight() local 2276 if (dn->dn_free_ranges[txgoff] != NULL) { in dbuf_dirty_lightweight() 2277 zfs_range_tree_clear(dn->dn_free_ranges[txgoff], blkid, 1); in dbuf_dirty_lightweight() 2282 list_insert_tail(&dn->dn_dirty_records[txgoff], dr); in dbuf_dirty_lightweight() 2325 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty() local 2462 if (dn->dn_free_ranges[txgoff] != NULL) { in dbuf_dirty() 2464 zfs_range_tree_clear(dn->dn_free_ranges[txgoff], in dbuf_dirty() 2484 list_insert_tail(&dn->dn_dirty_records[txgoff], dr); in dbuf_dirty() 2514 dn->dn_next_nlevels[txgoff] > db->db_level || in dbuf_dirty() 2567 list_insert_tail(&dn->dn_dirty_records[txgoff], dr); in dbuf_dirty()
|