/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | dnode.h | 368 dnode_t *dnh_dnode; 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); 392 void *ref, dnode_t **dnp); 394 void *ref, dnode_t **dnp); 395 boolean_t dnode_add_ref(dnode_t *dn, void *ref); 396 void dnode_rele(dnode_t *dn, void *ref); 397 void dnode_rele_and_unlock(dnode_t *dn, void *tag, boolean_t evicting); 399 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx); [all …]
|
H A D | dmu.h | 85 typedef struct dnode dnode_t; typedef 517 void dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, 539 int dmu_bonus_hold_by_dnode(dnode_t *dn, void *tag, dmu_buf_t **dbp, 553 int dmu_spill_hold_by_dnode(dnode_t *dn, uint32_t flags, 573 int dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset, 609 int dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset, uint64_t length, 736 dnode_t *dmu_buf_dnode_enter(dmu_buf_t *db); 781 void dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, 785 void dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, 789 void dmu_tx_hold_zap_by_dnode(dmu_tx_t *tx, dnode_t *dn, int add, [all …]
|
H A D | zap.h | 223 int zap_lookup_by_dnode(dnode_t *dn, const char *name, 225 int zap_lookup_norm_by_dnode(dnode_t *dn, const char *name, 230 int zap_count_write_by_dnode(dnode_t *dn, const char *name, 242 int zap_add_by_dnode(dnode_t *dn, const char *key, 284 int zap_remove_by_dnode(dnode_t *dn, const char *name, dmu_tx_t *tx);
|
H A D | dmu_tx.h | 139 void dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn);
|
H A D | dmu_objset.h | 243 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx);
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu.c | 169 dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_noread_by_dnode() 192 dnode_t *dn; in dmu_buf_hold_noread() 216 dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_by_dnode() 275 dnode_t *dn; in dmu_set_bonus() 298 dnode_t *dn; in dmu_set_bonustype() 321 dnode_t *dn; in dmu_get_bonustype() 335 dnode_t *dn; in dmu_rm_spill() 352 int dmu_bonus_hold_by_dnode(dnode_t *dn, void *tag, dmu_buf_t **dbp, in dmu_bonus_hold_by_dnode() 405 dnode_t *dn; in dmu_bonus_hold_impl() 471 dmu_spill_hold_by_dnode(dnode_t *dn, uint32_t flags, void *tag, dmu_buf_t **dbp) in dmu_spill_hold_by_dnode() [all …]
|
H A D | dnode.c | 117 dnode_t *dn = arg; in dnode_cons() 183 dnode_t *dn = arg; in dnode_dest() 236 sizeof (dnode_t), in dnode_init() 266 dnode_verify(dnode_t *dn) in dnode_verify() 384 dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx) in dnode_setbonuslen() 401 dnode_setbonus_type(dnode_t *dn, dmu_object_type_t newtype, dmu_tx_t *tx) in dnode_setbonus_type() 412 dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx) in dnode_rm_spill() 422 dnode_setdblksz(dnode_t *dn, int size) in dnode_setdblksz() 434 static dnode_t * 438 dnode_t *dn; in dnode_create() [all …]
|
H A D | dmu_tx.c | 96 dmu_tx_hold_dnode_impl(dmu_tx_t *tx, dnode_t *dn, enum dmu_tx_hold_type type, in dmu_tx_hold_dnode_impl() 134 dnode_t *dn = NULL; in dmu_tx_hold_object_impl() 152 dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn) in dmu_tx_add_new_object() 191 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) in dmu_tx_check_ioerr() 210 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_write() 315 dnode_t *dn = txh->txh_dnode; in dmu_tx_hold_remap_l1indirect() 322 dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, int len) in dmu_tx_hold_write_by_dnode() 355 dnode_t *dn; in dmu_tx_hold_free_impl() 453 dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, uint64_t len) in dmu_tx_hold_free_by_dnode() 466 dnode_t *dn; in dmu_tx_hold_zap_impl() [all …]
|
H A D | dmu_object.c | 53 dnode_t *dn = NULL; in dmu_object_alloc_impl() 238 dnode_t *dn; in dmu_object_claim_dnsize() 275 dnode_t *dn; in dmu_object_reclaim_dnsize() 300 dnode_t *dn; in dmu_object_rm_spill() 322 dnode_t *dn; in dmu_object_free() 419 dnode_t *dn; in dmu_object_zapify() 450 dnode_t *dn; in dmu_object_free_zapified()
|
H A D | dnode_sync.c | 42 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection() 134 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) in free_blocks() 180 dnode_t *dn; in free_verify() 271 dnode_t *dn; in free_children() 366 dnode_sync_free_range_impl(dnode_t *dn, uint64_t blkid, uint64_t nblks, in dnode_sync_free_range_impl() 437 dnode_t *dsfra_dnode; 446 dnode_t *dn = dsfra->dsfra_dnode; in dnode_sync_free_range() 458 dnode_evict_dbufs(dnode_t *dn) in dnode_evict_dbufs() 510 dnode_evict_bonus(dnode_t *dn) in dnode_evict_bonus() 557 dnode_sync_free(dnode_t *dn, dmu_tx_t *tx) in dnode_sync_free() [all …]
|
H A D | dbuf.c | 248 dnode_t *dn; in dbuf_find_bonus() 721 dnode_t *dn; in dbuf_verify() 954 dbuf_whichblock(dnode_t *dn, int64_t level, uint64_t offset) in dbuf_whichblock() 1047 dnode_t *dn; in dbuf_read_verify_dnode_crypt() 1093 dnode_t *dn; in dbuf_read_impl() 1271 dnode_t *dn = DB_DNODE(db); in dbuf_fix_old_data() 1277 dnode_t *dn = DB_DNODE(db); in dbuf_fix_old_data() 1315 dnode_t *dn; in dbuf_read() 1501 dbuf_free_range(dnode_t *dn, uint64_t start_blkid, uint64_t end_blkid, in dbuf_free_range() 1604 dnode_t *dn; in dbuf_new_size() [all …]
|
H A D | dmu_objset.c | 396 dnode_t *dn = obj; in dnode_multilist_index_func() 608 os->os_dirty_dnodes[i] = multilist_create(sizeof (dnode_t), in dmu_objset_open_impl() 609 offsetof(dnode_t, dn_dirty_link[i]), in dmu_objset_open_impl() 612 list_create(&os->os_dnodes, sizeof (dnode_t), in dmu_objset_open_impl() 613 offsetof(dnode_t, dn_link)); in dmu_objset_open_impl() 884 dnode_t dn_marker; in dmu_objset_evict_dbufs() 885 dnode_t *dn; in dmu_objset_evict_dbufs() 1013 dnode_t *mdn; in dmu_objset_create_impl_dnstats() 1554 dnode_t *dn; in dmu_objset_sync_dnodes() 1754 multilist_create(sizeof (dnode_t), in dmu_objset_sync() [all …]
|
H A D | zap_micro.c | 544 zap_lockdir_by_dnode(dnode_t *dn, dmu_tx_t *tx, in zap_lockdir_by_dnode() 949 zap_lookup_by_dnode(dnode_t *dn, const char *name, in zap_lookup_by_dnode() 957 zap_lookup_norm_by_dnode(dnode_t *dn, const char *name, in zap_lookup_norm_by_dnode() 1180 zap_add_by_dnode(dnode_t *dn, const char *key, in zap_add_by_dnode() 1348 zap_remove_by_dnode(dnode_t *dn, const char *name, dmu_tx_t *tx) in zap_remove_by_dnode()
|
H A D | dmu_zfetch.c | 115 dmu_zfetch_init(zfetch_t *zf, dnode_t *dno) in dmu_zfetch_init()
|
H A D | zio_inject.c | 661 dnode_t *dn = NULL; in zio_calculate_range()
|
H A D | zap.c | 305 dnode_t *dn = dmu_buf_dnode_enter(zap->zap_dbuf); in zap_table_load() 527 dnode_t *dn = dmu_buf_dnode_enter(zap->zap_dbuf); in zap_get_leaf_byblk()
|
H A D | dsl_crypt.c | 1961 dnode_t *mdn; in dsl_crypto_recv_raw_objset_check() 2088 dnode_t *mdn; in dsl_crypto_recv_raw_objset_sync() 2409 dnode_t *mdn; in dsl_crypto_populate_key_nvlist()
|
H A D | dmu_recv.c | 1430 dnode_t *dn; in receive_object() 1507 dnode_t *dn; in receive_write()
|
H A D | zvol.c | 132 dnode_t *zv_dn; /* dnode hold */
|
H A D | sa.c | 1829 dnode_t *dn; in sa_modify_attrs()
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 1612 dump_indirect(dnode_t *dn) in dump_indirect() 2238 dnode_t *dn; in dump_object()
|