Searched refs:addr_hash (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/net/ |
D | gtp.c | 77 struct hlist_head *addr_hash; member 162 head = >p->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find() 987 kfree(gtp->addr_hash); in gtp_destructor() 1106 kfree(gtp->addr_hash); in gtp_newlink() 1184 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new() 1186 if (gtp->addr_hash == NULL) in gtp_hashtable_new() 1197 INIT_HLIST_HEAD(>p->addr_hash[i]); in gtp_hashtable_new() 1202 kfree(gtp->addr_hash); in gtp_hashtable_new() 1412 hlist_add_head_rcu(&pctx->hlist_addr, >p->addr_hash[hash_ms]); in gtp_pdp_add()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 104 static unsigned int addr_hash(struct l2t_data *d, const u32 *addr, in addr_hash() function 425 int hash = addr_hash(d, addr, addr_len, ifidx); in cxgb4_l2t_get() 518 hash = addr_hash(d, addr, addr_len, ifidx); in t4_l2t_update()
|