Home
last modified time | relevance | path

Searched refs:ckf (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/microchip/vcap/
Dvcap_api_kunit.c596 struct vcap_client_keyfield ckf = { in vcap_api_encode_keyfield_test() local
615 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_keyfield_test()
657 struct vcap_client_keyfield ckf = { in vcap_api_encode_max_keyfield_test() local
693 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_max_keyfield_test()
841 struct vcap_client_keyfield ckf[] = { in vcap_api_encode_rule_keyset_test() local
900 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_encode_rule_keyset_test()
901 list_add_tail(&ckf[idx].ctrl.list, &rule.data.keyfields); in vcap_api_encode_rule_keyset_test()
999 struct vcap_client_keyfield *ckf, *next_ckf; in vcap_free_ckf() local
1001 list_for_each_entry_safe(ckf, next_ckf, &rule->keyfields, ctrl.list) { in vcap_free_ckf()
1002 list_del(&ckf->ctrl.list); in vcap_free_ckf()
[all …]
Dvcap_api.c637 const struct vcap_client_keyfield *ckf; in vcap_encode_rule_keyset() local
673 list_for_each_entry(ckf, &ri->data.keyfields, ctrl.list) { in vcap_encode_rule_keyset()
675 if (ckf->ctrl.key >= keyset_size) { in vcap_encode_rule_keyset()
677 __func__, __LINE__, ckf->ctrl.key); in vcap_encode_rule_keyset()
680 vcap_copy_from_client_keyfield(&ri->data, &tempkf, ckf); in vcap_encode_rule_keyset()
681 vcap_encode_keyfield(ri, &tempkf, &kf_table[ckf->ctrl.key], in vcap_encode_rule_keyset()
1003 struct vcap_client_keyfield *ckf, *newckf; in vcap_dup_rule() local
1021 list_for_each_entry(ckf, &ri->data.keyfields, ctrl.list) { in vcap_dup_rule()
1022 newckf = kmemdup(ckf, sizeof(*newckf), GFP_KERNEL); in vcap_dup_rule()
1038 list_for_each_entry_safe(ckf, newckf, &duprule->data.keyfields, ctrl.list) { in vcap_dup_rule()
[all …]
Dvcap_api_debugfs.c197 struct vcap_client_keyfield *ckf; in vcap_debugfs_show_rule_keyset() local
203 list_for_each_entry(ckf, &ri->data.keyfields, ctrl.list) { in vcap_debugfs_show_rule_keyset()
205 vcap_debugfs_show_rule_keyfield(vctrl, out, ckf->ctrl.key, in vcap_debugfs_show_rule_keyset()
206 keyfield, &ckf->data); in vcap_debugfs_show_rule_keyset()