| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zap.h | 126 int dnodesize, dmu_tx_t *tx); 133 int dnodesize, dmu_tx_t *tx); 148 dmu_tx_t *tx); 244 const void *val, dmu_tx_t *tx); 247 const void *val, dmu_tx_t *tx); 250 const void *val, dmu_tx_t *tx); 286 matchtype_t mt, dmu_tx_t *tx); 315 uint64_t value, dmu_tx_t *tx); 319 dmu_tx_t *tx); 329 dmu_tx_t *tx); [all …]
|
| H A D | dmu_tx.h | 97 dmu_tx_t *txh_tx; 141 dmu_tx_t *dmu_tx_create(objset_t *dd); 142 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how); 143 void dmu_tx_commit(dmu_tx_t *tx); 144 void dmu_tx_abort(dmu_tx_t *tx); 145 uint64_t dmu_tx_get_txg(dmu_tx_t *tx); 146 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx); 147 void dmu_tx_wait(dmu_tx_t *tx); 157 dmu_tx_t *dmu_tx_create_dd(dsl_dir_t *dd); 158 int dmu_tx_is_syncing(dmu_tx_t *tx); [all …]
|
| H A D | dmu.h | 414 dmu_tx_t *tx); 464 dmu_tx_t *tx); 478 int ibs, dmu_tx_t *tx); 486 dmu_tx_t *tx); 493 dmu_tx_t *tx); 500 dmu_tx_t *tx); 506 dmu_tx_t *tx); 848 dmu_tx_t *tx); 854 dmu_tx_t *tx); 856 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); 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 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); 91 dmu_tx_t *tx); 100 dmu_tx_t *tx);
|
| H A D | dsl_dataset.h | 353 struct dsl_crypto_params *, dmu_tx_t *); 359 void dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx); 360 int dsl_dataset_promote_check(void *arg, dmu_tx_t *tx); 378 dmu_tx_t *tx); 380 dmu_tx_t *tx, boolean_t async); 451 dsl_dataset_t *origin_head, dmu_tx_t *tx); 455 dmu_tx_t *tx); 458 dmu_tx_t *tx); 482 dmu_tx_t *tx); 484 dmu_tx_t *tx); [all …]
|
| 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 *); 111 void dsl_sync_task_sync(dsl_sync_task_t *, dmu_tx_t *); 115 void *, dmu_tx_t *); 119 void *, dmu_tx_t *);
|
| H A D | dsl_dir.h | 148 const char *name, dmu_tx_t *tx); 167 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx); 168 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx); 170 uint64_t asize, boolean_t netfree, void **tr_cookiep, dmu_tx_t *tx); 171 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx); 172 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx); 174 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx); 176 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx); 190 uint64_t reservation, cred_t *cr, dmu_tx_t *tx); 194 dmu_tx_t *tx); [all …]
|
| H A D | dsl_bookmark.h | 122 int dsl_bookmark_create_check(void *arg, dmu_tx_t *tx); 123 void dsl_bookmark_create_sync(void *arg, dmu_tx_t *tx); 143 boolean_t dsl_bookmark_ds_destroyed(dsl_dataset_t *, dmu_tx_t *); 144 void dsl_bookmark_snapshotted(dsl_dataset_t *, dmu_tx_t *); 145 void dsl_bookmark_block_killed(dsl_dataset_t *, const blkptr_t *, dmu_tx_t *); 146 void dsl_bookmark_sync_done(dsl_dataset_t *, dmu_tx_t *); 147 void dsl_bookmark_node_add(dsl_dataset_t *, dsl_bookmark_node_t *, dmu_tx_t *); 151 void dsl_bookmark_next_changed(dsl_dataset_t *, dsl_dataset_t *, dmu_tx_t *);
|
| 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 | zfs_znode.h | 243 dmu_tx_t *tx); 246 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); 254 extern void zfs_znode_delete(znode_t *, dmu_tx_t *); 263 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 271 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 278 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, 281 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, 283 extern void zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype, 285 extern void zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp, 287 extern void zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx); [all …]
|
| 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 | 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 *); 149 int, dmu_tx_t *); 151 int, dmu_tx_t *); 162 int sa_add_projid(sa_handle_t *, dmu_tx_t *, uint64_t);
|
| H A D | dbuf.h | 339 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx); 341 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 368 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx); 369 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx); 370 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx); 372 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 374 dmu_tx_t *tx); 381 const struct zio_prop *zp, enum zio_flag flags, dmu_tx_t *tx); 383 void dmu_buf_redact(dmu_buf_t *dbuf, dmu_tx_t *tx); 387 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx); [all …]
|
| H A D | dsl_pool.h | 161 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx); 166 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx); 167 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx); 168 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx); 184 const char *tag, uint64_t now, dmu_tx_t *tx); 186 const char *tag, dmu_tx_t *tx); 192 void dsl_pool_create_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx); 193 void dsl_pool_destroy_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
|
| H A D | dnode.h | 416 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx); 417 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx); 418 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx); 428 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); 429 void dnode_set_dirtyctx(dnode_t *dn, dmu_tx_t *tx, void *tag); 430 void dnode_sync(dnode_t *dn, dmu_tx_t *tx); 435 boolean_t keep_spill, dmu_tx_t *tx); 436 void dnode_free(dnode_t *dn, dmu_tx_t *tx); 440 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx); 441 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx); [all …]
|
| H A D | dsl_crypt.h | 195 nvlist_t *nvl, dmu_tx_t *tx); 197 nvlist_t *nvl, dmu_tx_t *tx); 205 dmu_tx_t *tx); 209 struct dsl_dataset *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx); 211 dmu_tx_t *tx); 212 uint64_t dsl_crypto_key_clone_sync(dsl_dir_t *origindd, dmu_tx_t *tx); 213 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 | 138 void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *); 140 void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *); 143 void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *); 144 void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *);
|
| H A D | zap_impl.h | 201 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, 220 const void *val, void *tag, dmu_tx_t *tx); 223 void *tag, dmu_tx_t *tx); 226 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx); 233 const void *val, uint32_t cd, void *tag, dmu_tx_t *tx); 234 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
|
| H A D | spa_log_spacemap.h | 57 void spa_generate_syncing_log_sm(spa_t *, dmu_tx_t *); 58 void spa_flush_metaslabs(spa_t *, dmu_tx_t *); 61 void spa_cleanup_old_sm_logs(spa_t *, dmu_tx_t *);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu_tx.c | 62 dmu_tx_t * 65 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() 77 dmu_tx_t * 85 dmu_tx_t * 99 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 105 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 349 dmu_tx_t *tx = txh->txh_tx; in dmu_tx_hold_free_impl() 460 dmu_tx_t *tx = txh->txh_tx; in dmu_tx_hold_zap_impl() 1046 dmu_tx_wait(dmu_tx_t *tx) in dmu_tx_wait() 1175 dmu_tx_abort(dmu_tx_t *tx) in dmu_tx_abort() [all …]
|
| H A D | dmu_object.c | 49 int dnodesize, dnode_t **allocated_dnode, 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, void *tag, dmu_tx_t *tx) in dmu_object_alloc_hold() 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() 457 dmu_tx_t *tx) in dmu_object_zapify() [all …]
|
| /f-stack/freebsd/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 *);
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | zfs_dir.h | 55 extern int zfs_link_create(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int); 56 extern int zfs_link_destroy(zfs_dirlock_t *, znode_t *, dmu_tx_t *, int, 60 extern void zfs_mknode(znode_t *, vattr_t *, dmu_tx_t *, cred_t *, 65 extern void zfs_unlinked_add(znode_t *, dmu_tx_t *);
|