Home
last modified time | relevance | path

Searched refs:dmu_buf_impl_t (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/fs/zfs/sys/
H A Ddbuf.h253 } dmu_buf_impl_t; typedef
260 dmu_buf_impl_t **hash_table;
266 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data);
269 void dbuf_spill_hold(struct dnode *dn, dmu_buf_impl_t **dbp, void *tag);
273 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag);
274 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid,
278 void *tag, dmu_buf_impl_t **dbp);
283 void dbuf_add_ref(dmu_buf_impl_t *db, void *tag);
286 uint64_t dbuf_refcount(dmu_buf_impl_t *db);
288 void dbuf_rele(dmu_buf_impl_t *db, void *tag);
[all …]
H A Dsa_impl.h225 (dmu_buf_impl_t *)((type == SA_BONUS) ? hdl->sa_bonus : hdl->sa_spill)
228 ((sa_hdr_phys_t *)((dmu_buf_impl_t *)(SA_GET_DB(hdl, \
/titanic_44/usr/src/uts/common/fs/zfs/
H A Ddbuf.c54 static void dbuf_destroy(dmu_buf_impl_t *db);
55 static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
75 dmu_buf_impl_t *db = vdb; in dbuf_cons()
76 bzero(db, sizeof (dmu_buf_impl_t)); in dbuf_cons()
89 dmu_buf_impl_t *db = vdb; in dbuf_dest()
129 dmu_buf_impl_t *
135 dmu_buf_impl_t *db; in dbuf_find()
152 static dmu_buf_impl_t *
156 dmu_buf_impl_t *db = NULL; in dbuf_find_bonus()
176 static dmu_buf_impl_t *
[all …]
H A Ddmu.c135 dmu_buf_impl_t *db; in dmu_buf_hold_noread()
168 dmu_buf_impl_t *db = (dmu_buf_impl_t *)(*dbp); in dmu_buf_hold()
188 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; in dmu_set_bonus()
211 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; in dmu_set_bonustype()
234 dmu_buf_impl_t *db = (dmu_buf_impl_t *)db_fake; in dmu_get_bonustype()
268 dmu_buf_impl_t *db; in dmu_bonus_hold()
317 dmu_buf_impl_t *db = NULL; in dmu_spill_hold_by_dnode()
340 dmu_buf_impl_t *db = (dmu_buf_impl_t *)bonus; in dmu_spill_hold_existing()
369 dmu_buf_impl_t *db = (dmu_buf_impl_t *)bonus; in dmu_spill_hold_by_bonus()
426 dmu_buf_impl_t *db = dbuf_hold(dn, blkid+i, tag); in dmu_buf_hold_array_by_dnode()
[all …]
H A Ddnode_sync.c42 dmu_buf_impl_t *db; in dnode_increase_indirection()
80 dmu_buf_impl_t *child = in dnode_increase_indirection()
161 free_verify(dmu_buf_impl_t *db, uint64_t start, uint64_t end, dmu_tx_t *tx) in free_verify()
183 dmu_buf_impl_t *child; in free_verify()
239 free_children(dmu_buf_impl_t *db, uint64_t blkid, uint64_t nblks, in free_children()
244 dmu_buf_impl_t *subdb; in free_children()
351 dmu_buf_impl_t *db; in dnode_sync_free_range_impl()
401 dmu_buf_impl_t db_marker; in dnode_evict_dbufs()
402 dmu_buf_impl_t *db, *db_next; in dnode_evict_dbufs()
459 dmu_buf_impl_t *db = dr->dr_dbuf; in dnode_undirty_dbufs()
H A Ddnode.c66 const dmu_buf_impl_t *d1 = x1; in dbuf_compare()
67 const dmu_buf_impl_t *d2 = x2; in dbuf_compare()
154 avl_create(&dn->dn_dbufs, dbuf_compare, sizeof (dmu_buf_impl_t), in dnode_cons()
155 offsetof(dmu_buf_impl_t, db_link)); in dnode_cons()
403 dnode_create(objset_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db, in dnode_create()
792 avl_create(&odn->dn_dbufs, dbuf_compare, sizeof (dmu_buf_impl_t), in dnode_move_impl()
793 offsetof(dmu_buf_impl_t, db_link)); in dnode_move_impl()
1071 dmu_buf_impl_t *db; in dnode_hold_impl()
1235 dmu_buf_impl_t *db = dn->dn_dbuf; in dnode_rele_and_unlock()
1375 dmu_buf_impl_t *db; in dnode_set_blksz()
[all …]
H A Ddmu_tx.c158 dmu_buf_impl_t *db; in dmu_tx_check_ioerr()
171 dmu_tx_count_twig(dmu_tx_hold_t *txh, dnode_t *dn, dmu_buf_impl_t *db, in dmu_tx_count_twig()
177 dmu_buf_impl_t *parent = NULL; in dmu_tx_count_twig()
315 dmu_buf_impl_t *db; in dmu_tx_count_write()
488 dmu_buf_impl_t *dbuf; in dmu_tx_count_free()
854 dmu_tx_dirty_buf(dmu_tx_t *tx, dmu_buf_impl_t *db) in dmu_tx_dirty_buf()
1642 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus; in dmu_tx_hold_sa()
H A Dsa.c1228 dmu_buf_impl_t *db; in sa_byteswap()
1262 arc_buf_freeze(((dmu_buf_impl_t *)hdl->sa_spill)->db_buf); in sa_byteswap()
1269 dmu_buf_impl_t *db = SA_GET_DB(hdl, buftype); in sa_build_index()
1644 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus; in sa_modify_attrs()
H A Ddmu_objset.c460 list_create(&os->os_downgraded_dbufs, sizeof (dmu_buf_impl_t), in dmu_objset_open_impl()
461 offsetof(dmu_buf_impl_t, db_link)); in dmu_objset_open_impl()
1317 dmu_objset_userquota_find_data(dmu_buf_impl_t *db, dmu_tx_t *tx) in dmu_objset_userquota_find_data()
1354 dmu_buf_impl_t *db = NULL; in dmu_objset_userquota_get_ids()
/titanic_44/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c507 dmu_buf_impl_t db; in dbuf_stats()
537 if (mdb_vread(&db, sizeof (dmu_buf_impl_t), in dbuf_stats()
/titanic_44/usr/src/cmd/zdb/
H A Dzdb.c1859 dn = DB_DNODE((dmu_buf_impl_t *)db); in dump_object()
/titanic_44/usr/src/cmd/ztest/
H A Dztest.c5067 blk = *((dmu_buf_impl_t *)db)->db_blkptr; in ztest_ddt_repair()