Home
last modified time | relevance | path

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

123

/tools/testing/scatterlist/
Dmain.c8 struct test { struct
30 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail()
48 #define VALIDATE(cond, st, test) \ argument
55 struct test *test, tests[] = { in main() local
/tools/perf/tests/
Dtests.h30 struct test { struct
32 int (*func)(struct test *test, int subtest); argument
38 } subtest; argument
44 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
Dunit_number__scnprintf.c15 } test[] = { in test__unit_number__scnprint() local
Dexpr.c9 static int test(struct expr_parse_ctx *ctx, const char *e, double val2) in test() function
/tools/testing/selftests/bpf/
Dtest_sock_addr.c645 static int load_insns(const struct sock_addr_test *test, in load_insns()
667 static int load_path(const struct sock_addr_test *test, const char *path) in load_path()
688 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load()
693 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load()
698 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load()
703 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load()
708 static int xmsg_ret_only_prog_load(const struct sock_addr_test *test, in xmsg_ret_only_prog_load()
719 static int sendmsg_allow_prog_load(const struct sock_addr_test *test) in sendmsg_allow_prog_load()
724 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load()
729 static int recvmsg_allow_prog_load(const struct sock_addr_test *test) in recvmsg_allow_prog_load()
[all …]
Dtest_sysctl.c1434 static int load_sysctl_prog_insns(struct sysctl_test *test, in load_sysctl_prog_insns()
1477 static int load_sysctl_prog_file(struct sysctl_test *test) in load_sysctl_prog_file()
1497 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) in load_sysctl_prog()
1505 const struct sysctl_test *test) in access_sysctl()
1549 static int run_test_case(int cgfd, struct sysctl_test *test) in run_test_case()
Dtest_xdping.sh57 test() function
Dtest_progs.c95 static void dump_test_log(const struct prog_test_def *test, bool failed) in dump_test_log()
170 struct prog_test_def *test = env.test; in test__end_subtest() local
191 struct prog_test_def *test = env.test; in test__start_subtest() local
267 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map()
809 struct prog_test_def *test = &prog_test_defs[i]; in main() local
/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
/tools/build/feature/
Dtest-clang-bpf-co-re.c4 struct test { struct
9 volatile struct test global_value_for_test = {}; argument
/tools/testing/selftests/bpf/prog_tests/
Dsection_names.c163 static void test_prog_type_by_name(const struct sec_name_test *test) in test_prog_type_by_name()
187 static void test_attach_type_by_name(const struct sec_name_test *test) in test_attach_type_by_name()
210 struct sec_name_test *test = &tests[i]; in test_section_names() local
Dbtf_skc_cls_ingress.c205 struct test { struct
211 static struct test tests[] = { argument
Dsk_lookup.c69 struct test { struct
70 const char *desc;
71 struct bpf_program *lookup_prog;
72 struct bpf_program *reuseport_prog;
73 struct bpf_map *sock_map;
74 int sotype;
75 struct inet_addr connect_to;
76 struct inet_addr listen_at;
77 enum server accept_on;
78 bool reuseport_has_conns; /* Add a connected socket to reuseport group */
Dflow_dissector.c90 struct test { struct
107 struct test tests[] = { argument
Dalign.c602 static int do_test_single(struct bpf_align_test *test) in do_test_single()
669 struct bpf_align_test *test = &tests[i]; in test_align() local
/tools/testing/selftests/vm/
Dmremap_test.c34 struct test { struct
57 (struct test){ \ argument
/tools/testing/vsock/
DMakefile3 test: vsock_test vsock_diag_test target
/tools/pci/
Dpcitest.c41 static int run_test(struct pci_test *test) in run_test()
160 struct pci_test *test; in main() local
/tools/bootconfig/
DMakefile23 test: $(ALL_PROGRAMS) test-bootconfig.sh target
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c24 static int test(void) in test() function
/tools/virtio/
DMakefile3 test: virtio_test vringh_test target
/tools/testing/selftests/x86/
Dtest_FISTTP.c21 int test(void) in test() function
/tools/testing/selftests/exec/
Dbinfmt_script43 def test(name, size, good=True, leading="", root="./", target="/perl", function
/tools/testing/selftests/openat2/
Dopenat2_test.c89 struct struct_test *test = &tests[i]; in test_openat2_struct() local
249 struct flag_test *test = &tests[i]; in test_openat2_flags() local

123