/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 49 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() local 68 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create() local 77 dmu_tx_t *tx = dmu_tx_create_dd(NULL); in dmu_tx_create_assigned() local 88 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 94 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 100 dmu_tx_hold_object_impl(dmu_tx_t *tx, objset_t *os, uint64_t object, in dmu_tx_hold_object_impl() 142 dmu_tx_add_new_object(dmu_tx_t *tx, objset_t *os, uint64_t object) in dmu_tx_add_new_object() 410 dmu_tx_hold_write(dmu_tx_t *tx, uint64_t object, uint64_t off, int len) in dmu_tx_hold_write() 605 dmu_tx_mark_netfree(dmu_tx_t *tx) in dmu_tx_mark_netfree() 623 dmu_tx_hold_free(dmu_tx_t *tx, uint64_t object, uint64_t off, uint64_t len) in dmu_tx_hold_free() [all …]
|
H A D | txg.c | 119 tx_state_t *tx = &dp->dp_tx; in txg_init() local 157 tx_state_t *tx = &dp->dp_tx; in txg_fini() local 195 tx_state_t *tx = &dp->dp_tx; in txg_sync_start() local 220 txg_thread_enter(tx_state_t *tx, callb_cpr_t *cpr) in txg_thread_enter() 227 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) in txg_thread_exit() 238 txg_thread_wait(tx_state_t *tx, callb_cpr_t *cpr, kcondvar_t *cv, clock_t time) in txg_thread_wait() 257 tx_state_t *tx = &dp->dp_tx; in txg_sync_stop() local 294 tx_state_t *tx = &dp->dp_tx; in txg_hold_open() local 355 tx_state_t *tx = &dp->dp_tx; in txg_quiesce() local 411 tx_state_t *tx = &dp->dp_tx; in txg_dispatch_callbacks() local [all …]
|
H A D | dsl_deadlist.c | 146 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) in dsl_deadlist_alloc() 155 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) in dsl_deadlist_free() 182 const blkptr_t *bp, dmu_tx_t *tx) in dle_enqueue() 198 uint64_t obj, dmu_tx_t *tx) in dle_enqueue_subobj() 213 dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx) in dsl_deadlist_insert() 248 dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_add_key() 272 dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_remove_key() 300 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_regenerate() 324 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_clone() 418 dmu_tx_t *tx) in dsl_deadlist_insert_bpobj() [all …]
|
H A D | zap.c | 74 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) in fzap_upgrade() 129 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) in zap_tryupgradedir() 147 dmu_tx_t *tx) in zap_table_grow() 222 dmu_tx_t *tx) in zap_table_store() 321 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) in zap_grow_ptrtbl() 373 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) in zap_increment_num_entries() 402 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) in zap_create_leaf() 499 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, in zap_get_leaf_byblk() 557 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) in zap_set_idx_to_blk() 572 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) in zap_deref_leaf() [all …]
|
H A D | dmu_object.c | 36 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() 97 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim() 117 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_reclaim() 137 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free() 184 dmu_tx_t *tx) in dmu_object_zapify() 209 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) in dmu_object_free_zapified()
|
H A D | dsl_pool.c | 343 dmu_tx_t *tx = dmu_tx_create_assigned(dp, txg); in dsl_pool_create() local 425 deadlist_enqueue_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in deadlist_enqueue_cb() 433 dsl_pool_sync_mos(dsl_pool_t *dp, dmu_tx_t *tx) in dsl_pool_sync_mos() 464 dmu_tx_t *tx; in dsl_pool_sync() local 647 dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx) in dsl_pool_dirty_space() 679 dmu_tx_t *tx = arg; in upgrade_clones_cb() local 755 dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx) in dsl_pool_upgrade_clones() 768 dmu_tx_t *tx = arg; in upgrade_dir_clones_cb() local 794 dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx) in dsl_pool_upgrade_dir_clones() 819 dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx) in dsl_pool_create_origin() [all …]
|
H A D | dsl_synctask.c | 37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) in dsl_null_checkfunc() 71 dmu_tx_t *tx; in dsl_sync_task() local 122 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) in dsl_sync_task_nowait() 143 dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx) in dsl_sync_task_sync()
|
H A D | bpobj.c | 37 bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx) in bpobj_alloc_empty() 61 bpobj_decr_empty(objset_t *os, dmu_tx_t *tx) in bpobj_decr_empty() 77 bpobj_alloc(objset_t *os, int blocksize, dmu_tx_t *tx) in bpobj_alloc() 93 bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bpobj_free() 203 bpobj_iterate_impl(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx, in bpobj_iterate_impl() 358 bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate() 367 bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx) in bpobj_iterate_nofree() 373 bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx) in bpobj_enqueue_subobj() 457 bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx) in bpobj_enqueue() 531 space_range_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in space_range_cb()
|
H A D | dsl_destroy.c | 88 dsl_destroy_snapshot_check(void *arg, dmu_tx_t *tx) in dsl_destroy_snapshot_check() 143 process_old_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in process_old_cb() 169 dsl_dataset_t *ds_next, boolean_t after_branch_point, dmu_tx_t *tx) in process_old_deadlist() 206 dsl_dataset_remove_clones_key(dsl_dataset_t *ds, uint64_t mintxg, dmu_tx_t *tx) in dsl_dataset_remove_clones_key() 238 dsl_destroy_snapshot_sync_impl(dsl_dataset_t *ds, boolean_t defer, dmu_tx_t *tx) in dsl_destroy_snapshot_sync_impl() 474 dsl_destroy_snapshot_sync(void *arg, dmu_tx_t *tx) in dsl_destroy_snapshot_sync() 546 dmu_tx_t *tx; member 555 dmu_tx_t *tx = ka->tx; in kill_blkptr() local 578 old_synchronous_dataset_destroy(dsl_dataset_t *ds, dmu_tx_t *tx) in old_synchronous_dataset_destroy() 648 dsl_destroy_head_check(void *arg, dmu_tx_t *tx) in dsl_destroy_head_check() [all …]
|
H A D | dsl_scan.c | 167 dsl_scan_setup_check(void *arg, dmu_tx_t *tx) in dsl_scan_setup_check() 178 dsl_scan_setup_sync(void *arg, dmu_tx_t *tx) in dsl_scan_setup_sync() 248 dsl_scan_done(dsl_scan_t *scn, boolean_t complete, dmu_tx_t *tx) in dsl_scan_done() 328 dsl_scan_cancel_check(void *arg, dmu_tx_t *tx) in dsl_scan_cancel_check() 339 dsl_scan_cancel_sync(void *arg, dmu_tx_t *tx) in dsl_scan_cancel_sync() 384 dsl_scan_sync_state(dsl_scan_t *scn, dmu_tx_t *tx) in dsl_scan_sync_state() 608 const zbookmark_phys_t *zb, dmu_tx_t *tx) in dsl_scan_recurse() 707 uint64_t object, dmu_tx_t *tx) in dsl_scan_visitdnode() 736 dmu_objset_type_t ostype, dmu_tx_t *tx) in dsl_scan_visitbp() 792 dmu_tx_t *tx) in dsl_scan_visit_rootbp() [all …]
|
H A D | zfeature.c | 296 dmu_tx_t *tx) in feature_sync() 330 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) in feature_enable_sync() 375 dmu_tx_t *tx) in feature_do_action() 409 spa_feature_create_zap_objects(spa_t *spa, dmu_tx_t *tx) in spa_feature_create_zap_objects() 433 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_enable() 441 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_incr() 447 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_decr()
|
H A D | spa_history.c | 85 spa_history_create_obj(spa_t *spa, dmu_tx_t *tx) in spa_history_create_obj() 150 dmu_tx_t *tx) in spa_history_write() 198 spa_history_log_sync(void *arg, dmu_tx_t *tx) in spa_history_log_sync() 303 dmu_tx_t *tx; in spa_history_log_nvl() local 435 dmu_tx_t *tx, const char *fmt, va_list adx) in log_internal() 468 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal() 493 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal_ds() 512 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal_dd()
|
H A D | dsl_dir.c | 515 dsl_dir_init_fs_ss_count(dsl_dir_t *dd, dmu_tx_t *tx) in dsl_dir_init_fs_ss_count() 601 dsl_dir_actv_fs_ss_limit_check(void *arg, dmu_tx_t *tx) in dsl_dir_actv_fs_ss_limit_check() 632 dsl_dir_actv_fs_ss_limit_sync(void *arg, dmu_tx_t *tx) in dsl_dir_actv_fs_ss_limit_sync() 842 dmu_tx_t *tx) in dsl_fs_ss_count_adjust() 895 dmu_tx_t *tx) in dsl_dir_create_sync() 1001 dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx) in dsl_dir_dirty() 1023 dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx) in dsl_dir_sync() 1129 dmu_tx_t *tx, boolean_t first) in dsl_dir_tempreserve_impl() 1250 uint64_t fsize, uint64_t usize, void **tr_cookiep, dmu_tx_t *tx) in dsl_dir_tempreserve_space() 1308 dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx) in dsl_dir_tempreserve_clear() [all …]
|
H A D | zfs_log.c | 234 zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, in zfs_log_create() 352 zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, in zfs_log_remove() 376 zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, in zfs_log_link() 404 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, in zfs_log_symlink() 441 zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, in zfs_log_rename() 476 zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, in zfs_log_write() 560 zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, in zfs_log_truncate() 590 zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype, in zfs_log_setattr() 652 zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp, in zfs_log_acl()
|
H A D | dnode_sync.c | 40 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection() 120 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) in free_blocks() 161 free_verify(dmu_buf_impl_t *db, uint64_t start, uint64_t end, dmu_tx_t *tx) in free_verify() 240 dmu_tx_t *tx) in free_children() 323 dmu_tx_t *tx) in dnode_sync_free_range_impl() 485 dnode_sync_free(dnode_t *dn, dmu_tx_t *tx) in dnode_sync_free() 546 dnode_sync(dnode_t *dn, dmu_tx_t *tx) in dnode_sync()
|
H A D | ddt_zap.c | 38 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash) in ddt_zap_create() 53 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) in ddt_zap_destroy() 91 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_update() 104 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_remove()
|
H A D | zfs_sa.c | 95 zfs_sa_symlink(znode_t *zp, char *link, int len, dmu_tx_t *tx) in zfs_sa_symlink() 156 zfs_sa_set_scanstamp(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) in zfs_sa_set_scanstamp() 195 zfs_sa_upgrade(sa_handle_t *hdl, dmu_tx_t *tx) in zfs_sa_upgrade() 319 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) in zfs_sa_upgrade_txholds()
|
H A D | dsl_dataset.c | 103 dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx) in dsl_dataset_block_born() 143 dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx, in dsl_dataset_block_kill() 357 dsl_dataset_snap_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx, in dsl_dataset_snap_remove() 756 dsl_dataset_activate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) in dsl_dataset_activate_feature() 772 dsl_dataset_deactivate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) in dsl_dataset_deactivate_feature() 785 uint64_t flags, dmu_tx_t *tx) in dsl_dataset_create_sync_dd() 894 dsl_dataset_zero_zil(dsl_dataset_t *ds, dmu_tx_t *tx) in dsl_dataset_zero_zil() 905 dsl_dataset_t *origin, uint64_t flags, cred_t *cr, dmu_tx_t *tx) in dsl_dataset_create_sync() 988 dmu_tx_t *tx) in dsl_dataset_remove_from_next_clones() 1022 dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx) in dsl_dataset_set_blkptr() [all …]
|
H A D | dsl_userhold.c | 52 boolean_t temphold, dmu_tx_t *tx) in dsl_dataset_user_hold_check_one() 82 dsl_dataset_user_hold_check(void *arg, dmu_tx_t *tx) in dsl_dataset_user_hold_check() 135 const char *htag, minor_t minor, uint64_t now, dmu_tx_t *tx) in dsl_dataset_user_hold_sync_one_impl() 239 minor_t minor, uint64_t now, dmu_tx_t *tx) in dsl_dataset_user_hold_sync_one() 252 dsl_dataset_user_hold_sync(void *arg, dmu_tx_t *tx) in dsl_dataset_user_hold_sync() 422 dsl_dataset_user_release_check(void *arg, dmu_tx_t *tx) in dsl_dataset_user_release_check() 474 dmu_tx_t *tx) in dsl_dataset_user_release_sync_one() 498 dsl_dataset_user_release_sync(void *arg, dmu_tx_t *tx) in dsl_dataset_user_release_sync()
|
H A D | bptree.c | 61 bptree_alloc(objset_t *os, dmu_tx_t *tx) in bptree_alloc() 89 bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) in bptree_free() 121 uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx) in bptree_add() 187 void *arg, dmu_tx_t *tx) in bptree_iterate()
|
H A D | dsl_bookmark.c | 115 dmu_tx_t *tx) in dsl_bookmark_create_check_impl() 147 dsl_bookmark_create_check(void *arg, dmu_tx_t *tx) in dsl_bookmark_create_check() 180 dsl_bookmark_create_sync(void *arg, dmu_tx_t *tx) in dsl_bookmark_create_sync() 338 dsl_dataset_bookmark_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx) in dsl_dataset_bookmark_remove() 353 dsl_bookmark_destroy_check(void *arg, dmu_tx_t *tx) in dsl_bookmark_destroy_check() 404 dsl_bookmark_destroy_sync(void *arg, dmu_tx_t *tx) in dsl_bookmark_destroy_sync()
|
H A D | space_map.c | 159 space_map_histogram_add(space_map_t *sm, range_tree_t *rt, dmu_tx_t *tx) in space_map_histogram_add() 238 dmu_tx_t *tx) in space_map_write() 399 space_map_truncate(space_map_t *sm, dmu_tx_t *tx) in space_map_truncate() 463 space_map_alloc(objset_t *os, dmu_tx_t *tx) in space_map_alloc() 485 space_map_free(space_map_t *sm, dmu_tx_t *tx) in space_map_free()
|
H A D | zap_micro.c | 451 zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, in zap_lockdir() 531 mzap_upgrade(zap_t **zapp, dmu_tx_t *tx, zap_flags_t flags) in mzap_upgrade() 582 dmu_tx_t *tx) in mzap_create_impl() 616 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim() 625 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim_norm() 638 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create() 645 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_norm() 656 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_flags() 673 zap_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx) in zap_destroy() 980 const void *val, dmu_tx_t *tx) in zap_add() [all …]
|
/titanic_41/usr/src/uts/common/fs/zev/ |
H A D | zev_callbacks.c | 55 dmu_tx_t *tx; in zev_zfs_mount_cb() local 131 dmu_tx_t *tx; in zev_zfs_umount_cb() local 180 dmu_tx_t *tx, in zev_zvol_truncate_cb() 213 dmu_tx_t *tx, in zev_zvol_write_cb() 272 dmu_tx_t *tx, in zev_znode_create_cb() 340 dmu_tx_t *tx, in zev_znode_remove_cb() 394 zev_znode_link_cb(znode_t *dzp, znode_t *zp, dmu_tx_t *tx, char *name) in zev_znode_link_cb() 428 dmu_tx_t *tx, in zev_znode_symlink_cb() 473 dmu_tx_t *tx) in zev_znode_rename_cb() 515 zev_znode_write_cb(znode_t *zp, dmu_tx_t *tx, uint64_t off, uint64_t len) in zev_znode_write_cb() [all …]
|
/titanic_41/usr/src/cmd/refer/ |
H A D | tick.c | 32 struct tbuffer tx; in tick() local 44 struct tbuffer tx; in tock() local
|