Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dmetadata.c210 struct nfp_mask_id_table *mask_entry; in nfp_add_mask_table() local
217 mask_entry = kmalloc(sizeof(*mask_entry), GFP_KERNEL); in nfp_add_mask_table()
218 if (!mask_entry) { in nfp_add_mask_table()
223 INIT_HLIST_NODE(&mask_entry->link); in nfp_add_mask_table()
224 mask_entry->mask_id = mask_id; in nfp_add_mask_table()
226 mask_entry->hash_key = hash_key; in nfp_add_mask_table()
227 mask_entry->ref_cnt = 1; in nfp_add_mask_table()
228 hash_add(priv->mask_table, &mask_entry->link, hash_key); in nfp_add_mask_table()
237 struct nfp_mask_id_table *mask_entry; in nfp_search_mask_table() local
242 hash_for_each_possible(priv->mask_table, mask_entry, link, hash_key) in nfp_search_mask_table()
[all …]