Lines Matching refs:ckf

596 	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()
1003 kfree(ckf); in vcap_free_ckf()
1194 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_basic_test() local
1221 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_basic_test()
1222 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_basic_test()
1241 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_failed_test() local
1268 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_failed_test()
1269 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_failed_test()
1288 struct vcap_client_keyfield ckf[] = { in vcap_api_rule_find_keyset_many_test() local
1315 for (idx = 0; idx < ARRAY_SIZE(ckf); idx++) in vcap_api_rule_find_keyset_many_test()
1316 list_add_tail(&ckf[idx].ctrl.list, &ri.data.keyfields); in vcap_api_rule_find_keyset_many_test()
2038 struct vcap_client_keyfield *ckf, *next; in vcap_api_filter_unsupported_keys_test() local
2045 ckf = kzalloc(sizeof(*ckf), GFP_KERNEL); in vcap_api_filter_unsupported_keys_test()
2046 if (ckf) { in vcap_api_filter_unsupported_keys_test()
2047 ckf->ctrl.key = keylist[idx]; in vcap_api_filter_unsupported_keys_test()
2048 list_add_tail(&ckf->ctrl.list, &ri.data.keyfields); in vcap_api_filter_unsupported_keys_test()
2061 list_for_each_entry_safe(ckf, next, &ri.data.keyfields, ctrl.list) { in vcap_api_filter_unsupported_keys_test()
2062 KUNIT_EXPECT_EQ(test, expected[idx], ckf->ctrl.key); in vcap_api_filter_unsupported_keys_test()
2063 list_del(&ckf->ctrl.list); in vcap_api_filter_unsupported_keys_test()
2064 kfree(ckf); in vcap_api_filter_unsupported_keys_test()
2162 struct vcap_client_keyfield *ckf, *next; in vcap_api_filter_keylist_test() local
2169 ckf = kzalloc(sizeof(*ckf), GFP_KERNEL); in vcap_api_filter_keylist_test()
2170 if (ckf) { in vcap_api_filter_keylist_test()
2171 ckf->ctrl.key = keylist[idx]; in vcap_api_filter_keylist_test()
2172 list_add_tail(&ckf->ctrl.list, &ri.data.keyfields); in vcap_api_filter_keylist_test()
2186 list_for_each_entry_safe(ckf, next, &ri.data.keyfields, ctrl.list) { in vcap_api_filter_keylist_test()
2187 KUNIT_EXPECT_EQ(test, expected[idx], ckf->ctrl.key); in vcap_api_filter_keylist_test()
2188 list_del(&ckf->ctrl.list); in vcap_api_filter_keylist_test()
2189 kfree(ckf); in vcap_api_filter_keylist_test()