Searched refs:meta_bucket_pages (Results 1 – 4 of 4) sorted by relevance
30 meta_bucket_pages(&c->cache->sb), 0); in bch_bbio_alloc()
767 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() function784 return meta_bucket_pages(sb) << PAGE_SHIFT; in meta_bucket_bytes()
512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()1686 free_pages((unsigned long) c->uuids, ilog2(meta_bucket_pages(&c->cache->sb))); in cache_set_free()1855 ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(meta_bucket_pages(sb))))1891 c->btree_pages = meta_bucket_pages(sb); in bch_cache_set_alloc()1917 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()1929 sizeof(struct bio_vec) * meta_bucket_pages(sb))) in bch_cache_set_alloc()2209 free_pages((unsigned long) ca->disk_buckets, ilog2(meta_bucket_pages(&ca->sb))); in bch_cache_release()
743 free_pages((unsigned long) c->verify_ondisk, ilog2(meta_bucket_pages(&c->cache->sb))); in bch_btree_cache_free()791 ilog2(meta_bucket_pages(&c->cache->sb))); in bch_btree_cache_alloc()