Searched refs:bucket_pages (Results 1 – 4 of 4) sorted by relevance
29 bio->bi_max_vecs = bucket_pages(c); in bch_bbio_alloc()
1368 free_pages((unsigned long) c->uuids, ilog2(bucket_pages(c))); in cache_set_free()1472 ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(bucket_pages(c))))1506 c->btree_pages = bucket_pages(c); in bch_cache_set_alloc()1542 bucket_pages(c))) || in bch_cache_set_alloc()1826 free_pages((unsigned long) ca->disk_buckets, ilog2(bucket_pages(ca))); in bch_cache_release()
692 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS) macro
756 free_pages((unsigned long) c->verify_ondisk, ilog2(bucket_pages(c))); in bch_btree_cache_free()798 __get_free_pages(GFP_KERNEL|__GFP_COMP, ilog2(bucket_pages(c))); in bch_btree_cache_alloc()