Searched refs:dmu_tx_t (Results 1 - 25 of 82) sorted by relevance

1234

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddmu_tx.h101 dmu_tx_t *txh_tx;
126 dmu_tx_t *dmu_tx_create(objset_t *dd);
127 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
128 void dmu_tx_commit(dmu_tx_t *tx);
129 void dmu_tx_abort(dmu_tx_t *tx);
130 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
131 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx);
132 void dmu_tx_wait(dmu_tx_t *tx);
134 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func,
141 extern dmu_tx_t *dmu_tx_create_assigne
[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 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_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 Dzfs_sa.h129 void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *);
130 void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *);
132 void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *);
133 void zfs_sa_uprade_pre(struct sa_handle *, void *, dmu_tx_t *);
134 void zfs_sa_upgrade_post(struct sa_handle *, void *, dmu_tx_t *);
135 void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *);
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_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 *t
[all...]
H A Dzap.h135 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
137 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
140 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
142 uint64_t parent_obj, const char *name, dmu_tx_t *tx);
148 zap_flags_t flags, dmu_tx_t *tx);
155 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
158 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
170 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx);
237 const void *val, dmu_tx_t *tx);
240 const void *val, dmu_tx_t *t
[all...]
H A Dbplist.h45 typedef int bplist_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
51 void *arg, dmu_tx_t *tx);
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,
60 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 Dsa.h116 typedef void (sa_update_cb_t)(sa_handle_t *, dmu_tx_t *tx);
127 uint32_t buflen, dmu_tx_t *);
128 int sa_remove(sa_handle_t *, sa_attr_type_t, dmu_tx_t *);
131 int sa_bulk_update(sa_handle_t *, sa_bulk_attr_t *, int count, dmu_tx_t *);
134 uint32_t buflen, sa_data_locator_t *, void *userdata, dmu_tx_t *);
146 int, dmu_tx_t *);
148 int, dmu_tx_t *);
H A Ddmu.h79 typedef struct dmu_tx dmu_tx_t; typedef in typeref:struct:dmu_tx
282 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg);
347 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
349 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
351 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);
369 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx);
397 int ibs, dmu_tx_t *tx);
404 dmu_tx_t *tx);
411 dmu_tx_t *tx);
416 int compressed_size, int byteorder, dmu_tx_t *t
[all...]
H A Ddsl_dataset.h257 dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *);
259 uint64_t flags, dmu_tx_t *tx);
276 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
277 void dsl_dataset_sync_done(dsl_dataset_t *os, dmu_tx_t *tx);
280 dmu_tx_t *tx);
282 dmu_tx_t *tx, boolean_t async);
287 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
317 dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx);
319 dsl_dataset_t *origin_head, dmu_tx_t *tx);
321 dmu_tx_t *t
[all...]
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 Ddbuf.h277 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx);
280 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
304 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx);
305 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx);
306 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx);
307 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx);
308 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
312 int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx);
316 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
318 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *t
[all...]
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 Ddnode.h279 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
280 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
281 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
290 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
291 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
293 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
295 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
296 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
300 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
301 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *t
[all...]
H A Dzfs_znode.h307 dmu_tx_t *tx);
310 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *);
317 extern void zfs_znode_delete(znode_t *, dmu_tx_t *);
326 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
331 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
334 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
336 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
338 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
340 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
342 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *t
[all...]
H A Ddsl_deleg.h70 void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
73 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
H A Ddmu_impl.h308 void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *);
309 void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *);
H A Ddmu_objset.h171 void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx);
174 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx);
178 void dmu_objset_do_userquota_updates(objset_t *os, dmu_tx_t *tx);
179 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx);
H A Ddsl_scan.h127 void dsl_scan_sync(struct dsl_pool *, dmu_tx_t *);
134 ddt_entry_t *dde, dmu_tx_t *tx);
H A Dzfs_fuid.h116 void zfs_fuid_sync(zfsvfs_t *, dmu_tx_t *);
120 extern void zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dddt_zap.c37 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash)
52 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx)
90 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
103 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
H A Ddsl_synctask.c37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx)
71 dmu_tx_t *tx;
122 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx)
143 dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx)

Completed in 189 milliseconds

1234