/linux-4.1.27/drivers/of/ |
H A D | unittest.c | 52 np = of_find_node_by_path("/testcase-data"); of_unittest_find_node_by_name() 53 unittest(np && !strcmp("/testcase-data", np->full_name), of_unittest_find_node_by_name() 54 "find /testcase-data failed\n"); of_unittest_find_node_by_name() 58 np = of_find_node_by_path("/testcase-data/"); of_unittest_find_node_by_name() 59 unittest(!np, "trailing '/' on /testcase-data/ should fail\n"); of_unittest_find_node_by_name() 61 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_find_node_by_name() 62 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), of_unittest_find_node_by_name() 63 "find /testcase-data/phandle-tests/consumer-a failed\n"); of_unittest_find_node_by_name() 66 np = of_find_node_by_path("testcase-alias"); of_unittest_find_node_by_name() 67 unittest(np && !strcmp("/testcase-data", np->full_name), of_unittest_find_node_by_name() 68 "find testcase-alias failed\n"); of_unittest_find_node_by_name() 72 np = of_find_node_by_path("testcase-alias/"); of_unittest_find_node_by_name() 73 unittest(!np, "trailing '/' on testcase-alias/ should fail\n"); of_unittest_find_node_by_name() 75 np = of_find_node_by_path("testcase-alias/phandle-tests/consumer-a"); of_unittest_find_node_by_name() 76 unittest(np && !strcmp("/testcase-data/phandle-tests/consumer-a", np->full_name), of_unittest_find_node_by_name() 77 "find testcase-alias/phandle-tests/consumer-a failed\n"); of_unittest_find_node_by_name() 80 np = of_find_node_by_path("/testcase-data/missing-path"); of_unittest_find_node_by_name() 88 np = of_find_node_by_path("testcase-alias/missing-path"); of_unittest_find_node_by_name() 92 np = of_find_node_opts_by_path("/testcase-data:testoption", &options); of_unittest_find_node_by_name() 97 np = of_find_node_opts_by_path("/testcase-data:test/option", &options); of_unittest_find_node_by_name() 102 np = of_find_node_opts_by_path("/testcase-data/testcase-device1:test/option", &options); of_unittest_find_node_by_name() 107 np = of_find_node_opts_by_path("/testcase-data:testoption", NULL); of_unittest_find_node_by_name() 111 np = of_find_node_opts_by_path("testcase-alias:testaliasoption", of_unittest_find_node_by_name() 117 np = of_find_node_opts_by_path("testcase-alias:test/alias/option", of_unittest_find_node_by_name() 123 np = of_find_node_opts_by_path("testcase-alias:testaliasoption", NULL); of_unittest_find_node_by_name() 128 np = of_find_node_opts_by_path("testcase-alias", &options); of_unittest_find_node_by_name() 143 np = of_find_node_by_path("/testcase-data"); of_unittest_dynamic() 145 pr_err("missing testcase data\n"); of_unittest_dynamic() 289 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_parse_phandle_with_args() 291 pr_err("missing testcase data\n"); of_unittest_parse_phandle_with_args() 392 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest_property_string() 394 pr_err("No testcase data in device tree\n"); of_unittest_property_string() 501 n1 = __of_node_dup(NULL, "/testcase-data/changeset/n1"); of_unittest_changeset() 502 unittest(n1, "testcase setup failure\n"); of_unittest_changeset() 503 n2 = __of_node_dup(NULL, "/testcase-data/changeset/n2"); of_unittest_changeset() 504 unittest(n2, "testcase setup failure\n"); of_unittest_changeset() 505 n21 = __of_node_dup(NULL, "%s/%s", "/testcase-data/changeset/n2", "n21"); of_unittest_changeset() 506 unittest(n21, "testcase setup failure %p\n", n21); of_unittest_changeset() 507 nremove = of_find_node_by_path("/testcase-data/changeset/node-remove"); of_unittest_changeset() 508 unittest(nremove, "testcase setup failure\n"); of_unittest_changeset() 510 unittest(ppadd, "testcase setup failure\n"); of_unittest_changeset() 512 unittest(ppupdate, "testcase setup failure\n"); of_unittest_changeset() 534 unittest((np = of_find_node_by_path("/testcase-data/changeset/n2/n21")), of_unittest_changeset() 552 np = of_find_node_by_path("/testcase-data/interrupts/interrupts0"); of_unittest_parse_interrupts() 554 pr_err("missing testcase data\n"); of_unittest_parse_interrupts() 573 np = of_find_node_by_path("/testcase-data/interrupts/interrupts1"); of_unittest_parse_interrupts() 575 pr_err("missing testcase data\n"); of_unittest_parse_interrupts() 626 np = of_find_node_by_path("/testcase-data/interrupts/interrupts-extended0"); of_unittest_parse_interrupts_extended() 628 pr_err("missing testcase data\n"); of_unittest_parse_interrupts_extended() 711 { .path = "/testcase-data/match-node/name0", .data = "A", }, 712 { .path = "/testcase-data/match-node/name1", .data = "B", }, 713 { .path = "/testcase-data/match-node/a/name2", .data = "Ca", }, 714 { .path = "/testcase-data/match-node/b/name2", .data = "Cb", }, 715 { .path = "/testcase-data/match-node/c/name2", .data = "Cc", }, 716 { .path = "/testcase-data/match-node/name3", .data = "E", }, 717 { .path = "/testcase-data/match-node/name4", .data = "G", }, 718 { .path = "/testcase-data/match-node/name5", .data = "H", }, 719 { .path = "/testcase-data/match-node/name6", .data = "G", }, 720 { .path = "/testcase-data/match-node/name7", .data = "I", }, 721 { .path = "/testcase-data/match-node/name8", .data = "J", }, 722 { .path = "/testcase-data/match-node/name9", .data = "K", }, 734 unittest(0, "missing testcase node %s\n", of_unittest_match_node() 769 np = of_find_node_by_path("/testcase-data"); of_unittest_platform_populate() 773 np = of_find_node_by_path("/testcase-data/testcase-device1"); of_unittest_platform_populate() 781 np = of_find_node_by_path("/testcase-data/testcase-device2"); of_unittest_platform_populate() 787 np = of_find_node_by_path("/testcase-data/platform-tests"); of_unittest_platform_populate() 788 unittest(np, "No testcase data in device tree\n"); of_unittest_platform_populate() 897 pr_warn("%s: No testcase data to attach; not running tests\n", unittest_data_add() 1072 base = "/testcase-data/overlay-node/test-bus"; unittest_path() 1075 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; unittest_path() 1106 "/testcase-data/overlay%d", nr); overlay_path() 1112 static const char *bus_path = "/testcase-data/overlay-node/test-bus"; 1940 np = of_find_node_by_path("/testcase-data/phandle-tests/consumer-a"); of_unittest() 1942 pr_info("No testcase data in device tree; not running tests\n"); of_unittest() 1962 /* Double check linkage after removing testcase data */ of_unittest()
|
/linux-4.1.27/tools/testing/selftests/powerpc/stringloops/ |
H A D | memcmp.c | 41 static int testcase(void) testcase() function 102 return test_harness(testcase, "memcmp"); main()
|
/linux-4.1.27/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 12 echo "Usage: ftracetest [options] [testcase(s)] [testcase-directory(s)]" 70 usage 1 "$1 is not a testcase" 142 testcase() { # testfile function 234 testcase $1
|
/linux-4.1.27/tools/testing/selftests/powerpc/mm/ |
H A D | hugetlb_vs_thp_test.c | 50 * For the purposes of this testcase it's preferable to spin in test_body()
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | mmc_test.c | 109 * @testcase: number of test case 116 int testcase; member in struct:mmc_test_general_result 140 * @gr: pointer to results of current testcase 2689 static void mmc_test_run(struct mmc_test_card *test, int testcase) mmc_test_run() argument 2701 if (testcase && ((i + 1) != testcase)) mmc_test_run() 2726 gr->testcase = i; mmc_test_run() 2823 seq_printf(sf, "Test %d: %d\n", gr->testcase + 1, gr->result); mtf_test_show() 2850 long testcase; local 2853 ret = kstrtol_from_user(buf, count, 10, &testcase); 2880 mmc_test_run(test, testcase);
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | cw1200.h | 282 /* Workaround for WFD testcase 6.1.10*/
|
/linux-4.1.27/lib/ |
H A D | locking-selftest.c | 220 * Generate different permutations of the same testcase, using
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
H A D | test-core.c | 1178 /* Perform testcase specific register setup */ setup_test_context()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | init_64.c | 379 * is merely the zero page. The 'bigcore' testcase in GDB flush_dcache_page()
|