| /tools/testing/scatterlist/ |
| D | main.c | 8 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/testing/selftests/bpf/ |
| D | test_sock_addr.c | 644 static int load_insns(const struct sock_addr_test *test, in load_insns() 663 static int load_path(const struct sock_addr_test *test, const char *path) in load_path() 697 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load() 702 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load() 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 xmsg_ret_only_prog_load(const struct sock_addr_test *test, in xmsg_ret_only_prog_load() 728 static int sendmsg_allow_prog_load(const struct sock_addr_test *test) in sendmsg_allow_prog_load() 733 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load() 738 static int recvmsg_allow_prog_load(const struct sock_addr_test *test) in recvmsg_allow_prog_load() [all …]
|
| D | xskxceiver.c | 127 #define busy_poll_string(test) (test)->ifobj_tx->busy_poll ? "BUSY-POLL " : "" argument 128 static char *mode_string(struct test_spec *test) in mode_string() 142 static void report_failure(struct test_spec *test) in report_failure() 480 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 525 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init() 558 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 563 static void test_spec_set_name(struct test_spec *test, const char *name) in test_spec_set_name() 599 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 667 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() 692 static void pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset) in pkt_stream_replace_half() [all …]
|
| D | test_sysctl.c | 1434 static int load_sysctl_prog_insns(struct sysctl_test *test, in load_sysctl_prog_insns() 1476 static int load_sysctl_prog_file(struct sysctl_test *test) in load_sysctl_prog_file() 1491 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) in load_sysctl_prog() 1499 const struct sysctl_test *test) in access_sysctl() 1543 static int run_test_case(int cgfd, struct sysctl_test *test) in run_test_case()
|
| D | test_progs.c | 263 static void dump_test_log(const struct prog_test_def *test, in dump_test_log() 362 struct prog_test_def *test = env.test; in test__end_subtest() local 387 struct prog_test_def *test = env.test; in test__start_subtest() local 492 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map() 1053 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test() local 1173 struct prog_test_def *test; in dispatch_thread() local 1293 struct prog_test_def *test = &prog_test_defs[i]; in calculate_summary_and_print_errors() local 1367 struct prog_test_def *test = &prog_test_defs[i]; in server_main() local 1495 struct prog_test_def *test = &prog_test_defs[test_to_run]; in worker_main() local 1621 struct prog_test_def *test = &prog_test_defs[i]; in main() local [all …]
|
| D | test_xdping.sh | 57 test() function
|
| /tools/testing/selftests/powerpc/vphn/ |
| D | test-vphn.c | 21 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/ |
| D | test-clang-bpf-co-re.c | 4 struct test { struct 9 volatile struct test global_value_for_test = {}; argument
|
| /tools/testing/selftests/kvm/ |
| D | system_counter_offset_test.c | 36 static void setup_system_counter(struct kvm_vcpu *vcpu, struct test_case *test) in setup_system_counter() 42 static uint64_t guest_read_system_counter(struct test_case *test) in guest_read_system_counter() 47 static uint64_t host_read_guest_system_counter(struct test_case *test) in host_read_guest_system_counter() 66 struct test_case *test = &test_cases[i]; in guest_main() local 96 struct test_case *test = &test_cases[i]; in enter_guest() local
|
| /tools/testing/selftests/kvm/s390x/ |
| D | tprot.c | 73 struct test { struct 80 * We perform each test in the array by executing TEST PROTECTION on argument
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | section_names.c | 163 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
|
| D | btf_skc_cls_ingress.c | 185 struct test { struct 191 static struct test tests[] = { argument
|
| D | flow_dissector.c | 93 struct test { struct 111 struct test tests[] = { argument
|
| D | sk_lookup.c | 68 struct test { struct 69 const char *desc; 70 struct bpf_program *lookup_prog; 71 struct bpf_program *reuseport_prog; 72 struct bpf_map *sock_map; 73 int sotype; 74 struct inet_addr connect_to; 75 struct inet_addr listen_at; 76 enum server accept_on; 77 bool reuseport_has_conns; /* Add a connected socket to reuseport group */
|
| D | align.c | 602 static int do_test_single(struct bpf_align_test *test) in do_test_single() 689 struct bpf_align_test *test = &tests[i]; in test_align() local
|
| D | helper_restricted.c | 11 struct test_helper_restricted *test; in test_helper_restricted() local
|
| D | tcp_hdr_options.c | 514 struct test { struct 520 static struct test tests[] = { argument
|
| D | btf.c | 4270 struct btf_raw_test *test = &raw_tests[test_num - 1]; in do_test_raw() local 4394 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_big_btf_info() local 4477 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in test_btf_id() local 4605 const struct btf_get_info_test *test = &get_info_tests[test_num - 1]; in do_test_get_info() local 4701 const struct btf_file_test *test = &file_tests[test_num - 1]; in do_test_file() local 5334 const struct btf_raw_test *test = &pprint_test_template[test_num]; in do_test_pprint() local 6411 static int test_get_finfo(const struct prog_info_raw_test *test, in test_get_finfo() 6492 static int test_get_linfo(const struct prog_info_raw_test *test, in test_get_linfo() 6712 const struct prog_info_raw_test *test = &info_raw_tests[test_num - 1]; in do_test_info_raw() local 7702 struct btf_dedup_test *test = &dedup_tests[test_num - 1]; in do_test_dedup() local
|
| D | select_reuseport.c | 780 const struct test { in test_config() struct 781 void (*fn)(int sotype, sa_family_t family); in test_config() 782 const char *name; in test_config() 783 bool no_inner_map; in test_config() 784 int need_sotype; in test_config()
|
| /tools/testing/selftests/nolibc/ |
| D | nolibc-test.c | 45 struct test { struct 46 const char *name; // test name argument 47 int (*func)(int min, int max); // handler 452 int test; in run_syscall() local 544 int test; in run_stdlib() local 633 int is_setting_valid(char *test) in is_setting_valid() 669 char *test; in main() local
|
| /tools/perf/tests/ |
| D | attr.py | 33 def __init__(self, test, msg): argument 40 def __init__(self, test, arch): argument 47 def __init__(self, test): argument
|
| /tools/testing/selftests/vm/ |
| D | mremap_test.c | 34 struct test { struct 57 (struct test){ \ argument
|
| /tools/pci/ |
| D | pcitest.c | 41 static int run_test(struct pci_test *test) in run_test() 160 struct pci_test *test; in main() local
|
| /tools/testing/radix-tree/ |
| D | maple.c | 29 #define RCU_MT_BUG_ON(test, y) {if (y) { test->stop = true; } MT_BUG_ON(test->mt, y); } argument 55 struct rcu_test_struct2 *test; member 34290 static void rcu_reader_register(struct rcu_test_struct2 *test) in rcu_reader_register() 34300 unsigned int id, struct rcu_test_struct2 *test) in rcu_reader_setup() 34315 struct rcu_test_struct2 *test = reader->test; in rcu_reader_fwd() local 34425 struct rcu_test_struct2 *test = reader->test; in rcu_reader_rev() local 34555 static void rcu_stress_rev(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_rev() 34614 static void rcu_stress_fwd(struct maple_tree *mt, struct rcu_test_struct2 *test, in rcu_stress_fwd() 34687 struct rcu_test_struct2 test; in rcu_stress() local 34788 int eval_rcu_entry(struct rcu_test_struct *test, void *entry, bool *update_2, in eval_rcu_entry() [all …]
|
| /tools/testing/vsock/ |
| D | Makefile | 3 test: vsock_test vsock_diag_test target
|