Lines Matching refs:bt
65 bptree_phys_t *bt; in bptree_alloc() local
77 bt = db->db_data; in bptree_alloc()
78 bt->bt_begin = 0; in bptree_alloc()
79 bt->bt_end = 0; in bptree_alloc()
80 bt->bt_bytes = 0; in bptree_alloc()
81 bt->bt_comp = 0; in bptree_alloc()
82 bt->bt_uncomp = 0; in bptree_alloc()
92 bptree_phys_t *bt; in bptree_free() local
95 bt = db->db_data; in bptree_free()
96 ASSERT3U(bt->bt_begin, ==, bt->bt_end); in bptree_free()
97 ASSERT0(bt->bt_bytes); in bptree_free()
98 ASSERT0(bt->bt_comp); in bptree_free()
99 ASSERT0(bt->bt_uncomp); in bptree_free()
109 bptree_phys_t *bt; in bptree_is_empty() local
113 bt = db->db_data; in bptree_is_empty()
114 rv = (bt->bt_begin == bt->bt_end); in bptree_is_empty()
124 bptree_phys_t *bt; in bptree_add() local
135 bt = db->db_data; in bptree_add()
140 dmu_write(os, obj, bt->bt_end * sizeof (*bte), sizeof (*bte), bte, tx); in bptree_add()
144 bt->bt_end++; in bptree_add()
145 bt->bt_bytes += bytes; in bptree_add()
146 bt->bt_comp += comp; in bptree_add()
147 bt->bt_uncomp += uncomp; in bptree_add()