Searched refs:vcap_counter (Results 1 – 5 of 5) 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 */
1601 struct vcap_counter *ctr) in vcap_write_counter()2272 struct vcap_counter ctr = {0}; in vcap_add_rule()2471 struct vcap_counter ctr; in vcap_mod_rule()2936 struct vcap_counter *ctr) in vcap_read_counter()3273 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_set_counter()3294 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr) in vcap_rule_get_counter()3398 struct vcap_counter *ctr, u64 cookie) in vcap_get_rule_count_by_cookie()3401 struct vcap_counter temp = {}; in vcap_get_rule_count_by_cookie()
1481 struct vcap_counter ctr = { .value = 0, .sticky = false}; in vcap_api_set_rule_counter_test()1482 struct vcap_counter ctr2 = { .value = 101, .sticky = true}; in vcap_api_set_rule_counter_test()1534 struct vcap_counter ctr = {}; in vcap_api_get_rule_counter_test()1535 struct vcap_counter ctr2 = {}; in vcap_api_get_rule_counter_test()
587 struct vcap_counter count = {}; in lan966x_tc_flower_stats()