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