Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c600 struct vcap_client_keyfield ckf = { in vcap_api_encode_keyfield_test() local
619 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_keyfield_test()
661 struct vcap_client_keyfield ckf = { in vcap_api_encode_max_keyfield_test() local
697 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_max_keyfield_test()
845 struct vcap_client_keyfield ckf[] = { in vcap_api_encode_rule_keyset_test() local
904 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_encode_rule_keyset_test()
905 list_add_tail(&ckf[idx].ctrl.list, &rule.data.keyfields); in vcap_api_encode_rule_keyset_test()
1003 struct vcap_client_keyfield *ckf, *next_ckf; in vcap_free_ckf() local
1005 list_for_each_entry_safe(ckf, next_ckf, &rule->keyfields, ctrl.list) { in vcap_free_ckf()
1006 list_del(&ckf->ctrl.list); in vcap_free_ckf()
[all …]
H A 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()
1013 struct vcap_client_keyfield *ckf, *newckf; in vcap_dup_rule() local
1031 list_for_each_entry(ckf, &ri->data.keyfields, ctrl.list) { in vcap_dup_rule()
1032 newckf = kmemdup(ckf, sizeof(*newckf), GFP_KERNEL); in vcap_dup_rule()
1048 list_for_each_entry_safe(ckf, newck in vcap_dup_rule()
1880 const struct vcap_client_keyfield *ckf; _vcap_rule_find_keysets() local
1959 const struct vcap_client_actionfield *ckf; vcap_rule_find_actionsets() local
2399 struct vcap_client_keyfield *ckf, *next_ckf; vcap_free_rule() local
2625 struct vcap_client_keyfield *ckf; vcap_find_keyfield() local
2656 const struct vcap_client_keyfield *ckf; vcap_keyfield_unique() local
2792 struct vcap_client_keyfield *ckf; vcap_rule_get_key_u32() local
3318 vcap_rule_get_key(struct vcap_rule * rule,enum vcap_key_field key,struct vcap_client_keyfield * ckf) vcap_rule_get_key() argument
3515 struct vcap_client_keyfield *ckf, *next_ckf; vcap_filter_rule_keys() local
3583 struct vcap_client_keyfield *ckf; vcap_copy_rule() local
[all...]
H A 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()