Home
last modified time | relevance | path

Searched refs:txgoff (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode_sync.c45 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection() local
48 int new_level = dn->dn_next_nlevels[txgoff]; in dnode_increase_indirection()
559 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free() local
570 dnode_undirty_dbufs(&dn->dn_dirty_records[txgoff]); in dnode_sync_free()
584 dn->dn_next_nlevels[txgoff] = 0; in dnode_sync_free()
585 dn->dn_next_indblkshift[txgoff] = 0; in dnode_sync_free()
586 dn->dn_next_blksz[txgoff] = 0; in dnode_sync_free()
587 dn->dn_next_maxblkid[txgoff] = 0; in dnode_sync_free()
625 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync() local
626 list_t *list = &dn->dn_dirty_records[txgoff]; in dnode_sync()
[all …]
H A Dvdev_removal.c549 int txgoff = (txg + i) & TXG_MASK; in free_from_removing_vdev() local
550 if (size > 0 && offset < svr->svr_max_offset_to_sync[txgoff]) { in free_from_removing_vdev()
556 svr->svr_max_offset_to_sync[txgoff] - offset); in free_from_removing_vdev()
570 if (svr->svr_max_offset_to_sync[txgoff] != 0) { in free_from_removing_vdev()
571 ASSERT3U(svr->svr_max_offset_to_sync[txgoff], in free_from_removing_vdev()
574 svr->svr_max_offset_to_sync[txgoff]; in free_from_removing_vdev()
589 range_tree_add(svr->svr_frees[txgoff], in free_from_removing_vdev()
605 ASSERT3U(svr->svr_bytes_done[txgoff], >=, in free_from_removing_vdev()
607 svr->svr_bytes_done[txgoff] -= inflight_size; in free_from_removing_vdev()
1705 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in svr_sync() local
[all …]
H A Ddnode.c1804 uint64_t txgoff = tx->tx_txg & TXG_MASK; in dnode_set_nlevels_impl() local
1814 ASSERT3U(new_nlevels, >, dn->dn_next_nlevels[txgoff]); in dnode_set_nlevels_impl()
1815 dn->dn_next_nlevels[txgoff] = new_nlevels; in dnode_set_nlevels_impl()
1826 list = &dn->dn_dirty_records[txgoff]; in dnode_set_nlevels_impl()
1828 dr_next = list_next(&dn->dn_dirty_records[txgoff], dr); in dnode_set_nlevels_impl()
1833 list_remove(&dn->dn_dirty_records[txgoff], dr); in dnode_set_nlevels_impl()
2214 int txgoff = tx->tx_txg & TXG_MASK; in dnode_free_range() local
2215 if (dn->dn_free_ranges[txgoff] == NULL) { in dnode_free_range()
2216 dn->dn_free_ranges[txgoff] = range_tree_create(NULL, in dnode_free_range()
2219 range_tree_clear(dn->dn_free_ranges[txgoff], blkid, nblks); in dnode_free_range()
[all …]
H A Ddmu_recv.c1073 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in save_resume_state() local
1095 ASSERT3U(object, >=, rwa->os->os_dsl_dataset->ds_resume_object[txgoff]); in save_resume_state()
1096 ASSERT(object != rwa->os->os_dsl_dataset->ds_resume_object[txgoff] || in save_resume_state()
1097 offset >= rwa->os->os_dsl_dataset->ds_resume_offset[txgoff]); in save_resume_state()
1099 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff]); in save_resume_state()
1101 rwa->os->os_dsl_dataset->ds_resume_object[txgoff] = object; in save_resume_state()
1102 rwa->os->os_dsl_dataset->ds_resume_offset[txgoff] = offset; in save_resume_state()
1103 rwa->os->os_dsl_dataset->ds_resume_bytes[txgoff] = rwa->bytes_read; in save_resume_state()
H A Ddmu_objset.c1667 int txgoff; in dmu_objset_sync() local
1741 txgoff = tx->tx_txg & TXG_MASK; in dmu_objset_sync()
1753 offsetof(dnode_t, dn_dirty_link[txgoff]), in dmu_objset_sync()
1757 offsetof(dnode_t, dn_dirty_link[txgoff])); in dmu_objset_sync()
1762 i < multilist_get_num_sublists(os->os_dirty_dnodes[txgoff]); i++) { in dmu_objset_sync()
1764 sda->sda_list = os->os_dirty_dnodes[txgoff]; in dmu_objset_sync()
1773 list = &DMU_META_DNODE(os)->dn_dirty_records[txgoff]; in dmu_objset_sync()
H A Dvdev_indirect.c570 int txgoff = dmu_tx_get_txg(tx) & TXG_MASK; in spa_condense_indirect_commit_entry() local
576 if (list_is_empty(&sci->sci_new_mapping_entries[txgoff])) { in spa_condense_indirect_commit_entry()
586 list_insert_tail(&sci->sci_new_mapping_entries[txgoff], vime); in spa_condense_indirect_commit_entry()
H A Ddbuf.c1687 int txgoff = tx->tx_txg & TXG_MASK; in dbuf_dirty() local
1862 if (dn->dn_free_ranges[txgoff] != NULL) { in dbuf_dirty()
1863 range_tree_clear(dn->dn_free_ranges[txgoff], in dbuf_dirty()
1883 list_insert_tail(&dn->dn_dirty_records[txgoff], dr); in dbuf_dirty()
1913 dn->dn_next_nlevels[txgoff] > db->db_level || in dbuf_dirty()
1966 list_insert_tail(&dn->dn_dirty_records[txgoff], dr); in dbuf_dirty()