Home
last modified time | relevance | path

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

/net/openvswitch/
Dmeter.c42 static void ovs_meter_free(struct dp_meter *meter) in ovs_meter_free() argument
44 if (!meter) in ovs_meter_free()
47 kfree_rcu(meter, rcu); in ovs_meter_free()
60 struct dp_meter *meter; in lookup_meter() local
64 hlist_for_each_entry_rcu(meter, head, dp_hash_node) { in lookup_meter()
65 if (meter->id == meter_id) in lookup_meter()
66 return meter; in lookup_meter()
71 static void attach_meter(struct datapath *dp, struct dp_meter *meter) in attach_meter() argument
73 struct hlist_head *head = meter_hash_bucket(dp, meter->id); in attach_meter()
75 hlist_add_head_rcu(&meter->dp_hash_node, head); in attach_meter()
[all …]
DMakefile15 meter.o \