Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dvmscan.c2698 #define BLOOM_FILTER_SHIFT 15 macro
2707 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()
2709 BUILD_BUG_ON(BLOOM_FILTER_SHIFT * 2 > BITS_PER_TYPE(u32)); in get_item_key()
2711 key[0] = hash & (BIT(BLOOM_FILTER_SHIFT) - 1); in get_item_key()
2712 key[1] = hash >> BLOOM_FILTER_SHIFT; in get_item_key()
2757 bitmap_clear(filter, 0, BIT(BLOOM_FILTER_SHIFT)); in reset_bloom_filter()
2761 filter = bitmap_zalloc(BIT(BLOOM_FILTER_SHIFT), in reset_bloom_filter()