/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zap.h | 124 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 126 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 128 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 131 int dnodesize, dmu_tx_t *tx); 134 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 138 int dnodesize, dmu_tx_t *tx); 142 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx); 145 uint64_t parent_obj, const char *name, dmu_tx_t *tx); 147 uint64_t parent_obj, const char *name, int dnodesize, dmu_tx_t *tx); 153 dmu_tx_t *tx); [all …]
|
H A D | dmu_tx.h | 99 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); 155 extern dmu_tx_t *dmu_tx_create_assigned(struct dsl_pool *dp, uint64_t txg); 160 dmu_tx_t *dmu_tx_create_dd(dsl_dir_t *dd); [all …]
|
H A D | dmu.h | 80 typedef struct dmu_tx dmu_tx_t; typedef 326 cred_t *cr, dmu_tx_t *tx); 412 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 415 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 418 int dnodesize, dmu_tx_t *tx); 422 dmu_tx_t *tx); 424 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 427 int dnodesize, dmu_tx_t *tx); 429 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp); 432 int bonuslen, int dnodesize, boolean_t keep_spill, dmu_tx_t *tx); [all …]
|
H A D | dsl_dataset.h | 309 dmu_tx_t *ddrsa_tx; 362 struct dsl_crypto_params *, dmu_tx_t *); 364 struct dsl_crypto_params *dcp, uint64_t flags, dmu_tx_t *tx); 365 void dsl_dataset_snapshot_sync(void *arg, dmu_tx_t *tx); 366 int dsl_dataset_snapshot_check(void *arg, dmu_tx_t *tx); 368 void dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx); 369 int dsl_dataset_promote_check(void *arg, dmu_tx_t *tx); 383 void dsl_dataset_sync(dsl_dataset_t *ds, zio_t *zio, dmu_tx_t *tx); 384 void dsl_dataset_sync_done(dsl_dataset_t *ds, dmu_tx_t *tx); 387 dmu_tx_t *tx); [all …]
|
H A D | dsl_deadlist.h | 95 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); 102 void dsl_deadlist_remove_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); [all …]
|
H A D | dsl_dir.h | 149 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); 171 uint64_t asize, boolean_t netfree, void **tr_cookiep, 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); 175 int64_t used, int64_t compressed, int64_t uncompressed, 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); 188 void dsl_fs_ss_count_adjust(dsl_dir_t *, int64_t, const char *, dmu_tx_t *); [all …]
|
H A D | zfs_znode.h | 269 dmu_tx_t *tx); 272 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); 282 extern void zfs_znode_delete(znode_t *, dmu_tx_t *); 290 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 295 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 298 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 300 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 302 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 305 extern void zfs_log_rename_exchange(zilog_t *zilog, dmu_tx_t *tx, 308 extern void zfs_log_rename_whiteout(zilog_t *zilog, dmu_tx_t *tx, [all …]
|
H A D | bpobj.h | 73 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 D | dsl_synctask.h | 38 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 D | dsl_bookmark.h | 123 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 D | dmu_impl.h | 262 dmu_tx_t *dsa_tx; 268 void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *); 269 void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *); 271 int dmu_write_direct(zio_t *, dmu_buf_impl_t *, abd_t *, dmu_tx_t *); 273 int dmu_write_abd(dnode_t *, uint64_t, uint64_t, abd_t *, uint32_t, dmu_tx_t *); 276 int dmu_write_uio_direct(dnode_t *, zfs_uio_t *, uint64_t, dmu_tx_t *);
|
H A D | dbuf.h | 361 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx); 363 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 391 void dmu_buf_will_clone_or_dio(dmu_buf_t *db, dmu_tx_t *tx); 392 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx); 393 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx, boolean_t canfail); 394 boolean_t dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx, boolean_t failed); 395 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx); 396 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 398 dmu_tx_t *tx); 399 boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx); [all …]
|
H A D | dsl_destroy.h | 49 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 D | sa.h | 120 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 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 | ddt_impl.h | 148 dmu_tx_t *dlu_tx; /* tx the update is being applied to */ 162 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx, 164 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx); 174 dmu_tx_t *tx); 176 const ddt_key_t *ddk, dmu_tx_t *tx); 185 extern void ddt_log_begin(ddt_t *ddt, size_t nentries, dmu_tx_t *tx, 200 dmu_tx_t *tx); 201 extern void ddt_log_truncate(ddt_t *ddt, dmu_tx_t *tx); 203 extern boolean_t ddt_log_swap(ddt_t *ddt, dmu_tx_t *tx); 205 extern void ddt_log_destroy(ddt_t *ddt, dmu_tx_t *tx);
|
H A D | dsl_pool.h | 167 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 D | dnode.h | 428 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx); 429 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx); 430 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx); 441 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); 442 void dnode_set_dirtyctx(dnode_t *dn, dmu_tx_t *tx, const void *tag); 443 void dnode_sync(dnode_t *dn, dmu_tx_t *tx); 445 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 448 boolean_t keep_spill, dmu_tx_t *tx); 449 void dnode_free(dnode_t *dn, dmu_tx_t *tx); 453 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx); [all …]
|
H A D | dsl_crypt.h | 196 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 D | space_map.h | 216 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 D | zfs_sa.h | 137 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 *);
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_tx.c | 43 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn, 64 dmu_tx_t * 67 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() 79 dmu_tx_t * 82 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create() 87 dmu_tx_t * 90 dmu_tx_t *tx = dmu_tx_create_dd(NULL); in dmu_tx_create_assigned() 101 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 107 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 113 dmu_tx_hold_dnode_impl(dmu_tx_t *tx, dnode_t *dn, enum dmu_tx_hold_type type, in dmu_tx_hold_dnode_impl() [all …]
|
H A D | dmu_object.c | 49 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() 258 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_hold() 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() 304 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_reclaim() 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() [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_dir.h | 55 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 D | zfs_dir.h | 52 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 *);
|