Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/drivers/mmc/core/
Dmmc_test.c181 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize()
192 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc()
212 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq()
261 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy()
292 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer()
536 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result()
561 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate()
585 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate()
629 static int __mmc_test_prepare(struct mmc_test_card *test, int write) in __mmc_test_prepare()
653 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write()
[all …]
/Linux-v4.19/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-v4.19/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.py28 def __init__(self, test, msg): argument
35 def __init__(self, test, arch): argument
42 def __init__(self, test): argument
Dbuiltin-test.c292 static bool perf_test__matches(struct test *test, int curr, int argc, const char *argv[]) in perf_test__matches()
316 static int run_test(struct test *test, int subtest) in run_test()
485 static int shell_test__run(struct test *test, int subdir __maybe_unused) in shell_test__run()
519 struct test test = { in run_shell_tests() local
/Linux-v4.19/drivers/misc/
Dpci_endpoint_test.c120 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl()
126 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel()
132 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test, in pci_endpoint_test_bar_readl()
138 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test, in pci_endpoint_test_bar_writel()
146 struct pci_endpoint_test *test = dev_id; in pci_endpoint_test_irqhandler() local
161 static void pci_endpoint_test_free_irq_vectors(struct pci_endpoint_test *test) in pci_endpoint_test_free_irq_vectors()
168 static bool pci_endpoint_test_alloc_irq_vectors(struct pci_endpoint_test *test, in pci_endpoint_test_alloc_irq_vectors()
205 static void pci_endpoint_test_release_irq(struct pci_endpoint_test *test) in pci_endpoint_test_release_irq()
217 static bool pci_endpoint_test_request_irq(struct pci_endpoint_test *test) in pci_endpoint_test_request_irq()
255 static bool pci_endpoint_test_bar(struct pci_endpoint_test *test, in pci_endpoint_test_bar()
[all …]
/Linux-v4.19/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-v4.19/tools/testing/selftests/bpf/
Dtest_sock_addr.c519 static int load_insns(const struct sock_addr_test *test, in load_insns()
552 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load()
621 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load()
687 static int load_path(const struct sock_addr_test *test, const char *path) in load_path()
707 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load()
712 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load()
717 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load()
727 static int sendmsg4_rw_asm_prog_load(const struct sock_addr_test *test) in sendmsg4_rw_asm_prog_load()
779 static int sendmsg4_rw_c_prog_load(const struct sock_addr_test *test) in sendmsg4_rw_c_prog_load()
784 static int sendmsg6_rw_dst_asm_prog_load(const struct sock_addr_test *test, in sendmsg6_rw_dst_asm_prog_load()
[all …]
/Linux-v4.19/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-v4.19/drivers/spi/
Dspi-loopback-test.c538 struct spi_test *test) in spi_test_check_elapsed_time()
673 struct spi_test *test) in spi_test_fill_pattern()
757 struct spi_test *test, in _spi_test_run_iter()
826 struct spi_test test; in spi_test_run_iter() local
898 int spi_test_execute_msg(struct spi_device *spi, struct spi_test *test, in spi_test_execute_msg()
971 int spi_test_run_test(struct spi_device *spi, const struct spi_test *test, in spi_test_run_test()
1037 struct spi_test *test; in spi_test_run_tests() local
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/
Dcmd.h34 struct wl1271_cmd_test_header test; member
49 struct wl1271_cmd_test_header test; member
64 struct wl1271_cmd_test_header test; member
80 struct wl1271_cmd_test_header test; member
99 struct wl1271_cmd_test_header test; member
/Linux-v4.19/samples/kfifo/
Drecord-example.c50 struct kfifo_rec_ptr_1 test; variable
55 static mytest test; variable
/Linux-v4.19/tools/pci/
Dpcitest.c51 static int run_test(struct pci_test *test) in run_test()
151 struct pci_test *test; in main() local
/Linux-v4.19/scripts/kconfig/tests/auto_submenu/
D__init__.py10 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/choice_value_with_m_dep/
D__init__.py12 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/err_recursive_dep/
D__init__.py8 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/err_recursive_inc/
D__init__.py8 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/new_choice_with_dep/
D__init__.py12 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/no_write_if_dep_unmet/
D__init__.py17 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/preprocess/builtin_func/
D__init__.py6 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/preprocess/circular_expansion/
D__init__.py9 def test(conf): function
/Linux-v4.19/scripts/kconfig/tests/preprocess/variable/
D__init__.py6 def test(conf): function
/Linux-v4.19/samples/bpf/
Dtest_cls_bpf.sh15 function test { function
/Linux-v4.19/scripts/kconfig/tests/inter_choice/
D__init__.py12 def test(conf): function

1234567