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

123

/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddmu_tx.h84 dmu_tx_t *txh_tx;
109 dmu_tx_t *dmu_tx_create(objset_t *dd);
110 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
111 void dmu_tx_commit(dmu_tx_t *tx);
112 void dmu_tx_abort(dmu_tx_t *tx);
113 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
114 void dmu_tx_wait(dmu_tx_t *tx);
116 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func,
123 extern dmu_tx_t *dmu_tx_create_assigned(struct dsl_pool *dp, uint64_t txg);
128 dmu_tx_t *dmu_tx_create_d
[all...]
H A Dbplist.h71 typedef void bplist_sync_cb_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
75 extern uint64_t bplist_create(objset_t *mos, int blocksize, dmu_tx_t *tx);
76 extern void bplist_destroy(objset_t *mos, uint64_t object, dmu_tx_t *tx);
81 extern int bplist_enqueue(bplist_t *bpl, const blkptr_t *bp, dmu_tx_t *tx);
82 extern void bplist_enqueue_cb(void *bpl, const blkptr_t *bp, dmu_tx_t *tx);
85 void *arg, dmu_tx_t *tx);
86 extern void bplist_vacate(bplist_t *bpl, dmu_tx_t *tx);
H A Ddsl_synctask.h40 typedef int (dsl_checkfunc_t)(void *, void *, dmu_tx_t *);
41 typedef void (dsl_syncfunc_t)(void *, void *, cred_t *, dmu_tx_t *);
68 void dsl_sync_task_group_nowait(dsl_sync_task_group_t *dstg, dmu_tx_t *tx);
70 void dsl_sync_task_group_sync(dsl_sync_task_group_t *dstg, dmu_tx_t *tx);
77 void *arg1, void *arg2, int blocks_modified, dmu_tx_t *tx);
H A Dzap.h130 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
132 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
135 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
142 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
145 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
157 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx);
213 const void *val, dmu_tx_t *tx);
216 const void *val, dmu_tx_t *tx);
227 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
230 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *t
[all...]
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_dir.h112 const char *name, dmu_tx_t *tx);
118 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx);
119 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx);
122 dmu_tx_t *tx);
123 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx);
124 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx);
126 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx);
128 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx);
135 int dsl_dir_set_reservation_check(void *arg1, void *arg2, dmu_tx_t *tx);
138 uint64_t reservation, cred_t *cr, dmu_tx_t *t
[all...]
H A Ddsl_deleg.h67 void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
70 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
H A Ddsl_pool.h135 int dsl_pool_tempreserve_space(dsl_pool_t *dp, uint64_t space, dmu_tx_t *tx);
136 void dsl_pool_tempreserve_clear(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
138 void dsl_pool_willuse_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
144 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
145 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
149 void dsl_pool_scrub_sync(dsl_pool_t *dp, dmu_tx_t *tx);
157 const char *tag, uint64_t *now, dmu_tx_t *tx);
159 const char *tag, dmu_tx_t *tx);
H A Dzfs_znode.h313 dmu_tx_t *tx);
314 extern void zfs_time_stamper(znode_t *, uint_t, dmu_tx_t *);
315 extern void zfs_time_stamper_locked(znode_t *, uint_t, dmu_tx_t *);
316 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *);
323 extern void zfs_znode_delete(znode_t *, dmu_tx_t *);
333 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
338 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
340 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
342 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
344 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *t
[all...]
H A Ddnode.h210 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
217 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
218 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
220 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
222 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
223 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
227 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
229 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx);
231 uint64_t nblks, dmu_tx_t *tx);
233 void dnode_willuse_space(dnode_t *dn, int64_t space, dmu_tx_t *t
[all...]
H A Ddmu.h68 typedef struct dmu_tx dmu_tx_t; typedef in typeref:struct:dmu_tx
173 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg);
246 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
248 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
268 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx);
296 int ibs, dmu_tx_t *tx);
303 dmu_tx_t *tx);
310 dmu_tx_t *tx);
332 int dmu_set_bonus(dmu_buf_t *, int, dmu_tx_t *);
412 void dmu_buf_will_dirty(dmu_buf_t *db, dmu_tx_t *t
[all...]
H A Ddbuf.h263 void dbuf_will_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
264 void dbuf_fill_done(dmu_buf_impl_t *db, dmu_tx_t *tx);
265 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx);
266 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx);
267 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx);
268 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx);
269 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
275 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
277 void dbuf_sync_list(list_t *list, dmu_tx_t *tx);
282 void dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *t
[all...]
H A Dzap_impl.h185 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx,
205 const void *val, dmu_tx_t *tx);
207 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
210 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx);
217 const void *val, uint32_t cd, dmu_tx_t *tx);
218 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
H A Ddsl_dataset.h186 dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *);
188 uint64_t flags, dmu_tx_t *tx);
208 void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
214 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
217 dmu_tx_t *tx);
219 dmu_tx_t *tx, boolean_t async);
223 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx);
239 dmu_tx_t *tx);
H A Ddmu_objset.h121 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg);
142 void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx);
145 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx);
149 void dmu_objset_do_userquota_callbacks(objset_t *os, dmu_tx_t *tx);
H A Dzfs_fuid.h115 void zfs_fuid_sync(zfsvfs_t *, dmu_tx_t *);
119 extern void zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
H A Dddt.h153 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx,
155 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx);
158 dmu_tx_t *tx);
160 dmu_tx_t *tx);
H A Dzil.h398 extern boolean_t zil_replaying(zilog_t *zilog, dmu_tx_t *tx);
400 extern void zil_rollback_destroy(zilog_t *zilog, dmu_tx_t *tx);
404 extern uint64_t zil_itx_assign(zilog_t *zilog, itx_t *itx, dmu_tx_t *tx);
411 extern void zil_sync(zilog_t *zilog, dmu_tx_t *tx);
H A Dzvol.h43 extern void zvol_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx);
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dddt_zap.c39 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash)
54 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx)
85 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
98 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
H A Ddmu_object.c33 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
88 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
111 dmu_tx_t *tx;
161 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx)
H A Ddmu_tx.c38 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
42 dmu_tx_t *
45 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP);
60 dmu_tx_t *
63 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir);
69 dmu_tx_t *
72 dmu_tx_t *tx = dmu_tx_create_dd(NULL);
83 dmu_tx_is_syncing(dmu_tx_t *tx)
89 dmu_tx_private_ok(dmu_tx_t *t
[all...]
H A Ddsl_synctask.c37 dsl_null_checkfunc(void *arg1, void *arg2, dmu_tx_t *tx)
78 dmu_tx_t *tx;
128 dsl_sync_task_group_nowait(dsl_sync_task_group_t *dstg, dmu_tx_t *tx)
150 dsl_sync_task_group_sync(dsl_sync_task_group_t *dstg, dmu_tx_t *tx)
217 void *arg1, void *arg2, int blocks_modified, dmu_tx_t *tx)
H A Dbplist.c58 bplist_create(objset_t *mos, int blocksize, dmu_tx_t *tx)
70 bplist_destroy(objset_t *mos, uint64_t object, dmu_tx_t *tx)
196 bplist_enqueue(bplist_t *bpl, const blkptr_t *bp, dmu_tx_t *tx)
242 bplist_enqueue_cb(void *bpl, const blkptr_t *bp, dmu_tx_t *tx)
264 bplist_sync(bplist_t *bpl, bplist_sync_cb_t *func, void *arg, dmu_tx_t *tx)
280 bplist_vacate(bplist_t *bpl, dmu_tx_t *tx)
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/kern/
H A Dzfs_stub.c104 zfs_fuid_info_t **fuidp, dmu_tx_t *tx)
133 vattr_t *vap, dmu_tx_t *tx, cred_t *cr,

Completed in 203 milliseconds

123