/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | dmu_tx.h | 102 dmu_tx_t *txh_tx; 127 dmu_tx_t *dmu_tx_create(objset_t *dd); 128 int dmu_tx_assign(dmu_tx_t *tx, txg_how_t txg_how); 129 void dmu_tx_commit(dmu_tx_t *tx); 130 void dmu_tx_abort(dmu_tx_t *tx); 131 uint64_t dmu_tx_get_txg(dmu_tx_t *tx); 132 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx); 133 void dmu_tx_wait(dmu_tx_t *tx); 135 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func, 142 extern dmu_tx_t *dmu_tx_create_assigned(struct dsl_pool *dp, uint64_t txg); [all …]
|
H A D | zap.h | 134 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 136 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 139 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 141 uint64_t parent_obj, const char *name, dmu_tx_t *tx); 147 zap_flags_t flags, dmu_tx_t *tx); 154 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 157 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 169 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx); 230 const void *val, dmu_tx_t *tx); 233 const void *val, dmu_tx_t *tx); [all …]
|
H A D | zfs_events.h | 22 dmu_tx_t *tx, uint64_t off, uint64_t len); 24 dmu_tx_t *tx, uint64_t off, uint64_t len); 28 dmu_tx_t *tx, char *name, uint64_t txmode); 30 dmu_tx_t *tx, char *name, uint64_t txmode); 32 dmu_tx_t *tx, char *name); 34 dmu_tx_t *tx, char *name, char *link); 37 dmu_tx_t *tx); 39 dmu_tx_t *tx, uint64_t off, 41 typedef void (*rz_zev_znode_truncate_cb_t)(znode_t *zp, dmu_tx_t *tx, 43 typedef void (*rz_zev_znode_setattr_cb_t)(znode_t *zp, dmu_tx_t *tx); [all …]
|
H A D | dmu.h | 79 typedef struct dmu_tx dmu_tx_t; typedef 278 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg); 341 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 343 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 345 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp); 363 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx); 391 int ibs, dmu_tx_t *tx); 398 dmu_tx_t *tx); 405 dmu_tx_t *tx); 410 int compressed_size, int byteorder, dmu_tx_t *tx); [all …]
|
H A D | bpobj.h | 68 typedef int bpobj_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 70 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx); 71 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx); 72 void bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx); 73 void bpobj_decr_empty(objset_t *os, dmu_tx_t *tx); 78 int bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx); 79 int bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *, dmu_tx_t *); 81 void bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx); 82 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
|
H A D | dsl_dir.h | 133 const char *name, dmu_tx_t *tx); 137 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx); 138 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx); 141 dmu_tx_t *tx); 142 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx); 143 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx); 145 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx); 147 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx); 155 void dsl_fs_ss_count_adjust(dsl_dir_t *, int64_t, const char *, dmu_tx_t *); 161 uint64_t reservation, cred_t *cr, dmu_tx_t *tx); [all …]
|
H A D | dsl_deadlist.h | 67 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx); 68 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx); 69 void dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx); 70 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 71 void dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 73 uint64_t mrs_obj, dmu_tx_t *tx); 79 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx); 81 dmu_tx_t *tx);
|
H A D | dsl_dataset.h | 262 dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *); 264 uint64_t flags, dmu_tx_t *tx); 275 void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx); 282 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx); 285 dmu_tx_t *tx); 287 dmu_tx_t *tx, boolean_t async); 292 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx); 322 dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx); 324 dsl_dataset_t *origin_head, dmu_tx_t *tx); 326 dmu_tx_t *tx, boolean_t recv, uint64_t cnt, cred_t *cr); [all …]
|
H A D | zfs_sa.h | 130 void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *); 131 void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *); 133 void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *); 134 void zfs_sa_uprade_pre(struct sa_handle *, void *, dmu_tx_t *); 135 void zfs_sa_upgrade_post(struct sa_handle *, void *, dmu_tx_t *); 136 void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *);
|
H A D | zfs_znode.h | 288 dmu_tx_t *tx); 291 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); 298 extern void zfs_znode_delete(znode_t *, dmu_tx_t *); 308 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 313 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 316 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 318 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 320 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 323 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, 325 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, [all …]
|
H A D | sa.h | 115 typedef void (sa_update_cb_t)(sa_handle_t *, dmu_tx_t *tx); 126 uint32_t buflen, dmu_tx_t *); 127 int sa_remove(sa_handle_t *, sa_attr_type_t, dmu_tx_t *); 130 int sa_bulk_update(sa_handle_t *, sa_bulk_attr_t *, int count, dmu_tx_t *); 133 uint32_t buflen, sa_data_locator_t *, void *userdata, dmu_tx_t *); 145 int, dmu_tx_t *); 147 int, dmu_tx_t *);
|
H A D | dnode.h | 274 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx); 275 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx); 276 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx); 285 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); 286 void dnode_sync(dnode_t *dn, dmu_tx_t *tx); 288 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 290 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 291 void dnode_free(dnode_t *dn, dmu_tx_t *tx); 295 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx); 296 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx); [all …]
|
H A D | bptree.h | 49 typedef int bptree_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 51 uint64_t bptree_alloc(objset_t *os, dmu_tx_t *tx); 52 int bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx); 56 uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx); 59 bptree_itor_t func, void *arg, dmu_tx_t *tx);
|
H A D | dbuf.h | 268 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx); 271 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 295 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx); 296 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx); 297 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx); 298 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx); 299 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 303 int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx); 308 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 310 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx); [all …]
|
H A D | dsl_synctask.h | 38 typedef int (dsl_checkfunc_t)(void *, dmu_tx_t *); 39 typedef void (dsl_syncfunc_t)(void *, dmu_tx_t *); 83 void dsl_sync_task_sync(dsl_sync_task_t *, dmu_tx_t *); 87 void *, int, zfs_space_check_t, dmu_tx_t *);
|
H A D | zfs_dir.h | 54 extern int zfs_link_create(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int); 55 extern int zfs_link_destroy(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int, 59 extern void zfs_mknode(znode_t *, vattr_t *, dmu_tx_t *, cred_t *, 64 extern void zfs_unlinked_add(znode_t *, dmu_tx_t *);
|
H A D | dsl_pool.h | 144 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx); 149 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx); 150 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx); 151 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx); 164 const char *tag, uint64_t now, dmu_tx_t *tx); 166 const char *tag, dmu_tx_t *tx);
|
H A D | space_map.h | 140 dmu_tx_t *tx); 149 dmu_tx_t *tx); 150 void space_map_truncate(space_map_t *sm, dmu_tx_t *tx); 151 uint64_t space_map_alloc(objset_t *os, dmu_tx_t *tx); 152 void space_map_free(space_map_t *sm, dmu_tx_t *tx);
|
H A D | zap_impl.h | 199 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, 220 const void *val, dmu_tx_t *tx); 222 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx); 225 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx); 232 const void *val, uint32_t cd, dmu_tx_t *tx); 233 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zfs_events.c | 92 RZ_COUNTER_CB(zvol_truncate, char *dataset, objset_t *os, dmu_tx_t *tx, 94 RZ_COUNTER_CB(zvol_write, char *dataset, objset_t *os, dmu_tx_t *tx, 99 dmu_tx_t *tx, char *name, uint64_t txmode) 101 dmu_tx_t *tx, char *name, uint64_t txmode) 102 RZ_COUNTER_CB(znode_link, znode_t *dzp, znode_t *zp, dmu_tx_t *tx, char *name) 104 dmu_tx_t *tx, char *name, char *link) 107 znode_t *tzp, dmu_tx_t *tx) 108 RZ_COUNTER_CB(znode_write, znode_t *zp, dmu_tx_t *tx, 110 RZ_COUNTER_CB(znode_truncate, znode_t *zp, dmu_tx_t *tx, 112 RZ_COUNTER_CB(znode_setattr, znode_t *zp, dmu_tx_t *tx) [all …]
|
H A D | dmu_tx.c | 43 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn, 47 dmu_tx_t * 50 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() 66 dmu_tx_t * 69 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create() 75 dmu_tx_t * 78 dmu_tx_t *tx = dmu_tx_create_dd(NULL); in dmu_tx_create_assigned() 89 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 95 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 101 dmu_tx_hold_object_impl(dmu_tx_t *tx, objset_t *os, uint64_t object, in dmu_tx_hold_object_impl() [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_deadlist.c | 147 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) in dsl_deadlist_alloc() 156 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) in dsl_deadlist_free() 183 const blkptr_t *bp, dmu_tx_t *tx) in dle_enqueue() 199 uint64_t obj, dmu_tx_t *tx) in dle_enqueue_subobj() 214 dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx) in dsl_deadlist_insert() 249 dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_add_key() 273 dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_remove_key() 301 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_regenerate() 325 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_clone() 419 dmu_tx_t *tx) in dsl_deadlist_insert_bpobj() [all …]
|
H A D | zfeature.c | 297 dmu_tx_t *tx) in feature_sync() 331 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) in feature_enable_sync() 376 dmu_tx_t *tx) in feature_do_action() 410 spa_feature_create_zap_objects(spa_t *spa, dmu_tx_t *tx) in spa_feature_create_zap_objects() 434 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_enable() 442 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_incr() 448 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_decr()
|
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 …]
|