Lines Matching refs:hash
148 unsigned char hash = 0; in hash_item() local
152 hash ^= addr[i]; in hash_item()
154 hash ^= (__force __u32)sid >> i; in hash_item()
156 hash ^= hash >> i; in hash_item()
158 return hash & PPPOE_HASH_MASK; in hash_item()
169 int hash = hash_item(sid, addr); in __get_item() local
172 ret = pn->hash_table[hash]; in __get_item()
186 int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote); in __set_item() local
189 ret = pn->hash_table[hash]; in __set_item()
198 po->next = pn->hash_table[hash]; in __set_item()
199 pn->hash_table[hash] = po; in __set_item()
207 int hash = hash_item(sid, addr); in __delete_item() local
210 ret = pn->hash_table[hash]; in __delete_item()
211 src = &pn->hash_table[hash]; in __delete_item()
1087 int hash = hash_item(po->pppoe_pa.sid, po->pppoe_pa.remote); in pppoe_seq_next() local
1090 while (++hash < PPPOE_HASH_SIZE) { in pppoe_seq_next()
1091 po = pn->hash_table[hash]; in pppoe_seq_next()