Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dflowring.c63 u16 hash_idx; in brcmf_flowring_lookup() local
81 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup()
83 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
87 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()
88 (hash[hash_idx].fifo == fifo) && in brcmf_flowring_lookup()
89 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup()
93 hash_idx++; in brcmf_flowring_lookup()
94 hash_idx &= (BRCMF_FLOWRING_HASHSIZE - 1); in brcmf_flowring_lookup()
97 return hash[hash_idx].flowid; in brcmf_flowring_lookup()
108 u16 hash_idx; in brcmf_flowring_create() local
[all …]
/Linux-v5.15/drivers/misc/bcm-vk/
Dbcm_vk_msg.c214 u32 hash_idx = hash_32(pid, VK_PID_HT_SHIFT_BIT); in bcm_vk_get_ctx() local
243 ctx->hash_idx = hash_idx; in bcm_vk_get_ctx()
244 list_add_tail(&ctx->node, &vk->pid_ht[hash_idx].head); in bcm_vk_get_ctx()
294 u32 hash_idx; in bcm_vk_free_ctx() local
316 hash_idx = ctx->hash_idx; in bcm_vk_free_ctx()
317 list_for_each_entry(entry, &vk->pid_ht[hash_idx].head, node) { in bcm_vk_free_ctx()
Dbcm_vk_msg.h87 u32 hash_idx; member