Lines Matching refs:ckf

599 	struct vcap_client_keyfield ckf = {  in vcap_api_encode_keyfield_test()  local
618 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_keyfield_test()
660 struct vcap_client_keyfield ckf = { in vcap_api_encode_max_keyfield_test() local
696 vcap_encode_keyfield(&rule, &ckf, &rf, tgt); in vcap_api_encode_max_keyfield_test()
844 struct vcap_client_keyfield ckf[] = { in vcap_api_encode_rule_keyset_test() local
903 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_encode_rule_keyset_test()
904 list_add_tail(&ckf[idx].ctrl.list, &rule.data.keyfields); in vcap_api_encode_rule_keyset_test()
1002 struct vcap_client_keyfield *ckf, *next_ckf; in vcap_free_ckf() local
1004 list_for_each_entry_safe(ckf, next_ckf, &rule->keyfields, ctrl.list) { in vcap_free_ckf()
1005 list_del(&ckf->ctrl.list); in vcap_free_ckf()
1006 kfree(ckf); in vcap_free_ckf()
1197 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_basic_test() local
1224 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_basic_test()
1225 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_basic_test()
1244 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_failed_test() local
1271 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_failed_test()
1272 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_failed_test()
1291 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_many_test() local
1318 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_many_test()
1319 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_many_test()
2033 struct vcap_client_keyfield *ckf, *next; in vcap_api_filter_unsupported_keys_test() local
2040 ckf = kzalloc(sizeof(*ckf), GFP_KERNEL); in vcap_api_filter_unsupported_keys_test()
2041 if (ckf) { in vcap_api_filter_unsupported_keys_test()
2042 ckf->ctrl.key = keylist[idx]; in vcap_api_filter_unsupported_keys_test()
2043 list_add_tail(&ckf->ctrl.list, &ri.data.keyfields); in vcap_api_filter_unsupported_keys_test()
2056 list_for_each_entry_safe(ckf, next, &ri.data.keyfields, ctrl.list) { in vcap_api_filter_unsupported_keys_test()
2057 KUNIT_EXPECT_EQ(test, expected[idx], ckf->ctrl.key); in vcap_api_filter_unsupported_keys_test()
2058 list_del(&ckf->ctrl.list); in vcap_api_filter_unsupported_keys_test()
2059 kfree(ckf); in vcap_api_filter_unsupported_keys_test()
2157 struct vcap_client_keyfield *ckf, *next; in vcap_api_filter_keylist_test() local
2164 ckf = kzalloc(sizeof(*ckf), GFP_KERNEL); in vcap_api_filter_keylist_test()
2165 if (ckf) { in vcap_api_filter_keylist_test()
2166 ckf->ctrl.key = keylist[idx]; in vcap_api_filter_keylist_test()
2167 list_add_tail(&ckf->ctrl.list, &ri.data.keyfields); in vcap_api_filter_keylist_test()
2181 list_for_each_entry_safe(ckf, next, &ri.data.keyfields, ctrl.list) { in vcap_api_filter_keylist_test()
2182 KUNIT_EXPECT_EQ(test, expected[idx], ckf->ctrl.key); in vcap_api_filter_keylist_test()
2183 list_del(&ckf->ctrl.list); in vcap_api_filter_keylist_test()
2184 kfree(ckf); in vcap_api_filter_keylist_test()