Searched refs:meter_entry (Results 1 – 1 of 1) sorted by relevance
573 struct nfp_meter_entry *meter_entry = NULL; in nfp_flower_add_meter_entry() local576 meter_entry = rhashtable_lookup_fast(&priv->meter_table, in nfp_flower_add_meter_entry()579 if (meter_entry) in nfp_flower_add_meter_entry()580 return meter_entry; in nfp_flower_add_meter_entry()582 meter_entry = kzalloc(sizeof(*meter_entry), GFP_KERNEL); in nfp_flower_add_meter_entry()583 if (!meter_entry) in nfp_flower_add_meter_entry()586 meter_entry->meter_id = meter_id; in nfp_flower_add_meter_entry()587 meter_entry->used = jiffies; in nfp_flower_add_meter_entry()588 if (rhashtable_insert_fast(&priv->meter_table, &meter_entry->ht_node, in nfp_flower_add_meter_entry()590 kfree(meter_entry); in nfp_flower_add_meter_entry()[all …]