| /trueos/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| HD | dmu_tx.h | 101 dmu_tx_t *txh_tx; 126 dmu_tx_t *dmu_tx_create(objset_t *dd); 127 int dmu_tx_assign(dmu_tx_t *tx, txg_how_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_assigned(struct dsl_pool *dp, uint64_t txg); [all …]
|
| HD | zap.h | 134 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 136 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 139 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 141 uint64_t parent_obj, const char *name, dmu_tx_t *tx); 147 zap_flags_t flags, dmu_tx_t *tx); 154 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 157 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 169 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx); 230 const void *val, dmu_tx_t *tx); 233 const void *val, dmu_tx_t *tx); [all …]
|
| HD | dmu.h | 77 typedef struct dmu_tx dmu_tx_t; typedef 275 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg); 341 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 343 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx); 345 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp); 363 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx); 391 int ibs, dmu_tx_t *tx); 398 dmu_tx_t *tx); 405 dmu_tx_t *tx); 410 int compressed_size, int byteorder, dmu_tx_t *tx); [all …]
|
| HD | 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); 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 *); 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);
|
| HD | dsl_dir.h | 129 const char *name, dmu_tx_t *tx); 133 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx); 134 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx); 137 dmu_tx_t *tx); 138 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx); 139 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx); 141 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx); 143 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx); 151 void dsl_fs_ss_count_adjust(dsl_dir_t *, int64_t, const char *, dmu_tx_t *); 157 uint64_t reservation, cred_t *cr, dmu_tx_t *tx); [all …]
|
| HD | dsl_dataset.h | 222 dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *); 224 uint64_t flags, dmu_tx_t *tx); 235 void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx); 242 void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx); 245 dmu_tx_t *tx); 247 dmu_tx_t *tx, boolean_t async); 252 void dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx); 265 void dsl_dataset_activate_large_blocks_sync_impl(uint64_t dsobj, dmu_tx_t *tx); 284 dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx); 286 dsl_dataset_t *origin_head, dmu_tx_t *tx); [all …]
|
| HD | dsl_deadlist.h | 67 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);
|
| HD | zfs_znode.h | 315 dmu_tx_t *tx); 318 extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); 325 extern void zfs_znode_delete(znode_t *, dmu_tx_t *); 334 extern void zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 339 extern void zfs_log_remove(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 342 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 344 extern void zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 346 extern void zfs_log_rename(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, 348 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, 350 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, [all …]
|
| HD | zfs_sa.h | 129 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 *);
|
| HD | dnode.h | 272 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx); 273 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx); 274 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx); 282 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); 283 void dnode_sync(dnode_t *dn, dmu_tx_t *tx); 285 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 287 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 288 void dnode_free(dnode_t *dn, dmu_tx_t *tx); 292 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx); 293 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx); [all …]
|
| HD | dbuf.h | 253 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx); 256 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx); 275 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx); 276 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx); 277 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx); 278 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx); 279 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 283 int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx); 288 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx); 290 void dbuf_sync_list(list_t *list, dmu_tx_t *tx); [all …]
|
| HD | sa.h | 116 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 *); 147 int, dmu_tx_t *); 149 int, dmu_tx_t *);
|
| HD | 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);
|
| HD | dsl_synctask.h | 38 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 *);
|
| HD | 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 *);
|
| HD | dsl_pool.h | 144 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); 162 const char *tag, uint64_t now, dmu_tx_t *tx); 164 const char *tag, dmu_tx_t *tx);
|
| HD | space_map.h | 140 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);
|
| HD | zap_impl.h | 195 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, 216 const void *val, dmu_tx_t *tx); 218 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx); 221 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx); 228 const void *val, uint32_t cd, dmu_tx_t *tx); 229 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
|
| /trueos/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| HD | dmu_tx.c | 42 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn, 46 dmu_tx_t * 49 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); in dmu_tx_create_dd() 65 dmu_tx_t * 68 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); in dmu_tx_create() 74 dmu_tx_t * 77 dmu_tx_t *tx = dmu_tx_create_dd(NULL); in dmu_tx_create_assigned() 88 dmu_tx_is_syncing(dmu_tx_t *tx) in dmu_tx_is_syncing() 94 dmu_tx_private_ok(dmu_tx_t *tx) in dmu_tx_private_ok() 100 dmu_tx_hold_object_impl(dmu_tx_t *tx, objset_t *os, uint64_t object, in dmu_tx_hold_object_impl() [all …]
|
| HD | dmu_object.c | 36 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() 91 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim() 111 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_reclaim() 131 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_object_free() 173 dmu_tx_t *tx) in dmu_object_zapify() 198 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) in dmu_object_free_zapified()
|
| HD | dsl_deadlist.c | 143 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) in dsl_deadlist_alloc() 152 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) in dsl_deadlist_free() 179 const blkptr_t *bp, dmu_tx_t *tx) in dle_enqueue() 195 uint64_t obj, dmu_tx_t *tx) in dle_enqueue_subobj() 210 dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx) in dsl_deadlist_insert() 245 dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_add_key() 269 dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) in dsl_deadlist_remove_key() 297 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_regenerate() 321 uint64_t mrs_obj, dmu_tx_t *tx) in dsl_deadlist_clone() 415 dmu_tx_t *tx) in dsl_deadlist_insert_bpobj() [all …]
|
| HD | zap.c | 74 fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags) in fzap_upgrade() 128 zap_tryupgradedir(zap_t *zap, dmu_tx_t *tx) in zap_tryupgradedir() 146 dmu_tx_t *tx) in zap_table_grow() 220 dmu_tx_t *tx) in zap_table_store() 319 zap_grow_ptrtbl(zap_t *zap, dmu_tx_t *tx) in zap_grow_ptrtbl() 371 zap_increment_num_entries(zap_t *zap, int delta, dmu_tx_t *tx) in zap_increment_num_entries() 391 zap_create_leaf(zap_t *zap, dmu_tx_t *tx) in zap_create_leaf() 496 zap_get_leaf_byblk(zap_t *zap, uint64_t blkid, dmu_tx_t *tx, krw_t lt, in zap_get_leaf_byblk() 554 zap_set_idx_to_blk(zap_t *zap, uint64_t idx, uint64_t blk, dmu_tx_t *tx) in zap_set_idx_to_blk() 569 zap_deref_leaf(zap_t *zap, uint64_t h, dmu_tx_t *tx, krw_t lt, zap_leaf_t **lp) in zap_deref_leaf() [all …]
|
| HD | zfeature.c | 296 dmu_tx_t *tx) in feature_sync() 334 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) in feature_enable_sync() 378 dmu_tx_t *tx) in feature_do_action() 412 spa_feature_create_zap_objects(spa_t *spa, dmu_tx_t *tx) in spa_feature_create_zap_objects() 436 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_enable() 444 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_incr() 450 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) in spa_feature_decr()
|
| HD | spa_history.c | 85 spa_history_create_obj(spa_t *spa, dmu_tx_t *tx) in spa_history_create_obj() 150 dmu_tx_t *tx) in spa_history_write() 197 spa_history_log_sync(void *arg, dmu_tx_t *tx) in spa_history_log_sync() 302 dmu_tx_t *tx; in spa_history_log_nvl() 437 dmu_tx_t *tx, const char *fmt, va_list adx) in log_internal() 475 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal() 477 dmu_tx_t *htx = tx; in spa_history_log_internal() 500 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal_ds() 519 dmu_tx_t *tx, const char *fmt, ...) in spa_history_log_internal_dd()
|
| HD | ddt_zap.c | 37 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash) in ddt_zap_create() 52 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) in ddt_zap_destroy() 90 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_update() 103 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_remove()
|