Searched refs:BLOOM_FILTER_SHIFT (Results 1 – 1 of 1) sorted by relevance
3354 #define BLOOM_FILTER_SHIFT 15 macro3363 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key()3365 BUILD_BUG_ON(BLOOM_FILTER_SHIFT * 2 > BITS_PER_TYPE(u32)); in get_item_key()3367 key[0] = hash & (BIT(BLOOM_FILTER_SHIFT) - 1); in get_item_key()3368 key[1] = hash >> BLOOM_FILTER_SHIFT; in get_item_key()3411 bitmap_clear(filter, 0, BIT(BLOOM_FILTER_SHIFT)); in reset_bloom_filter()3415 filter = bitmap_zalloc(BIT(BLOOM_FILTER_SHIFT), in reset_bloom_filter()