Home
last modified time | relevance | path

Searched refs:addr_hash (Results 1 – 2 of 2) sorted by relevance

/drivers/net/
Dgtp.c79 struct hlist_head *addr_hash; member
146 head = &gtp->addr_hash[ipv4_hashfn(ms_addr) % gtp->hash_size]; in ipv4_pdp_find()
653 kfree(gtp->addr_hash); in gtp_destructor()
701 kfree(gtp->addr_hash); in gtp_newlink()
774 gtp->addr_hash = kmalloc(sizeof(struct hlist_head) * hsize, in gtp_hashtable_new()
776 if (gtp->addr_hash == NULL) in gtp_hashtable_new()
787 INIT_HLIST_HEAD(&gtp->addr_hash[i]); in gtp_hashtable_new()
792 kfree(gtp->addr_hash); in gtp_hashtable_new()
1013 hlist_add_head_rcu(&pctx->hlist_addr, &gtp->addr_hash[hash_ms]); in gtp_pdp_add()
/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c104 static unsigned int addr_hash(struct l2t_data *d, const u32 *addr, in addr_hash() function
428 int hash = addr_hash(d, addr, addr_len, ifidx); in cxgb4_l2t_get()
542 int hash = addr_hash(d, addr, addr_len, ifidx); in t4_l2t_update()