/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dmu_tx.h | 97 dmu_tx_t *txh_tx; 116 dmu_tx_t *dmu_tx_create(objset_t *dd); 117 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how); 118 void dmu_tx_commit(dmu_tx_t *tx); 119 void dmu_tx_abort(dmu_tx_t *tx); 120 uint64_t dmu_tx_get_txg(dmu_tx_t *tx); 121 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx); 122 void dmu_tx_wait(dmu_tx_t *tx); 136 dmu_tx_t *dmu_tx_create_dd(dsl_dir_t *dd); 137 int dmu_tx_is_syncing(dmu_tx_t *tx); [all …]
|
H A D | zap.h | 130 int dnodesize, dmu_tx_t *tx); 137 int dnodesize, dmu_tx_t *tx); 241 const void *val, dmu_tx_t *tx); 244 const void *val, dmu_tx_t *tx); 247 const void *val, dmu_tx_t *tx); 283 matchtype_t mt, dmu_tx_t *tx); 286 int key_numints, dmu_tx_t *tx); 312 uint64_t value, dmu_tx_t *tx); 316 dmu_tx_t *tx); 326 dmu_tx_t *tx); [all …]
|
H A D | dmu.h | 83 typedef struct dmu_tx dmu_tx_t; typedef 327 cred_t *cr, dmu_tx_t *tx); 465 dmu_tx_t *tx); 479 int ibs, dmu_tx_t *tx); 487 dmu_tx_t *tx); 494 dmu_tx_t *tx); 501 dmu_tx_t *tx); 850 dmu_tx_t *tx); 855 dmu_tx_t *tx); 857 dmu_tx_t *tx); [all …]
|
H A D | dsl_dataset.h | 339 struct dsl_crypto_params *, dmu_tx_t *); 342 void dsl_dataset_snapshot_sync(void *arg, dmu_tx_t *tx); 345 void dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx); 346 int dsl_dataset_promote_check(void *arg, dmu_tx_t *tx); 366 dmu_tx_t *tx); 368 dmu_tx_t *tx, boolean_t async); 433 dsl_dataset_t *origin_head, dmu_tx_t *tx); 437 dmu_tx_t *tx); 440 dmu_tx_t *tx); 464 spa_feature_t f, dmu_tx_t *tx); [all …]
|
H A D | bpobj.h | 68 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); 79 int bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx); 80 int bpobj_iterate_nofree(bpobj_t *bpo, bpobj_itor_t func, void *, dmu_tx_t *); 82 void bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx); 83 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
|
H A D | dsl_deadlist.h | 68 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx); 69 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx); 70 void dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx); 71 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 72 void dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 74 uint64_t mrs_obj, dmu_tx_t *tx); 80 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx); 82 dmu_tx_t *tx);
|
H A D | dsl_dir.h | 137 const char *name, dmu_tx_t *tx); 157 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx); 158 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx); 160 uint64_t asize, boolean_t netfree, void **tr_cookiep, dmu_tx_t *tx); 161 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx); 162 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx); 164 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx); 166 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx); 181 uint64_t reservation, cred_t *cr, dmu_tx_t *tx); 185 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 *, int, zfs_space_check_t, dmu_tx_t *); 119 void *, int, zfs_space_check_t, dmu_tx_t *);
|
H A D | sa.h | 115 typedef void (sa_update_cb_t)(sa_handle_t *, dmu_tx_t *tx); 126 uint32_t buflen, dmu_tx_t *); 127 int sa_remove(sa_handle_t *, sa_attr_type_t, dmu_tx_t *); 130 int sa_bulk_update(sa_handle_t *, sa_bulk_attr_t *, int count, dmu_tx_t *); 133 uint32_t buflen, sa_data_locator_t *, void *userdata, dmu_tx_t *); 145 int, dmu_tx_t *); 147 int, dmu_tx_t *); 158 int sa_add_projid(sa_handle_t *, dmu_tx_t *, uint64_t);
|
H A D | zfs_znode.h | 309 dmu_tx_t *tx); 312 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); 319 extern void zfs_znode_delete(znode_t *, dmu_tx_t *); 338 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 344 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, 346 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, 348 extern void zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype, 350 extern void zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp, 352 extern void zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx); 353 extern void zfs_upgrade(zfsvfs_t *zfsvfs, dmu_tx_t *tx); [all …]
|
H A D | zfs_sa.h | 133 void zfs_sa_symlink(struct znode *, char *link, int len, dmu_tx_t *); 134 void zfs_sa_upgrade(struct sa_handle *, dmu_tx_t *); 136 void zfs_sa_set_scanstamp(struct znode *, xvattr_t *, dmu_tx_t *); 137 void zfs_sa_uprade_pre(struct sa_handle *, void *, dmu_tx_t *); 138 void zfs_sa_upgrade_post(struct sa_handle *, void *, dmu_tx_t *); 139 void zfs_sa_upgrade_txholds(dmu_tx_t *, struct znode *);
|
H A D | dsl_crypt.h | 200 nvlist_t *nvl, dmu_tx_t *tx); 202 nvlist_t *nvl, dmu_tx_t *tx); 207 int spa_keystore_change_key_check(void *arg, dmu_tx_t *tx); 208 void spa_keystore_change_key_sync(void *arg, dmu_tx_t *tx); 212 dmu_tx_t *tx); 216 struct dsl_dataset *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx); 218 dmu_tx_t *tx); 219 uint64_t dsl_crypto_key_clone_sync(dsl_dir_t *origindd, dmu_tx_t *tx); 220 void dsl_crypto_key_destroy_sync(uint64_t dckobj, dmu_tx_t *tx);
|
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 | dsl_pool.h | 157 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx); 162 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx); 163 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx); 164 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx); 180 const char *tag, uint64_t now, dmu_tx_t *tx); 182 const char *tag, dmu_tx_t *tx); 188 void dsl_pool_create_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx); 189 void dsl_pool_destroy_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
|
H A D | dbuf.h | 317 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx); 320 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 347 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx); 348 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx); 349 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx); 350 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx); 351 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 355 int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx); 359 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 361 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx); [all …]
|
H A D | dsl_destroy.h | 54 int dsl_destroy_snapshot_check(void *, dmu_tx_t *); 55 void dsl_destroy_snapshot_sync(void *, dmu_tx_t *); 61 int dsl_destroy_head_check(void *, dmu_tx_t *); 62 void dsl_destroy_head_sync(void *, dmu_tx_t *);
|
H A D | dnode.h | 387 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx); 388 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx); 389 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx); 399 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); 400 void dnode_sync(dnode_t *dn, dmu_tx_t *tx); 402 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 405 boolean_t keep_spill, dmu_tx_t *tx); 406 void dnode_free(dnode_t *dn, dmu_tx_t *tx); 410 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx); 411 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx); [all …]
|
H A D | zfs_dir.h | 54 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 D | space_map.h | 207 dmu_tx_t *tx); 212 dmu_tx_t *tx); 221 uint64_t vdev_id, dmu_tx_t *tx); 224 void space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx); 225 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx); 226 void space_map_free(space_map_t *sm, dmu_tx_t *tx); 227 void space_map_free_obj(objset_t *os, uint64_t smobj, dmu_tx_t *tx);
|
H A D | zap_impl.h | 202 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, 221 const void *val, void *tag, dmu_tx_t *tx); 224 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, void *tag, dmu_tx_t *tx); 235 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_tx.c | 47 dmu_tx_t * 50 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() 62 dmu_tx_t * 70 dmu_tx_t * 84 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 90 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 354 dmu_tx_t *tx; in dmu_tx_hold_free_impl() 465 dmu_tx_t *tx = txh->txh_tx; in dmu_tx_hold_zap_impl() 1036 dmu_tx_wait(dmu_tx_t *tx) in dmu_tx_wait() 1160 dmu_tx_abort(dmu_tx_t *tx) in dmu_tx_abort() [all …]
|
H A D | dmu_object.c | 48 int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_impl() 202 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() 211 dmu_tx_t *tx) in dmu_object_alloc_ibs() 219 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_dnsize() 227 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim() 236 int dnodesize, dmu_tx_t *tx) in dmu_object_claim_dnsize() 273 boolean_t keep_spill, dmu_tx_t *tx) in dmu_object_reclaim_dnsize() 298 dmu_object_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_rm_spill() 320 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free() 416 dmu_tx_t *tx) in dmu_object_zapify() [all …]
|
H A D | dsl_synctask.c | 37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) in dsl_null_checkfunc() 48 dmu_tx_t *tx; in dsl_sync_task_common() 173 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx, in dsl_sync_task_nowait_common() 195 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) in dsl_sync_task_nowait() 203 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) in dsl_early_sync_task_nowait() 213 dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx) in dsl_sync_task_sync()
|
H A D | dsl_deadlist.c | 156 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) in dsl_deadlist_alloc() 165 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) in dsl_deadlist_free() 192 const blkptr_t *bp, dmu_tx_t *tx) in dle_enqueue() 209 uint64_t obj, dmu_tx_t *tx) in dle_enqueue_subobj() 260 dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_add_key() 317 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_regenerate() 341 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_clone() 438 dmu_tx_t *tx) in dsl_deadlist_insert_bpobj() 467 dsl_deadlist_insert_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) in dsl_deadlist_insert_cb() 479 dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx) in dsl_deadlist_merge() [all …]
|
H A D | zap.c | 171 dmu_tx_t *tx) in zap_table_grow() 246 dmu_tx_t *tx) in zap_table_store() 349 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) in zap_grow_ptrtbl() 426 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) in zap_create_leaf() 707 void *tag, dmu_tx_t *tx) in zap_put_leaf_maybe_grow_ptrtbl() 873 void *tag, dmu_tx_t *tx) in fzap_update() 979 const char *name, dmu_tx_t *tx) in zap_create_link() 1048 uint64_t value, dmu_tx_t *tx) in zap_join_key() 1073 dmu_tx_t *tx) in zap_join_increment() 1160 dmu_tx_t *tx) in zap_increment() [all …]
|