Lines Matching refs:ctr
1591 struct vcap_counter *ctr)
1595 admin->cache.counter = ctr->value;
1596 admin->cache.sticky = ctr->sticky;
2262 struct vcap_counter ctr = {0};
2282 ret = vcap_write_counter(ri, &ctr);
2458 struct vcap_counter ctr;
2482 memset(&ctr, 0, sizeof(ctr));
2483 err = vcap_write_counter(ri, &ctr);
2923 struct vcap_counter *ctr)
2931 ctr->value = admin->cache.counter;
2932 ctr->sticky = admin->cache.sticky;
3260 int vcap_rule_set_counter(struct vcap_rule *rule, struct vcap_counter *ctr)
3268 if (!ctr) {
3274 err = vcap_write_counter(ri, ctr);
3281 int vcap_rule_get_counter(struct vcap_rule *rule, struct vcap_counter *ctr)
3289 if (!ctr) {
3295 err = vcap_read_counter(ri, ctr);
3385 struct vcap_counter *ctr, u64 cookie)
3406 ctr->value += temp.value;