Home
last modified time | relevance | path

Searched refs:meta_bucket_pages (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/md/bcache/
Dio.c30 meta_bucket_pages(&c->cache->sb), 0); in bch_bbio_alloc()
Dbcache.h768 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages() function
785 return meta_bucket_pages(sb) << PAGE_SHIFT; in meta_bucket_bytes()
Dsuper.c512 size = meta_bucket_pages(&ca->sb) * PAGE_SECTORS; in __uuid_write()
1685 free_pages((unsigned long) c->uuids, ilog2(meta_bucket_pages(&c->cache->sb))); in cache_set_free()
1854 ((void *) __get_free_pages(__GFP_ZERO|__GFP_COMP|gfp, ilog2(meta_bucket_pages(sb))))
1890 c->btree_pages = meta_bucket_pages(sb); in bch_cache_set_alloc()
1916 iter_size = ((meta_bucket_pages(sb) * PAGE_SECTORS) / sb->block_size + 1) * in bch_cache_set_alloc()
1928 sizeof(struct bio_vec) * meta_bucket_pages(sb))) in bch_cache_set_alloc()
2208 free_pages((unsigned long) ca->disk_buckets, ilog2(meta_bucket_pages(&ca->sb))); in bch_cache_release()
Dbtree.c764 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()