Searched refs:bucket_pages (Results 1 – 4 of 4) sorted by relevance
29 bio_init(bio, bio->bi_inline_vecs, bucket_pages(c)); in bch_bbio_alloc()
1588 free_pages((unsigned long) c->uuids, ilog2(bucket_pages(c))); in cache_set_free()1751 ((void *) __get_free_pages(__GFP_ZERO|gfp, ilog2(bucket_pages(c))))1787 c->btree_pages = bucket_pages(c); in bch_cache_set_alloc()1819 bucket_pages(c)) || in bch_cache_set_alloc()2126 free_pages((unsigned long) ca->disk_buckets, ilog2(bucket_pages(ca))); in bch_cache_release()
754 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS) macro
796 free_pages((unsigned long) c->verify_ondisk, ilog2(bucket_pages(c))); in bch_btree_cache_free()843 __get_free_pages(GFP_KERNEL, ilog2(bucket_pages(c))); in bch_btree_cache_alloc()