Searched refs:vcap_counter (Results 1 – 6 of 6) sorted by relevance
146 struct vcap_counter { struct209 struct vcap_counter *ctr, u64 cookie);210 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr);211 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()2911 struct vcap_counter *ctr) in vcap_read_counter()3248 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_set_counter()3269 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_get_counter()3373 struct vcap_counter *ctr, u64 cookie) in vcap_get_rule_count_by_cookie()3376 struct vcap_counter temp = {}; in vcap_get_rule_count_by_cookie()
1485 struct vcap_counter ctr = { .value = 0, .sticky = false}; in vcap_api_set_rule_counter_test()1486 struct vcap_counter ctr2 = { .value = 101, .sticky = true}; in vcap_api_set_rule_counter_test()1538 struct vcap_counter ctr = {}; in vcap_api_get_rule_counter_test()1539 struct vcap_counter ctr2 = {}; in vcap_api_get_rule_counter_test()
581 struct vcap_counter count = {}; in lan966x_tc_flower_stats()
1325 struct vcap_counter ctr = {}; in sparx5_tc_flower_stats()