Searched refs:BLOOM_FILTER_SHIFT (Results 1 – 1 of 1) sorted by relevance
3329 #define BLOOM_FILTER_SHIFT 15 macro3338 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()3340 BUILD_BUG_ON(BLOOM_FILTER_SHIFT * 2 > BITS_PER_TYPE(u32)); in get_item_key()3342 key[0] = hash & (BIT(BLOOM_FILTER_SHIFT) - 1); in get_item_key()3343 key[1] = hash >> BLOOM_FILTER_SHIFT; in get_item_key()3353 bitmap_clear(filter, 0, BIT(BLOOM_FILTER_SHIFT)); in reset_bloom_filter()3357 filter = bitmap_zalloc(BIT(BLOOM_FILTER_SHIFT), in reset_bloom_filter()