Searched refs:vcap_counter (Results 1 – 6 of 6) sorted by relevance
146 struct vcap_counter { struct211 struct vcap_counter *ctr, u64 cookie);212 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr);213 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr);
37 struct vcap_counter counter; /* last read counter value */
1591 struct vcap_counter *ctr) in vcap_write_counter()2262 struct vcap_counter ctr = {0}; in vcap_add_rule()2458 struct vcap_counter ctr; in vcap_mod_rule()2923 struct vcap_counter *ctr) in vcap_read_counter()3260 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_set_counter()3281 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_get_counter()3385 struct vcap_counter *ctr, u64 cookie) in vcap_get_rule_count_by_cookie()3388 struct vcap_counter temp = {}; in vcap_get_rule_count_by_cookie()
1477 struct vcap_counter ctr = { .value = 0, .sticky = false}; in vcap_api_set_rule_counter_test()1478 struct vcap_counter ctr2 = { .value = 101, .sticky = true}; in vcap_api_set_rule_counter_test()1530 struct vcap_counter ctr = {}; in vcap_api_get_rule_counter_test()1531 struct vcap_counter ctr2 = {}; in vcap_api_get_rule_counter_test()
587 struct vcap_counter count = {}; in lan966x_tc_flower_stats()
1416 struct vcap_counter ctr = {}; in sparx5_tc_flower_stats()