Searched refs:bset_tree_bytes (Results 1 – 1 of 1) sorted by relevance
277 static inline size_t bset_tree_bytes(struct btree_keys *b) in bset_tree_bytes() function300 if (bset_tree_bytes(b) < PAGE_SIZE) in bch_btree_keys_free()304 get_order(bset_tree_bytes(b))); in bch_btree_keys_free()328 t->tree = bset_tree_bytes(b) < PAGE_SIZE in bch_btree_keys_alloc()329 ? kmalloc(bset_tree_bytes(b), gfp) in bch_btree_keys_alloc()330 : (void *) __get_free_pages(gfp, get_order(bset_tree_bytes(b))); in bch_btree_keys_alloc()