Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 187) sorted by relevance

12345678

/Linux-v5.4/drivers/mmc/core/
Dmmc_test.c177 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/
Dmain.c23 struct test { in main() struct
24 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/
Dtests.h30 struct test { struct
32 int (*func)(struct test *test, int subtest); argument
37 } subtest; argument
43 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); argument
Dattr.py33 def __init__(self, test, msg): argument
40 def __init__(self, test, arch): argument
47 def __init__(self, test): argument
Dbuiltin-test.c313 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/
Dtest_sock_addr.c641 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 …]
Dtest_sysctl.c1411 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()
Dtest_section_names.c149 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()
Dtest_progs.c41 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/
Dpci_endpoint_test.c114 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/
Dtest-vphn.c21 static struct test { struct
25 } 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/
Dtest-kstrtox.c5 #define for_each_test(i, test) \ argument
13 #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
Dtest_hexdump.c68 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/
Dspi-loopback-test.c529 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/
Dflow_dissector.c87 struct test { struct
103 struct test tests[] = { argument
/Linux-v5.4/drivers/net/wireless/ti/wl12xx/
Dcmd.h20 struct wl1271_cmd_test_header test; member
35 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/
Drecord-example.c48 struct kfifo_rec_ptr_1 test; variable
53 static mytest test; variable
/Linux-v5.4/tools/pci/
Dpcitest.c39 static int run_test(struct pci_test *test) in run_test()
138 struct pci_test *test; in main() local
/Linux-v5.4/drivers/gpu/drm/selftests/
Ddrm_cmdline_selftests.h10 #define cmdline_test(test) selftest(test, test) argument
/Linux-v5.4/samples/bpf/
Dtest_cls_bpf.sh15 function test { function
/Linux-v5.4/scripts/kconfig/tests/auto_submenu/
D__init__.py11 def test(conf): function
/Linux-v5.4/scripts/kconfig/tests/choice_value_with_m_dep/
D__init__.py13 def test(conf): function
/Linux-v5.4/scripts/kconfig/tests/inter_choice/
D__init__.py13 def test(conf): function
/Linux-v5.4/scripts/kconfig/tests/err_recursive_dep/
D__init__.py8 def test(conf): function
/Linux-v5.4/scripts/kconfig/tests/err_recursive_inc/
D__init__.py9 def test(conf): function

12345678