Signed-off-by: Jens Axboe <axboe@fb.com>
return was_set == N_HASHES;
}
return was_set == N_HASHES;
}
-int bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords)
-{
- return __bloom_check(b, data, nwords, 0);
-}
-
int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords)
{
return __bloom_check(b, data, nwords, 1);
int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords)
{
return __bloom_check(b, data, nwords, 1);
struct bloom *bloom_new(uint64_t entries);
void bloom_free(struct bloom *b);
struct bloom *bloom_new(uint64_t entries);
void bloom_free(struct bloom *b);
-int bloom_check(struct bloom *b, uint32_t *data, unsigned int nwords);
int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
#endif
int bloom_set(struct bloom *b, uint32_t *data, unsigned int nwords);
#endif