Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmbloom.c55 uint max_hash; member
64 bcm_bloom_free_t free_cb, void *cb_ctx, uint max_hash, in bcm_bloom_create() argument
70 if (!bloom || !alloc_cb || (max_hash == 0)) { in bcm_bloom_create()
83 bp->max_hash = max_hash; in bcm_bloom_create()
84 bp->hash = (*alloc_cb)(cb_ctx, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
85 memset(bp->hash, 0, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
127 sizeof(*bp->hash) * bp->max_hash); in bcm_bloom_destroy()
142 for (i = 0; i < bp->max_hash; ++i) { in bcm_bloom_add_hash()
147 if (i >= bp->max_hash) in bcm_bloom_add_hash()
161 if (idx >= bp->max_hash) in bcm_bloom_remove_hash()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmbloom.c55 uint max_hash; member
64 bcm_bloom_free_t free_cb, void *cb_ctx, uint max_hash, in bcm_bloom_create() argument
70 if (!bloom || !alloc_cb || (max_hash == 0)) { in bcm_bloom_create()
83 bp->max_hash = max_hash; in bcm_bloom_create()
84 bp->hash = (*alloc_cb)(cb_ctx, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
85 memset(bp->hash, 0, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
127 sizeof(*bp->hash) * bp->max_hash); in bcm_bloom_destroy()
142 for (i = 0; i < bp->max_hash; ++i) { in bcm_bloom_add_hash()
147 if (i >= bp->max_hash) in bcm_bloom_add_hash()
161 if (idx >= bp->max_hash) in bcm_bloom_remove_hash()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmbloom.c55 uint max_hash; member
64 bcm_bloom_free_t free_cb, void *cb_ctx, uint max_hash, in bcm_bloom_create() argument
70 if (!bloom || !alloc_cb || (max_hash == 0)) { in bcm_bloom_create()
83 bp->max_hash = max_hash; in bcm_bloom_create()
84 bp->hash = (*alloc_cb)(cb_ctx, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
85 memset(bp->hash, 0, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
127 sizeof(*bp->hash) * bp->max_hash); in bcm_bloom_destroy()
142 for (i = 0; i < bp->max_hash; ++i) { in bcm_bloom_add_hash()
147 if (i >= bp->max_hash) in bcm_bloom_add_hash()
161 if (idx >= bp->max_hash) in bcm_bloom_remove_hash()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmbloom.c49 uint max_hash; member
58 bcm_bloom_free_t free_cb, void *cb_ctx, uint max_hash, in bcm_bloom_create() argument
64 if (!bloom || !alloc_cb || (max_hash == 0)) { in bcm_bloom_create()
77 bp->max_hash = max_hash; in bcm_bloom_create()
78 bp->hash = (*alloc_cb)(cb_ctx, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
83 memset(bp->hash, 0, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
120 sizeof(*bp->hash) * bp->max_hash); in bcm_bloom_destroy()
135 for (i = 0; i < bp->max_hash; ++i) { in bcm_bloom_add_hash()
140 if (i >= bp->max_hash) in bcm_bloom_add_hash()
154 if (idx >= bp->max_hash) in bcm_bloom_remove_hash()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmbloom.c49 uint max_hash; member
58 bcm_bloom_free_t free_cb, void *cb_ctx, uint max_hash, in bcm_bloom_create() argument
64 if (!bloom || !alloc_cb || (max_hash == 0)) { in bcm_bloom_create()
77 bp->max_hash = max_hash; in bcm_bloom_create()
78 bp->hash = (*alloc_cb)(cb_ctx, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
83 memset(bp->hash, 0, sizeof(*bp->hash) * max_hash); in bcm_bloom_create()
120 sizeof(*bp->hash) * bp->max_hash); in bcm_bloom_destroy()
135 for (i = 0; i < bp->max_hash; ++i) { in bcm_bloom_add_hash()
140 if (i >= bp->max_hash) in bcm_bloom_add_hash()
154 if (idx >= bp->max_hash) in bcm_bloom_remove_hash()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dbcmbloom.h43 bcm_bloom_free_t free_cb, void *callback_ctx, uint max_hash,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dbcmbloom.h43 bcm_bloom_free_t free_cb, void *callback_ctx, uint max_hash,
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dbcmbloom.h51 bcm_bloom_free_t free_cb, void *callback_ctx, uint max_hash,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dbcmbloom.h51 bcm_bloom_free_t free_cb, void *callback_ctx, uint max_hash,
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dbcmbloom.h51 bcm_bloom_free_t free_cb, void *callback_ctx, uint max_hash,