Home
last modified time | relevance | path

Searched refs:dmu_tx_t (Results 1 – 25 of 86) sorted by relevance

1234

/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_tx.h102 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 Dzap.h134 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 Dzfs_events.h22 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 Ddmu.h77 typedef struct dmu_tx dmu_tx_t; typedef
276 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg);
338 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
340 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
342 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);
360 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx);
388 int ibs, dmu_tx_t *tx);
395 dmu_tx_t *tx);
402 dmu_tx_t *tx);
407 int compressed_size, int byteorder, dmu_tx_t *tx);
[all …]
H A Dbpobj.h68 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 Ddsl_dir.h133 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 Ddsl_deadlist.h67 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 Ddsl_dataset.h261 dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *);
263 uint64_t flags, dmu_tx_t *tx);
274 void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
281 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
284 dmu_tx_t *tx);
286 dmu_tx_t *tx, boolean_t async);
291 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
321 dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx);
323 dsl_dataset_t *origin_head, dmu_tx_t *tx);
325 dmu_tx_t *tx, boolean_t recv, uint64_t cnt, cred_t *cr);
[all …]
H A Dzfs_sa.h130 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 Dzfs_znode.h287 dmu_tx_t *tx);
290 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *);
297 extern void zfs_znode_delete(znode_t *, dmu_tx_t *);
307 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
312 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
315 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
317 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
319 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
322 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
324 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype,
[all …]
H A Dsa.h115 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 Ddnode.h274 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 Dbptree.h49 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 Ddbuf.h268 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 Ddsl_synctask.h38 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 Dzfs_dir.h54 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 Ddsl_pool.h144 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 Dspace_map.h140 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 Dzap_impl.h198 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx,
219 const void *val, dmu_tx_t *tx);
221 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
224 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx);
231 const void *val, uint32_t cd, dmu_tx_t *tx);
232 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_events.c92 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 Ddmu_tx.c42 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
46 dmu_tx_t *
49 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd()
65 dmu_tx_t *
68 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create()
74 dmu_tx_t *
77 dmu_tx_t *tx = dmu_tx_create_dd(NULL); in dmu_tx_create_assigned()
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()
[all …]
H A Ddmu_object.c36 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 Ddsl_deadlist.c146 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 Dzfeature.c296 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 Dzap.c74 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 …]

1234