Lines Matching refs:bt
66 bptree_phys_t *bt; in bptree_alloc() local
78 bt = db->db_data; in bptree_alloc()
79 bt->bt_begin = 0; in bptree_alloc()
80 bt->bt_end = 0; in bptree_alloc()
81 bt->bt_bytes = 0; in bptree_alloc()
82 bt->bt_comp = 0; in bptree_alloc()
83 bt->bt_uncomp = 0; in bptree_alloc()
93 bptree_phys_t *bt; in bptree_free() local
96 bt = db->db_data; in bptree_free()
97 ASSERT3U(bt->bt_begin, ==, bt->bt_end); in bptree_free()
98 ASSERT0(bt->bt_bytes); in bptree_free()
99 ASSERT0(bt->bt_comp); in bptree_free()
100 ASSERT0(bt->bt_uncomp); in bptree_free()
110 bptree_phys_t *bt; in bptree_is_empty() local
114 bt = db->db_data; in bptree_is_empty()
115 rv = (bt->bt_begin == bt->bt_end); in bptree_is_empty()
125 bptree_phys_t *bt; in bptree_add() local
136 bt = db->db_data; in bptree_add()
140 dmu_write(os, obj, bt->bt_end * sizeof (bte), sizeof (bte), &bte, tx); in bptree_add()
143 bt->bt_end++; in bptree_add()
144 bt->bt_bytes += bytes; in bptree_add()
145 bt->bt_comp += comp; in bptree_add()
146 bt->bt_uncomp += uncomp; in bptree_add()