Searched refs:addr_hash (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/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() 983 kfree(gtp->addr_hash); in gtp_destructor() 1102 kfree(gtp->addr_hash); in gtp_newlink() 1180 gtp->addr_hash = kmalloc_array(hsize, sizeof(struct hlist_head), in gtp_hashtable_new() 1182 if (gtp->addr_hash == NULL) in gtp_hashtable_new() 1193 INIT_HLIST_HEAD(>p->addr_hash[i]); in gtp_hashtable_new() 1198 kfree(gtp->addr_hash); in gtp_hashtable_new() 1408 hlist_add_head_rcu(&pctx->hlist_addr, >p->addr_hash[hash_ms]); in gtp_pdp_add()
|
/linux-5.19.10/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()
|