Searched refs:hash_idx (Results 1 – 2 of 2) sorted by relevance
71 u8 hash_idx; in brcmf_flowring_lookup() local89 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_lookup()94 if ((sta || (memcmp(hash[hash_idx].mac, mac, ETH_ALEN) == 0)) && in brcmf_flowring_lookup()95 (hash[hash_idx].fifo == fifo) && in brcmf_flowring_lookup()96 (hash[hash_idx].ifidx == ifidx)) { in brcmf_flowring_lookup()100 hash_idx++; in brcmf_flowring_lookup()103 return hash[hash_idx].flowid; in brcmf_flowring_lookup()114 u8 hash_idx; in brcmf_flowring_create() local132 hash_idx = sta ? BRCMF_FLOWRING_HASH_STA(fifo, ifidx) : in brcmf_flowring_create()137 if ((hash[hash_idx].ifidx == BRCMF_FLOWRING_INVALID_IFIDX) && in brcmf_flowring_create()[all …]
537 u32 hash_idx; in mesh_path_add() local552 hash_idx = mesh_table_hash(dst, sdata, tbl); in mesh_path_add()553 bucket = &tbl->hash_buckets[hash_idx]; in mesh_path_add()555 spin_lock(&tbl->hashwlock[hash_idx]); in mesh_path_add()599 spin_unlock(&tbl->hashwlock[hash_idx]); in mesh_path_add()607 spin_unlock(&tbl->hashwlock[hash_idx]); in mesh_path_add()671 u32 hash_idx; in mpp_path_add() local702 hash_idx = mesh_table_hash(dst, sdata, tbl); in mpp_path_add()703 bucket = &tbl->hash_buckets[hash_idx]; in mpp_path_add()705 spin_lock(&tbl->hashwlock[hash_idx]); in mpp_path_add()[all …]