Searched refs:meter_entry (Results 1 – 1 of 1) sorted by relevance
567 struct nfp_meter_entry *meter_entry = NULL; in nfp_flower_add_meter_entry() local570 meter_entry = rhashtable_lookup_fast(&priv->meter_table, in nfp_flower_add_meter_entry()573 if (meter_entry) in nfp_flower_add_meter_entry()574 return meter_entry; in nfp_flower_add_meter_entry()576 meter_entry = kzalloc(sizeof(*meter_entry), GFP_KERNEL); in nfp_flower_add_meter_entry()577 if (!meter_entry) in nfp_flower_add_meter_entry()580 meter_entry->meter_id = meter_id; in nfp_flower_add_meter_entry()581 meter_entry->used = jiffies; in nfp_flower_add_meter_entry()582 if (rhashtable_insert_fast(&priv->meter_table, &meter_entry->ht_node, in nfp_flower_add_meter_entry()584 kfree(meter_entry); in nfp_flower_add_meter_entry()[all …]