Searched refs:c_max_entries (Results 1 – 2 of 2) sorted by relevance
34 unsigned long c_max_entries; member82 if (cache->c_entry_count >= cache->c_max_entries) in mb_cache_entry_create()85 if (cache->c_entry_count >= 2*cache->c_max_entries) in mb_cache_entry_create()348 mb_cache_shrink(cache, cache->c_max_entries / SHRINK_DIVISOR); in mb_cache_shrink_worker()367 cache->c_max_entries = bucket_count << 4; in mb_cache_create()
25 static const long c_max_entries = c_ringbuf_size / c_sample_size; variable366 err = write_samples(ringbuf, c_max_entries * 5); in test_user_ringbuf_overfill()368 ASSERT_EQ(skel->bss->read, c_max_entries, "max_entries"); in test_user_ringbuf_overfill()427 BUILD_BUG_ON(total_samples <= c_max_entries); in test_user_ringbuf_loop()435 curr_samples = remaining_samples > c_max_entries in test_user_ringbuf_loop()436 ? c_max_entries : remaining_samples; in test_user_ringbuf_loop()