Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c220 struct nfp_mask_id_table *mask_entry; in nfp_add_mask_table() local
227 mask_entry = kmalloc(sizeof(*mask_entry), GFP_KERNEL); in nfp_add_mask_table()
228 if (!mask_entry) { in nfp_add_mask_table()
233 INIT_HLIST_NODE(&mask_entry->link); in nfp_add_mask_table()
234 mask_entry->mask_id = mask_id; in nfp_add_mask_table()
236 mask_entry->hash_key = hash_key; in nfp_add_mask_table()
237 mask_entry->ref_cnt = 1; in nfp_add_mask_table()
238 hash_add(priv->mask_table, &mask_entry->link, hash_key); in nfp_add_mask_table()
247 struct nfp_mask_id_table *mask_entry; in nfp_search_mask_table() local
252 hash_for_each_possible(priv->mask_table, mask_entry, link, hash_key) in nfp_search_mask_table()
[all …]