Home
last modified time | relevance | path

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

123456

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap.h131 int dnodesize, dmu_tx_t *tx);
138 int dnodesize, dmu_tx_t *tx);
153 dmu_tx_t *tx);
249 const void *val, dmu_tx_t *tx);
252 const void *val, dmu_tx_t *tx);
255 const void *val, dmu_tx_t *tx);
297 matchtype_t mt, dmu_tx_t *tx);
328 uint64_t value, dmu_tx_t *tx);
332 dmu_tx_t *tx);
342 dmu_tx_t *tx);
[all …]
H A Ddmu_tx.h99 dmu_tx_t *txh_tx;
144 dmu_tx_t *dmu_tx_create(objset_t *dd);
145 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
146 void dmu_tx_commit(dmu_tx_t *tx);
147 void dmu_tx_abort(dmu_tx_t *tx);
148 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
149 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx);
150 void dmu_tx_wait(dmu_tx_t *tx);
160 dmu_tx_t *dmu_tx_create_dd(dsl_dir_t *dd);
161 int dmu_tx_is_syncing(dmu_tx_t *tx);
[all …]
H A Ddmu.h420 dmu_tx_t *tx);
470 dmu_tx_t *tx);
484 int ibs, dmu_tx_t *tx);
492 dmu_tx_t *tx);
499 dmu_tx_t *tx);
506 dmu_tx_t *tx);
512 dmu_tx_t *tx);
877 dmu_tx_t *tx);
883 dmu_tx_t *tx);
885 dmu_tx_t *tx);
[all …]
H A Ddsl_dataset.h309 dmu_tx_t *ddrsa_tx;
362 struct dsl_crypto_params *, dmu_tx_t *);
368 void dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx);
387 dmu_tx_t *tx);
389 dmu_tx_t *tx, boolean_t async);
459 dsl_dataset_t *origin_head, dmu_tx_t *tx);
463 dmu_tx_t *tx);
466 dmu_tx_t *tx);
493 dmu_tx_t *tx);
495 dmu_tx_t *tx);
[all …]
H A Ddsl_deadlist.h95 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx);
96 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx);
98 boolean_t free, dmu_tx_t *tx);
99 int dsl_deadlist_insert_alloc_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
100 int dsl_deadlist_insert_free_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
101 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx);
104 dmu_tx_t *tx);
108 uint64_t mrs_obj, dmu_tx_t *tx);
114 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx);
116 dmu_tx_t *tx);
[all …]
H A Ddsl_dir.h149 const char *name, dmu_tx_t *tx);
168 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx);
169 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx);
172 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx);
173 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx);
177 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx);
180 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx);
194 uint64_t reservation, cred_t *cr, dmu_tx_t *tx);
195 void dsl_dir_snap_cmtime_update(dsl_dir_t *dd, dmu_tx_t *tx);
198 dmu_tx_t *tx);
[all …]
H A Dbpobj.h73 dmu_tx_t *tx);
75 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx);
76 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx);
77 void bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx);
78 void bpobj_decr_empty(objset_t *os, dmu_tx_t *tx);
84 int bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx);
89 void bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx);
92 dmu_tx_t *tx);
101 dmu_tx_t *tx);
H A Dzfs_znode.h267 dmu_tx_t *tx);
270 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *);
280 extern void zfs_znode_delete(znode_t *, dmu_tx_t *);
303 extern void zfs_log_rename_exchange(zilog_t *zilog, dmu_tx_t *tx,
306 extern void zfs_log_rename_whiteout(zilog_t *zilog, dmu_tx_t *tx,
309 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
312 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype,
314 extern void zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype,
316 extern void zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp,
321 extern void zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, 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 *);
40 typedef void (dsl_sigfunc_t)(void *, dmu_tx_t *);
112 void dsl_sync_task_sync(dsl_sync_task_t *, dmu_tx_t *);
116 void *, dmu_tx_t *);
120 void *, dmu_tx_t *);
H A Ddsl_bookmark.h123 int dsl_bookmark_create_check(void *arg, dmu_tx_t *tx);
124 void dsl_bookmark_create_sync(void *arg, dmu_tx_t *tx);
144 boolean_t dsl_bookmark_ds_destroyed(dsl_dataset_t *, dmu_tx_t *);
145 void dsl_bookmark_snapshotted(dsl_dataset_t *, dmu_tx_t *);
146 void dsl_bookmark_block_killed(dsl_dataset_t *, const blkptr_t *, dmu_tx_t *);
147 void dsl_bookmark_sync_done(dsl_dataset_t *, dmu_tx_t *);
148 void dsl_bookmark_node_add(dsl_dataset_t *, dsl_bookmark_node_t *, dmu_tx_t *);
152 void dsl_bookmark_next_changed(dsl_dataset_t *, dsl_dataset_t *, dmu_tx_t *);
H A Ddbuf.h351 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx);
353 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
381 void dmu_buf_will_clone(dmu_buf_t *db, dmu_tx_t *tx);
382 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx);
386 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
388 dmu_tx_t *tx);
389 boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
396 const struct zio_prop *zp, zio_flag_t flags, dmu_tx_t *tx);
398 void dmu_buf_redact(dmu_buf_t *dbuf, dmu_tx_t *tx);
402 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx);
[all …]
H A Ddsl_destroy.h49 void dsl_dir_remove_clones_key(dsl_dir_t *, uint64_t, dmu_tx_t *);
56 int dsl_destroy_snapshot_check(void *, dmu_tx_t *);
57 void dsl_destroy_snapshot_sync(void *, dmu_tx_t *);
63 int dsl_destroy_head_check(void *, dmu_tx_t *);
64 void dsl_destroy_head_sync(void *, dmu_tx_t *);
H A Dsa.h120 typedef void (sa_update_cb_t)(sa_handle_t *, dmu_tx_t *tx);
131 uint32_t buflen, dmu_tx_t *);
132 int sa_remove(sa_handle_t *, sa_attr_type_t, dmu_tx_t *);
135 int sa_bulk_update(sa_handle_t *, sa_bulk_attr_t *, int count, dmu_tx_t *);
150 int, dmu_tx_t *);
152 int, dmu_tx_t *);
163 int sa_add_projid(sa_handle_t *, dmu_tx_t *, uint64_t);
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 Ddsl_pool.h167 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
172 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
173 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
174 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx);
190 const char *tag, uint64_t now, dmu_tx_t *tx);
192 const char *tag, dmu_tx_t *tx);
198 void dsl_pool_create_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
199 void dsl_pool_destroy_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
H A Ddnode.h425 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
426 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
427 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
438 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
439 void dnode_set_dirtyctx(dnode_t *dn, dmu_tx_t *tx, const void *tag);
440 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
445 boolean_t keep_spill, dmu_tx_t *tx);
446 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
450 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx);
451 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
[all …]
H A Dspace_map.h216 dmu_tx_t *tx);
221 dmu_tx_t *tx);
230 uint64_t vdev_id, dmu_tx_t *tx);
233 void space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx);
234 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx);
235 void space_map_free(space_map_t *sm, dmu_tx_t *tx);
236 void space_map_free_obj(objset_t *os, uint64_t smobj, dmu_tx_t *tx);
H A Ddsl_crypt.h196 nvlist_t *nvl, dmu_tx_t *tx);
198 nvlist_t *nvl, dmu_tx_t *tx);
206 dmu_tx_t *tx);
211 struct dsl_dataset *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx);
213 dmu_tx_t *tx);
214 uint64_t dsl_crypto_key_clone_sync(dsl_dir_t *origindd, dmu_tx_t *tx);
215 void dsl_crypto_key_destroy_sync(uint64_t dckobj, dmu_tx_t *tx);
H A Dzfs_sa.h137 void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *);
139 void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *);
142 void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *);
143 void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *);
H A Dzap_impl.h201 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx,
221 const void *val, const void *tag, dmu_tx_t *tx);
224 const void *tag, dmu_tx_t *tx);
227 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx);
234 const void *val, uint32_t cd, const void *tag, dmu_tx_t *tx);
235 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
H A Dddt_impl.h41 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx,
43 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx);
52 dmu_tx_t *tx);
54 const ddt_key_t *ddk, dmu_tx_t *tx);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_tx.c63 dmu_tx_t *
66 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd()
78 dmu_tx_t *
86 dmu_tx_t *
100 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing()
106 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok()
439 dmu_tx_t *tx = txh->txh_tx; in dmu_tx_count_free()
575 dmu_tx_t *tx = txh->txh_tx; in dmu_tx_hold_zap_impl()
1224 dmu_tx_wait(dmu_tx_t *tx) in dmu_tx_wait()
1353 dmu_tx_abort(dmu_tx_t *tx) in dmu_tx_abort()
[all …]
H A Ddmu_object.c49 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_impl()
227 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc()
236 dmu_tx_t *tx) in dmu_object_alloc_ibs()
244 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_dnsize()
266 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim()
275 int dnodesize, dmu_tx_t *tx) in dmu_object_claim_dnsize()
313 boolean_t keep_spill, dmu_tx_t *tx) in dmu_object_reclaim_dnsize()
338 dmu_object_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_rm_spill()
360 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free()
459 dmu_tx_t *tx) in dmu_object_zapify()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_dir.h55 extern int zfs_drop_nlink(znode_t *, dmu_tx_t *, boolean_t *);
56 extern int zfs_link_create(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int);
57 extern int zfs_link_destroy(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int,
61 extern void zfs_mknode(znode_t *, vattr_t *, dmu_tx_t *, cred_t *,
66 extern void zfs_unlinked_add(znode_t *, dmu_tx_t *);
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_dir.h52 extern int zfs_link_create(znode_t *, const char *, znode_t *, dmu_tx_t *, int);
53 extern int zfs_link_destroy(znode_t *, const char *, znode_t *, dmu_tx_t *, int,
56 extern void zfs_mknode(znode_t *, vattr_t *, dmu_tx_t *, cred_t *,
60 extern void zfs_unlinked_add(znode_t *, dmu_tx_t *);

123456