Home
last modified time | relevance | path

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

/titanic_50/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_50/usr/src/uts/common/fs/zfs/
H A Ddbuf.c55 static void dbuf_destroy(dmu_buf_impl_t *db);
56 static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
76 dmu_buf_impl_t *db = vdb; in dbuf_cons()
77 bzero(db, sizeof (dmu_buf_impl_t)); in dbuf_cons()
90 dmu_buf_impl_t *db = vdb; in dbuf_dest()
130 dmu_buf_impl_t *
136 dmu_buf_impl_t *db; in dbuf_find()
153 static dmu_buf_impl_t *
157 dmu_buf_impl_t *db = NULL; in dbuf_find_bonus()
177 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()
430 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.c67 const dmu_buf_impl_t *d1 = x1; in dbuf_compare()
68 const dmu_buf_impl_t *d2 = x2; in dbuf_compare()
155 avl_create(&dn->dn_dbufs, dbuf_compare, sizeof (dmu_buf_impl_t), in dnode_cons()
156 offsetof(dmu_buf_impl_t, db_link)); in dnode_cons()
404 dnode_create(objset_t *os, dnode_phys_t *dnp, dmu_buf_impl_t *db, in dnode_create()
791 avl_create(&odn->dn_dbufs, dbuf_compare, sizeof (dmu_buf_impl_t), in dnode_move_impl()
792 offsetof(dmu_buf_impl_t, db_link)); in dnode_move_impl()
1070 dmu_buf_impl_t *db; in dnode_hold_impl()
1234 dmu_buf_impl_t *db = dn->dn_dbuf; in dnode_rele_and_unlock()
1374 dmu_buf_impl_t *db; in dnode_set_blksz()
[all …]
H A Ddmu_tx.c159 dmu_buf_impl_t *db; in dmu_tx_check_ioerr()
172 dmu_tx_count_twig(dmu_tx_hold_t *txh, dnode_t *dn, dmu_buf_impl_t *db, in dmu_tx_count_twig()
178 dmu_buf_impl_t *parent = NULL; in dmu_tx_count_twig()
316 dmu_buf_impl_t *db; in dmu_tx_count_write()
489 dmu_buf_impl_t *dbuf; in dmu_tx_count_free()
855 dmu_tx_dirty_buf(dmu_tx_t *tx, dmu_buf_impl_t *db) in dmu_tx_dirty_buf()
1643 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus; in dmu_tx_hold_sa()
H A Dsa.c1227 dmu_buf_impl_t *db; in sa_byteswap()
1261 arc_buf_freeze(((dmu_buf_impl_t *)hdl->sa_spill)->db_buf); in sa_byteswap()
1268 dmu_buf_impl_t *db = SA_GET_DB(hdl, buftype); in sa_build_index()
1646 dmu_buf_impl_t *db = (dmu_buf_impl_t *)hdl->sa_bonus; in sa_modify_attrs()
H A Ddmu_objset.c461 list_create(&os->os_downgraded_dbufs, sizeof (dmu_buf_impl_t), in dmu_objset_open_impl()
462 offsetof(dmu_buf_impl_t, db_link)); in dmu_objset_open_impl()
1286 dmu_objset_userquota_find_data(dmu_buf_impl_t *db, dmu_tx_t *tx) in dmu_objset_userquota_find_data()
1323 dmu_buf_impl_t *db = NULL; in dmu_objset_userquota_get_ids()
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c509 dmu_buf_impl_t db; in dbuf_stats()
539 if (mdb_vread(&db, sizeof (dmu_buf_impl_t), in dbuf_stats()
/titanic_50/usr/src/cmd/zdb/
H A Dzdb.c1862 dn = DB_DNODE((dmu_buf_impl_t *)db); in dump_object()
/titanic_50/usr/src/cmd/ztest/
H A Dztest.c5093 blk = *((dmu_buf_impl_t *)db)->db_blkptr; in ztest_ddt_repair()