Lines Matching full:bt
64 bptree_phys_t *bt; in bptree_alloc() local
76 bt = db->db_data; in bptree_alloc()
77 bt->bt_begin = 0; in bptree_alloc()
78 bt->bt_end = 0; in bptree_alloc()
79 bt->bt_bytes = 0; in bptree_alloc()
80 bt->bt_comp = 0; in bptree_alloc()
81 bt->bt_uncomp = 0; in bptree_alloc()
91 bptree_phys_t *bt; in bptree_free() local
94 bt = db->db_data; in bptree_free()
95 ASSERT3U(bt->bt_begin, ==, bt->bt_end); in bptree_free()
96 ASSERT0(bt->bt_bytes); in bptree_free()
97 ASSERT0(bt->bt_comp); in bptree_free()
98 ASSERT0(bt->bt_uncomp); in bptree_free()
108 bptree_phys_t *bt; in bptree_is_empty() local
112 bt = db->db_data; in bptree_is_empty()
113 rv = (bt->bt_begin == bt->bt_end); in bptree_is_empty()
123 bptree_phys_t *bt; in bptree_add() local
134 bt = db->db_data; in bptree_add()
139 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()