Lines Matching refs:keyset

222 					 enum vcap_keyfield_set keyset)  in vcap_verify_keystream_keyset()  argument
233 if (vcap_keyfield_count(vctrl, vt, keyset) == 0) in vcap_verify_keystream_keyset()
236 info = vcap_keyfieldset(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
246 tgt = vcap_keyfield_typegroup(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
250 fields = vcap_keyfields(vctrl, vt, keyset); in vcap_verify_keystream_keyset()
398 enum vcap_keyfield_set keyset) in vcap_keyfields() argument
401 if (keyset >= vctrl->vcaps[vt].keyfield_set_size) in vcap_keyfields()
403 return vctrl->vcaps[vt].keyfield_set_map[keyset]; in vcap_keyfields()
409 enum vcap_keyfield_set keyset) in vcap_keyfieldset() argument
414 if (keyset >= vctrl->vcaps[vt].keyfield_set_size) in vcap_keyfieldset()
416 kset = &vctrl->vcaps[vt].keyfield_set[keyset]; in vcap_keyfieldset()
426 enum vcap_type vt, enum vcap_keyfield_set keyset) in vcap_keyfield_typegroup() argument
428 const struct vcap_set *kset = vcap_keyfieldset(vctrl, vt, keyset); in vcap_keyfield_typegroup()
438 enum vcap_type vt, enum vcap_keyfield_set keyset) in vcap_keyfield_count() argument
441 if (keyset >= vctrl->vcaps[vt].keyfield_set_size) in vcap_keyfield_count()
443 return vctrl->vcaps[vt].keyfield_set_map_size[keyset]; in vcap_keyfield_count()
644 kf_table = vcap_keyfields(ri->vctrl, ri->admin->vtype, ri->data.keyset); in vcap_encode_rule_keyset()
647 __func__, __LINE__, ri->data.keyset); in vcap_encode_rule_keyset()
652 ri->data.keyset); in vcap_encode_rule_keyset()
655 __func__, __LINE__, ri->data.keyset); in vcap_encode_rule_keyset()
660 ri->data.keyset); in vcap_encode_rule_keyset()
663 __func__, __LINE__, ri->data.keyset); in vcap_encode_rule_keyset()
885 enum vcap_keyfield_set keyset) in vcap_set_rule_set_keyset() argument
891 kset = vcap_keyfieldset(ri->vctrl, ri->admin->vtype, keyset); in vcap_set_rule_set_keyset()
898 ri->data.keyset = keyset; in vcap_set_rule_set_keyset()
1484 enum vcap_keyfield_set keyset; in vcap_decode_keyset() local
1503 keyset = matches.keysets[0]; in vcap_decode_keyset()
1504 keyfield_count = vcap_keyfield_count(vctrl, vt, keyset); in vcap_decode_keyset()
1505 keyfield = vcap_keyfields(vctrl, vt, keyset); in vcap_decode_keyset()
1506 tgt = vcap_keyfield_typegroup(vctrl, vt, keyset); in vcap_decode_keyset()
1528 return vcap_set_rule_set_keyset((struct vcap_rule *)ri, keyset); in vcap_decode_keyset()
1714 enum vcap_keyfield_set keyset = rule->keyset; in vcap_add_type_keyfield() local
1720 kset = vcap_keyfieldset(ri->vctrl, vt, keyset); in vcap_add_type_keyfield()
1726 fields = vcap_keyfields(ri->vctrl, vt, keyset); in vcap_add_type_keyfield()
1778 enum vcap_keyfield_set keyset) in vcap_keyset_list_add() argument
1785 if (keysetlist->keysets[idx] == keyset) in vcap_keyset_list_add()
1787 keysetlist->keysets[keysetlist->cnt++] = keyset; in vcap_keyset_list_add()
1811 enum vcap_keyfield_set keyset) in vcap_keyset_name() argument
1813 return vctrl->stats->keyfield_set_names[keyset]; in vcap_keyset_name()
1843 enum vcap_keyfield_set keyset, in vcap_find_keyset_keyfield() argument
1849 fields = vcap_keyfields(vctrl, vtype, keyset); in vcap_find_keyset_keyfield()
1854 count = vcap_keyfield_count(vctrl, vtype, keyset); in vcap_find_keyset_keyfield()
1871 int keyset, found, keycount, map_size; in _vcap_rule_find_keysets() local
1886 for (keyset = 0; keyset < map_size; ++keyset) { in _vcap_rule_find_keysets()
1887 if (!map[keyset]) in _vcap_rule_find_keysets()
1894 keyset, ckf->ctrl.key)) in _vcap_rule_find_keysets()
1899 if (!vcap_keyset_list_add(matches, keyset)) in _vcap_rule_find_keysets()
2008 if (ri->data.keyset == VCAP_KFS_NO_VALUE) { in vcap_val_rule()
2016 keysets[0] = ri->data.keyset; in vcap_val_rule()
2358 ri->data.keyset = VCAP_KFS_NO_VALUE; in vcap_alloc_rule()
2625 enum vcap_keyfield_set keyset = rule->keyset; in vcap_lookup_keyfield() local
2629 if (keyset == VCAP_KFS_NO_VALUE) in vcap_lookup_keyfield()
2631 fields = vcap_keyfields(ri->vctrl, vt, keyset); in vcap_lookup_keyfield()
2656 enum vcap_keyfield_set keyset = rule->keyset; in vcap_keyfield_match_keyset() local
2661 if (keyset == VCAP_KFS_NO_VALUE) in vcap_keyfield_match_keyset()
2663 fields = vcap_keyfields(ri->vctrl, vt, keyset); in vcap_keyfield_match_keyset()
3525 rule->keyset); in vcap_filter_rule_keys()