| /Linux-v5.4/drivers/mmc/core/ | 
| D | mmc_test.c | 177 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size)  in mmc_test_set_blksize()188 static void mmc_test_prepare_sbc(struct mmc_test_card *test,  in mmc_test_prepare_sbc()
 208 static void mmc_test_prepare_mrq(struct mmc_test_card *test,  in mmc_test_prepare_mrq()
 257 static int mmc_test_wait_busy(struct mmc_test_card *test)  in mmc_test_wait_busy()
 288 static int mmc_test_buffer_transfer(struct mmc_test_card *test,  in mmc_test_buffer_transfer()
 532 static void mmc_test_save_transfer_result(struct mmc_test_card *test,  in mmc_test_save_transfer_result()
 557 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes,  in mmc_test_print_rate()
 581 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes,  in mmc_test_print_avg_rate()
 625 static int __mmc_test_prepare(struct mmc_test_card *test, int write)  in __mmc_test_prepare()
 649 static int mmc_test_prepare_write(struct mmc_test_card *test)  in mmc_test_prepare_write()
 [all …]
 
 | 
| /Linux-v5.4/tools/testing/scatterlist/ | 
| D | main.c | 23 	struct test {  in main()  struct24 		int alloc_ret;  in main()
 25 		unsigned num_pages;  in main()
 26 		unsigned *pfn;  in main()
 27 		unsigned size;  in main()
 28 		unsigned int max_seg;  in main()
 29 		unsigned int expected_segments;  in main()
 30 	} *test, tests[] = {  in main()  local
 
 | 
| /Linux-v5.4/tools/perf/tests/ | 
| D | tests.h | 30 struct test {  struct32 	int (*func)(struct test *test, int subtest);  argument
 37 	} subtest;  argument
 43 int test__vmlinux_matches_kallsyms(struct test *test, int subtest);  argument
 
 | 
| D | attr.py | 33     def __init__(self, test, msg):  argument40     def __init__(self, test, arch):  argument
 47     def __init__(self, test):  argument
 
 | 
| D | builtin-test.c | 313 static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[])  in perf_test__matches()337 static int run_test(struct test *test, int subtest)  in run_test()
 509 static int shell_test__run(struct test *test, int subdir __maybe_unused)  in shell_test__run()
 543 		struct test test = {  in run_shell_tests()  local
 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/ | 
| D | test_sock_addr.c | 641 static int load_insns(const struct sock_addr_test *test,  in load_insns()674 static int bind4_prog_load(const struct sock_addr_test *test)  in bind4_prog_load()
 763 static int bind6_prog_load(const struct sock_addr_test *test)  in bind6_prog_load()
 829 static int load_path(const struct sock_addr_test *test, const char *path)  in load_path()
 850 static int connect4_prog_load(const struct sock_addr_test *test)  in connect4_prog_load()
 855 static int connect6_prog_load(const struct sock_addr_test *test)  in connect6_prog_load()
 860 static int xmsg_ret_only_prog_load(const struct sock_addr_test *test,  in xmsg_ret_only_prog_load()
 871 static int sendmsg_allow_prog_load(const struct sock_addr_test *test)  in sendmsg_allow_prog_load()
 876 static int sendmsg_deny_prog_load(const struct sock_addr_test *test)  in sendmsg_deny_prog_load()
 881 static int recvmsg_allow_prog_load(const struct sock_addr_test *test)  in recvmsg_allow_prog_load()
 [all …]
 
 | 
| D | test_sysctl.c | 1411 static int load_sysctl_prog_insns(struct sysctl_test *test,  in load_sysctl_prog_insns()1454 static int load_sysctl_prog_file(struct sysctl_test *test)  in load_sysctl_prog_file()
 1474 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path)  in load_sysctl_prog()
 1482 			 const struct sysctl_test *test)  in access_sysctl()
 1526 static int run_test_case(int cgfd, struct sysctl_test *test)  in run_test_case()
 
 | 
| D | test_section_names.c | 149 static int test_prog_type_by_name(const struct sec_name_test *test)  in test_prog_type_by_name()181 static int test_attach_type_by_name(const struct sec_name_test *test)  in test_attach_type_by_name()
 205 static int run_test_case(const struct sec_name_test *test)  in run_test_case()
 
 | 
| D | test_progs.c | 41 static void dump_test_log(const struct prog_test_def *test, bool failed)  in dump_test_log()70 	struct prog_test_def *test = env.test;  in test__end_subtest()  local
 88 	struct prog_test_def *test = env.test;  in test__start_subtest()  local
 177 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name)  in bpf_find_map()
 542 		struct prog_test_def *test = &prog_test_defs[i];  in main()  local
 
 | 
| /Linux-v5.4/drivers/misc/ | 
| D | pci_endpoint_test.c | 114 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test,  in pci_endpoint_test_readl()120 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test,  in pci_endpoint_test_writel()
 126 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test,  in pci_endpoint_test_bar_readl()
 132 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test,  in pci_endpoint_test_bar_writel()
 140 	struct pci_endpoint_test *test = dev_id;  in pci_endpoint_test_irqhandler()  local
 155 static void pci_endpoint_test_free_irq_vectors(struct pci_endpoint_test *test)  in pci_endpoint_test_free_irq_vectors()
 162 static bool pci_endpoint_test_alloc_irq_vectors(struct pci_endpoint_test *test,  in pci_endpoint_test_alloc_irq_vectors()
 199 static void pci_endpoint_test_release_irq(struct pci_endpoint_test *test)  in pci_endpoint_test_release_irq()
 211 static bool pci_endpoint_test_request_irq(struct pci_endpoint_test *test)  in pci_endpoint_test_request_irq()
 249 static bool pci_endpoint_test_bar(struct pci_endpoint_test *test,  in pci_endpoint_test_bar()
 [all …]
 
 | 
| /Linux-v5.4/tools/testing/selftests/powerpc/vphn/ | 
| D | test-vphn.c | 21 static struct test {  struct25 } all_tests[] = {  argument
 366 static int test_one(struct test *test)  in test_one()
 394 	static struct test *test;  in test_vphn()  local
 
 | 
| /Linux-v5.4/lib/ | 
| D | test-kstrtox.c | 5 #define for_each_test(i, test)	\  argument13 #define DEFINE_TEST_FAIL(test)	\  argument
 23 #define DEFINE_TEST_OK(type, test)	\  argument
 26 #define TEST_FAIL(fn, type, fmt, test)					\  argument
 45 #define TEST_OK(fn, type, fmt, test)					\  argument
 
 | 
| D | test_hexdump.c | 68 					     int groupsize, char *test,  in test_hexdump_prepare_test()128 	char test[TEST_HEXDUMP_BUF_SIZE];  in test_hexdump()  local
 164 	char test[TEST_HEXDUMP_BUF_SIZE];  in test_hexdump_overflow()  local
 
 | 
| /Linux-v5.4/drivers/spi/ | 
| D | spi-loopback-test.c | 529 				       struct spi_test *test)  in spi_test_check_elapsed_time()664 				 struct spi_test *test)  in spi_test_fill_pattern()
 748 			      struct spi_test *test,  in _spi_test_run_iter()
 817 	struct spi_test test;  in spi_test_run_iter()  local
 889 int spi_test_execute_msg(struct spi_device *spi, struct spi_test *test,  in spi_test_execute_msg()
 962 int spi_test_run_test(struct spi_device *spi, const struct spi_test *test,  in spi_test_run_test()
 1028 	struct spi_test *test;  in spi_test_run_tests()  local
 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/prog_tests/ | 
| D | flow_dissector.c | 87 struct test {  struct103 struct test tests[] = {  argument
 
 | 
| /Linux-v5.4/drivers/net/wireless/ti/wl12xx/ | 
| D | cmd.h | 20 	struct wl1271_cmd_test_header test;  member35 	struct wl1271_cmd_test_header test;  member
 50 	struct wl1271_cmd_test_header test;  member
 66 	struct wl1271_cmd_test_header test;  member
 85 	struct wl1271_cmd_test_header test;  member
 
 | 
| /Linux-v5.4/samples/kfifo/ | 
| D | record-example.c | 48 struct kfifo_rec_ptr_1 test;  variable53 static mytest test;  variable
 
 | 
| /Linux-v5.4/tools/pci/ | 
| D | pcitest.c | 39 static int run_test(struct pci_test *test)  in run_test()138 	struct pci_test *test;  in main()  local
 
 | 
| /Linux-v5.4/scripts/kconfig/tests/preprocess/variable/ | 
| D | __init__.py | 6 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/choice_value_with_m_dep/ | 
| D | __init__.py | 13 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/err_recursive_dep/ | 
| D | __init__.py | 8 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/inter_choice/ | 
| D | __init__.py | 13 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/new_choice_with_dep/ | 
| D | __init__.py | 13 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/no_write_if_dep_unmet/ | 
| D | __init__.py | 18 def test(conf):  function
 | 
| /Linux-v5.4/scripts/kconfig/tests/preprocess/builtin_func/ | 
| D | __init__.py | 6 def test(conf):  function
 |