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()
771 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() function788 return meta_bucket_pages(sb) << PAGE_SHIFT; in meta_bucket_bytes()
512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()1679 free_pages((unsigned long) c->uuids, ilog2(meta_bucket_pages(&c->cache->sb))); in CLOSURE_CALLBACK()1848 ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(meta_bucket_pages(sb))))1884 c->btree_pages = meta_bucket_pages(sb); in bch_cache_set_alloc()1910 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size) * in bch_cache_set_alloc()1922 sizeof(struct bio_vec) * meta_bucket_pages(sb))) in bch_cache_set_alloc()2202 free_pages((unsigned long) ca->disk_buckets, ilog2(meta_bucket_pages(&ca->sb))); in bch_cache_release()
764 free_pages((unsigned long) c->verify_ondisk, ilog2(meta_bucket_pages(&c->cache->sb))); in bch_btree_cache_free()812 ilog2(meta_bucket_pages(&c->cache->sb))); in bch_btree_cache_alloc()