Lines Matching refs:from_cblock
1005 if (!test_and_set_bit(from_cblock(infer_cblock(mq, e)), mq->cache_hit_bits)) {
1113 clear_bitset(mq->cache_hit_bits, from_cblock(mq->cache_size));
1133 return from_cblock(mq->cache_size) * p / 100u;
1159 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated;
1469 from_cblock(work->cblock));
1525 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1558 return hash_32(from_cblock(cblock), 9) & (NR_CACHE_LEVELS - 1);
1568 e = alloc_particular_entry(&mq->cache_alloc, from_cblock(cblock));
1586 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1601 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1741 calc_hotspot_params(origin_size, cache_block_size, from_cblock(cache_size),
1746 if (space_init(&mq->es, total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size))) {
1764 total_sentinels + mq->nr_hotspot_blocks + from_cblock(cache_size));
1773 if (from_cblock(cache_size)) {
1774 mq->cache_hit_bits = alloc_bitset(from_cblock(cache_size));
1779 clear_bitset(mq->cache_hit_bits, from_cblock(mq->cache_size));
1789 from_cblock(mq->cache_size) / mq->cache_blocks_per_hotspot_block);
1797 if (h_init(&mq->table, &mq->es, from_cblock(cache_size)))