Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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/drivers/misc/bcm-vk/
H A 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()
H A Dbcm_vk_msg.h87 u32 hash_idx; member
/linux/tools/perf/util/
H A Dbpf-filter.c78 int hash_idx; member
326 bpf_map_delete_elem(fd, &pfi->hash_idx); in destroy_idx_hash()
384 pfi->hash_idx = filter_idx; in create_idx_hash()
597 bpf_map_lookup_elem(fd, &pfi->hash_idx, &count); in perf_bpf_filter__lost_count()